SoSFVec4b(3)
πΈ NAME πΈ
SoSFVec4b β bestie, it is literally a container class for an SbVec4b vector. That is the whole entire job description, no cap. π
(Also hi, this page lives in the Library Functions Manual, section 3 β that's what the (3) is doing there, in case you were wondering. π«Ά)
π¦ SYNOPSIS π¦
#include <Inventor/fields/SoSFVec4b.h>
It inherits from SoSField, so all that base-class goodness comes along for the ride. β¨
β¨ Public Member Functions β¨
virtual SoType getTypeId (void) const
virtual void copyFrom (const SoField &field)
const SoSFVec4b & operator= (const SoSFVec4b &field)
virtual SbBool isSame (const SoField &field) const
SbVec4b getValue (void) const
void setValue (SbVec4b newvalue)
SbVec4b operator= (SbVec4b newvalue)
int operator== (const SoSFVec4b &field) const
int operator!= (const SoSFVec4b &field) const
void setValue (int8_t x, int8_t y, int8_t z, int8_t w)
void setValue (const int8_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 π
SbVec4b 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 SoSFVec4b is the class that's a container for an SbVec4b vector. Iconic, focused, does one thing. π
You reach for this field whenever a node, an engine, or any other field container needs to store a single vector with four elements. One vector. Four elements. That's the vibe.
See also: SbVec4b, SoMFVec4b
Since: Coin 2.5 π
π MEMBER FUNCTION DOCUMENTATION π
SoType SoSFVec4b::getTypeId (void ) const [virtual]
Hands you back the type identification instance that uniquely says "yes, this is that Coin field class" for whichever object you're poking at. π
See also: getClassTypeId(), SoType
Implements SoField.
void SoSFVec4b::copyFrom (const SoField & f) [virtual]
Copies the value(s) from f straight into this field. Heads up though: f must be the same type as this field, or it's not gonna be the moment you hoped for. π
Implements SoField.
SbBool SoSFVec4b::isSame (const SoField & f) const [virtual]
Checks for equal type and equal value(s). Both. Type AND value(s). Periodt. β
Implements SoField.
void SoSFVec4b::setValue (int8_t x, int8_t y, int8_t z, int8_t w)
Sets the value of the vector. π
void SoSFVec4b::setValue (const int8_t xyzw[4])
Sets the value of the vector. (Yes bestie, this one takes the array version. Same energy, different doorway. πͺ)
π AUTHOR π
Generated automatically by Doxygen for Coin from the source code. π€β¨
and that's a wrap on this one, bestie π«Ά the footer says it's Coin, version 2.5.0, and the page tag is SoSFVec4b(3) β go forth and store exactly one four-element vector, you absolute legend. π
πΈ
π¦ 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