SoComposeVec2f(3)
β¨ NAME β¨
SoComposeVec2f β the class that composes 2D vectors from two floats. That's it, that's the whole job, and bestie it slays at it π
This page is from section 3 of the Coin manual, so yeah, SoComposeVec2f(3) is the whole vibe.
π¦ SYNOPSIS π¦
#include <Inventor/engines/SoComposeVec2f.h>
Inherits SoEngine. Iconic lineage honestly π
π Public Member Functions π
virtual SoType getTypeId (void) constvirtual const SoFieldData * getFieldData (void) constvirtual const SoEngineOutputData * getOutputData (void) const
π Public Member Functions inherited from SoEngine π
void evaluateWrapper (void)virtual int getOutputs (SoEngineOutputList &l) constSoEngineOutput * getOutput (const SbName &outputname) constSbBool getOutputName (const SoEngineOutput *output, SbName &outputname) constSbBool isNotifying (void) constvirtual void notify (SoNotList *nl)SoEngine * copy (void) constvirtual SoFieldContainer * copyThroughConnection (void) constSbBool shouldCopy (void) constvirtual void writeInstance (SoOutput *out)
πΈ Public Member Functions inherited from SoFieldContainer πΈ
void setToDefaults (void)SbBool hasDefaultValues (void) constSbBool fieldsAreEqual (const SoFieldContainer *container) constvoid copyFieldValues (const SoFieldContainer *container, SbBool copyconnections=FALSE)SbBool set (const char *const fielddata)void get (SbString &fielddata)virtual int getFields (SoFieldList &l) constvirtual int getAllFields (SoFieldList &l) constvirtual SoField * getField (const SbName &name) constvirtual SoField * getEventIn (const SbName &name) constvirtual SoField * getEventOut (const SbName &name) constSbBool getFieldName (const SoField *const field, SbName &name) constSbBool enableNotify (const SbBool flag)SbBool isNotifyEnabled (void) constSbBool set (const char *fielddata, SoInput *input)void get (SbString &fielddata, SoOutput *out)virtual SbBool validateNewFieldValue (SoField *field, void *newval)virtual void addWriteReference (SoOutput *out, SbBool isfromfield=FALSE)SbBool getIsBuiltIn (void) constvirtual void copyContents (const SoFieldContainer *from, SbBool copyconnections)virtual void getFieldsMemorySize (size_t &managed, size_t &unmanaged) constvoid setUserData (void *userdata) constvoid * getUserData (void) const
π Public Member Functions inherited from SoBase π
void ref (void) constvoid unref (void) constvoid unrefNoDelete (void) constint32_t getRefCount (void) constvoid touch (void)SbBool isOfType (SoType type) constβ ReturnsTRUEif the type of this object is either of the same type or inherited from type. (basically "are you one of us" but for types π«Ά)virtual SbName getName (void) constvirtual void setName (const SbName &newname)virtual void startNotify (void)void addAuditor (void *const auditor, const SoNotRec::Type type)void removeAuditor (void *const auditor, const SoNotRec::Type type)const SoAuditorList & getAuditors (void) constSbBool shouldWrite (void)void assertAlive (void) const
β Static Public Member Functions β
static SoType getClassTypeId (void)static void * createInstance (void)static void initClass ()
π Static Public Member Functions inherited from SoEngine π
static void initClass (void)β Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.static void initClasses (void)static SoType getClassTypeId (void)β This static method returns theSoTypeobject associated with objects of this class.static SoEngine * getByName (const SbName &name)static int getByName (const SbName &name, SoEngineList &el)
π§ Static Public Member Functions inherited from SoFieldContainer π§
static void initClass (void)β Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.static SoType getClassTypeId (void)β This static method returns theSoTypeobject associated with objects of this class.static void cleanupClass (void)static void initCopyDict (void)static void addCopy (const SoFieldContainer *orig, const SoFieldContainer *copy)static SoFieldContainer * checkCopy (const SoFieldContainer *orig)static SoFieldContainer * findCopy (const SoFieldContainer *orig, const SbBool copyconnections)static void copyDone (void)
π Static Public Member Functions inherited from SoBase π
static void initClass (void)β Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.static SoType getClassTypeId (void)β This static method returns theSoTypeobject associated with objects of this class.static void addName (SoBase *const base, const char *const name)static void removeName (SoBase *const base, const char *const name)static void incrementCurrentWriteCounter (void)static void decrementCurrentWriteCounter (void)static SoBase * getNamedBase (const SbName &name, SoType type)static int getNamedBases (const SbName &name, SoBaseList &baselist, SoType type)static SbBool read (SoInput *input, SoBase *&base, SoType expectedtype)static void setInstancePrefix (const SbString &c)static void setTraceRefs (SbBool trace)static SbBool getTraceRefs (void)static SbBool connectRoute (SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname)static SbBool readRoute (SoInput *input)
π Public Attributes π
SoMFFloat xSoMFFloat ySoEngineOutput vector
β¨ Static Protected Member Functions β¨
static const SoFieldData ** getInputDataPtr (void)static const SoEngineOutputData ** getOutputDataPtr (void)
π« Static Protected Member Functions inherited from SoEngine π«
static const SoFieldData ** getInputDataPtr (void)static const SoEngineOutputData ** getOutputDataPtr (void)
π¦ Static Protected Member Functions inherited from SoBase π¦
static uint32_t getCurrentWriteCounter (void)static void staticDataLock (void)static void staticDataUnlock (void)
π Additional Inherited Members π
- Protected Types inherited from
SoBaseenum BaseFlags { IS_ENGINE = 0x01, IS_GROUP = 0x02 }
- Protected Member Functions inherited from
SoEngineSoEngine (void)virtual ~SoEngine (void)virtual SbBool readInstance (SoInput *in, unsigned short flags)virtual void inputChanged (SoField *which)void writeOutputTypes (SoOutput *out)
- Protected Member Functions inherited from
SoFieldContainerSoFieldContainer (void)virtual ~SoFieldContainer ()
- Protected Member Functions inherited from
SoBaseSoBase (void)virtual ~SoBase ()SbBool hasMultipleWriteRefs (void) constSbBool writeHeader (SoOutput *out, SbBool isgroup, SbBool isengine) constvoid writeFooter (SoOutput *out) constvirtual const char * getFileFormatName (void) constvirtual SoNotRec createNotRec (void)
- Protected Attributes inherited from
SoFieldContainerSbBool isBuiltIn
π Detailed Description π
Okay so literally, the whole tea: the SoComposeVec2f class is used to compose 2D vectors from two floats. Two little numbers walk in, one gorgeous 2D vector walks out. No cap, that's the entire personality and I'm obsessed ππ
π Member Function Documentation π
SoType SoComposeVec2f::getClassTypeId (void ) [static]
This static method returns the SoType object associated with objects of this class. Your girl is giving you the type ID, as a treat π«Ά
SoType SoComposeVec2f::getTypeId (void ) const [virtual]
Returns the type identification of an object derived from a class inheriting SoBase. This is used for runtime type checking and "downward" casting.
Implements SoBase. (yes she's implementing her ancestor's contract, we love a legacy moment π
)
const SoFieldData ** SoComposeVec2f::getInputDataPtr (void ) [static], [protected]
Returns the SoFieldData class which holds information about inputs in this engine. The receipts for what goes IN, bestie π₯
const SoEngineOutputData ** SoComposeVec2f::getOutputDataPtr (void ) [static], [protected]
Returns the SoEngineOutputData class which holds information about the outputs in this engine. The receipts for what comes OUT π€
const SoFieldData * SoComposeVec2f::getFieldData (void ) const [virtual]
Returns the SoFieldData class which holds information about inputs in this engine.
Reimplemented from SoFieldContainer.
const SoEngineOutputData * SoComposeVec2f::getOutputData (void ) const [virtual]
Returns the SoEngineOutputData class which holds information about the outputs in this engine.
Implements SoEngine.
void * SoComposeVec2f::createInstance (void ) [static]
Creates a new instance of the class type corresponding to the SoType object. Brand new baby engine, fresh out the box β¨
π Member Data Documentation π
SoMFFloat SoComposeVec2f::x
First coordinates of the output vectors. The x's, the originals, the moment π
SoMFFloat SoComposeVec2f::y
Second coordinates of the output vectors. The y's, riding shotgun π
SoEngineOutput SoComposeVec2f::vector
(SoMFVec2f) 2D vectors. There she is!! The final product!! The main character!! π
π¦ Author π¦
Generated automatically by Doxygen for Coin from the source code. (Not a human author, just a robot doing its little thing, and honestly? it ate π€π )
And that's a wrap on the SoComposeVec2f(3) page bestie!! This was Version 4.0.10, dated Thu Jun 25 2026 00:00:00 β so like, from the future?? Not me getting manpage lore dropped from 2026 πβ Anyway, go compose some vectors, you've got this fr fr π«Άβ¨
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms