SoSFVec4i32(3)

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

πŸ’– SoSFVec4i32 πŸ’–

okay bestie, welcome to the SoSFVec4i32 page, which lives in section 3 of the manual (Library Functions Manual, iykyk) πŸ’…

so like. the SoSFVec4i32 class is a container for an SbVec4i32 vector. that's the whole vibe. it's giving "tiny box that holds exactly one four-part vector" ✨


✨ SYNOPSIS ✨

#include <Inventor/fields/SoSFVec4i32.h>

Inherits SoSField.


πŸ¦‹ Public Member Functions

virtual SoType getTypeId (void) const
virtual void copyFrom (const SoField &field)
const SoSFVec4i32 & operator= (const SoSFVec4i32 &field)
virtual SbBool isSame (const SoField &field) const
const SbVec4i32 & getValue (void) const
void setValue (const SbVec4i32 &newvalue)
const SbVec4i32 & operator= (const SbVec4i32 &newvalue)
int operator== (const SoSFVec4i32 &field) const
int operator!= (const SoSFVec4i32 &field) const
void setValue (int32_t x, int32_t y, int32_t z, int32_t w)
void setValue (const int32_t xyzw[4])

🌸 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

SbVec4i32 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 SoSFVec4i32 class is a container for an SbVec4i32 vector. say it with me: one vector, four elements, single field. periodt πŸ’…

this field is used where nodes, engines or other field containers needs to store a single vector with four elements. no cap, that's literally its whole job 🫢

See also

  • SbVec4i32, SoMFVec4i32

Since

  • Coin 2.5

πŸ’… Member Function Documentation πŸ’…

SoType SoSFVec4i32::getTypeId (void ) const [virtual]

returns the type identification instance which uniquely identifies the Coin field class the object belongs to. it's the little name tag of the class, bestie 🏷️✨

See also

  • getClassTypeId(), SoType

Implements SoField.

void SoSFVec4i32::copyFrom (const SoField & f) [virtual]

copy value(s) from f into this field. lowkey important: f must be of the same type as this field. like, don't try to pour a different flavor into this cup, it will not slay πŸ’€

Implements SoField.

SbBool SoSFVec4i32::isSame (const SoField & f) const [virtual]

check for equal type and value(s). basically a vibe check but for types and values βœ…

Implements SoField.

void SoSFVec4i32::setValue (int32_t x, int32_t y, int32_t z, int32_t w)

set value of vector. all four of them, x, y, z, w, handed over at once 🌸

void SoSFVec4i32::setValue (const int32_t xyzw[4])

set value of vector. this time the four of them roll in as an array, xyzw[4] πŸ”₯


πŸŽ€ Author πŸŽ€

generated automatically by Doxygen for Coin from the source code. the robot wrote it, we just made it cute πŸ’–


and that's the whole page bestie!! this one is from Coin, Version 2.5.0 β€” so SoSFVec4i32(3), section 3, Library Functions Manual. go forth and store exactly one four-element vector, you main character πŸ«ΆπŸ‘‘πŸŒˆ
πŸ“¦ where this page comes from