SoSFVec3s(3)

πŸ“¦ version 2.5.0, in fedora 43, fedora 44

✨ 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