SoSFVec3s(3)
β¨ SoSFVec3s(3) β¨
okay so bestie, you just cracked open the SoSFVec3s(3) page and it lives in the Library Functions Manual π
β yep, it's a Coin library function page, and I'm about to give it the glow-up it deserves. every single fact stays exactly where it was, no cap, we're just making it cute π«Ά
πΈ NAME πΈ
SoSFVec3s β a container for an SbVec3s vector. that's it, that's the whole personality: one vector, three elements, zero drama π
π¦ SYNOPSIS π¦
#include <Inventor/fields/SoSFVec3s.h>
Inherits SoSField. she's literally a nepo baby and she's thriving, periodt β¨
π Public Member Functions
virtual SoType getTypeId (void) const
virtual void copyFrom (const SoField &field)
const SoSFVec3s & operator= (const SoSFVec3s &field)
virtual SbBool isSame (const SoField &field) const
const SbVec3s & getValue (void) const
void setValue (const SbVec3s &newvalue)
const SbVec3s & operator= (const SbVec3s &newvalue)
int operator== (const SoSFVec3s &field) const
int operator!= (const SoSFVec3s &field) const
void setValue (const short x, const short y, const short z)
void setValue (const short xyz[3])
π Public Member Functions inherited from SoSField
virtual ~SoSField ()
π Public Member Functions inherited from SoField
virtual ~SoField ()
void setIgnored (SbBool ignore)
SbBool isIgnored (void) const
void setDefault (SbBool def)
SbBool isDefault (void) const
SbBool isOfType (const SoType type) const
void enableConnection (SbBool flag)
SbBool isConnectionEnabled (void) const
SbBool connectFrom (SoEngineOutput *master, SbBool notnotify=0, SbBool
append=0)
SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=0)
void disconnect (SoEngineOutput *engineoutput)
SbBool isConnectedFromEngine (void) const
SbBool getConnectedEngine (SoEngineOutput *&master) const
SbBool connectFrom (SoField *master, SbBool notnotify=0, SbBool
append=0)
SbBool appendConnection (SoField *master, SbBool notnotify=0)
void disconnect (SoField *field)
SbBool isConnectedFromField (void) const
SbBool getConnectedField (SoField *&master) const
int getNumConnections (void) const
int getForwardConnections (SoFieldList &slavelist) const
int getConnections (SoFieldList &masterlist) const
void disconnect (void)
SbBool isConnected (void) const
void setContainer (SoFieldContainer *cont)
SoFieldContainer * getContainer (void) const
SbBool set (const char *valuestring)
void get (SbString &valuestring)
SbBool shouldWrite (void) const
virtual void touch (void)
virtual void startNotify (void)
virtual void notify (SoNotList *nlist)
SbBool enableNotify (SbBool on)
SbBool isNotifyEnabled (void) const
void addAuditor (void *f, SoNotRec::Type type)
void removeAuditor (void *f, SoNotRec::Type type)
int operator== (const SoField &f) const
int operator!= (const SoField &f) const
virtual void connectionStatusChanged (int numconnections)
SbBool isReadOnly (void) const
virtual void fixCopy (SbBool copyconnections)
virtual SbBool referencesCopy (void) const
void copyConnection (const SoField *fromfield)
virtual SbBool read (SoInput *in, const SbName &name)
virtual void write (SoOutput *out, const SbName &name) const
virtual void countWriteRefs (SoOutput *out) const
void setFieldType (int type)
int getFieldType (void) const
SbBool getDirty (void) const
void setDirty (SbBool dirty)
void evaluate (void) const
β Static Public Member Functions
static void * createInstance (void)
static SoType getClassTypeId (void)
static void initClass (void)
π§ Static Public Member Functions inherited from SoSField
static void initClass (void)
static SoType getClassTypeId (void)
π Static Public Member Functions inherited from SoField
static void initClass (void)
static void initClasses (void)
static SoType getClassTypeId (void)
π Protected Attributes
SbVec3s value
π«§ Additional Inherited Members
Public Types inherited from SoField
enum FieldType { NORMAL_FIELD = 0, EVENTIN_FIELD, EVENTOUT_FIELD,
EXPOSED_FIELD }
Protected Member Functions inherited from SoSField
SoSField (void)
Protected Member Functions inherited from SoField
SoField (void)
void valueChanged (SbBool resetdefault=1)
virtual void evaluateConnection (void) const
virtual SbBool readConnection (SoInput *in)
virtual void writeConnection (SoOutput *out) const
SbBool isDestructing (void) const
π Detailed Description π
okay so the SoSFVec3s class is a container for an SbVec3s vector. say it with me, bestie β one field, one vector, three elements π
this field shows up wherever nodes, engines or other field containers need to store a single vector with three elements. it's giving "one job and I did it flawlessly" energy π
π¦ See also
SoMFVec3s β that's the multi-version of her, the whole friend group π
π Member Function Documentation π
SoType SoSFVec3s::getTypeId (void ) const [virtual]
returns the type identification instance which uniquely identifies the Coin field class the object belongs to. it's her little ID card, her passport, her whole "yes I am who I say I am" moment π₯
See also
getClassTypeId(), SoType
void SoSFVec3s::copyFrom (const SoField & f) [virtual]
copies the value(s) from f into this field. heads up though: f must be of the same type as this field, no mixing, no mismatches, we keep it same-type only bestie π
Implements SoField.
SbBool SoSFVec3s::isSame (const SoField & f) const [virtual]
checks for equal type and value(s). both. not just one. it's a vibe check on the whole package β¨
Implements SoField.
void SoSFVec3s::setValue (const short x, const short y, const short z)
sets the value of the vector. you hand her x, y and z and she's set π
void SoSFVec3s::setValue (const short xyz[3])
sets the value of the vector β this time you pass in the xyz[3] array and she takes it from there π
π«Ά Author π«Ά
generated automatically by Doxygen for Coin from the source code. yes, a robot wrote the original and I just put bows on it π
aaaand that's the whole page, bestie π this little number is from Coin, Version 2.5.0 β take care of her, she's iconic ππ
π¦ where this page comes from
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms