SoSFVec4i32(3)
π 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
- 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