SoSFVec4ub(3)
β¨ NAME β¨
okay so bestie, meet SoSFVec4ub β it's a container for an SbVec4ub vector π (and yeah, this is a page from the Coin manual, section 3, we love a library reference moment)
πΈ SYNOPSIS πΈ
#include <Inventor/fields/SoSFVec4ub.h>
Inherits SoSField. π
π Public Member Functions π
virtual SoType getTypeId (void) constvirtual void copyFrom (const SoField &field)const SoSFVec4ub & operator= (const SoSFVec4ub &field)virtual SbBool isSame (const SoField &field) constSbVec4ub getValue (void) constvoid setValue (SbVec4ub newvalue)SbVec4ub operator= (SbVec4ub newvalue)int operator== (const SoSFVec4ub &field) constint operator!= (const SoSFVec4ub &field) constvoid setValue (uint8_t x, uint8_t y, uint8_t z, uint8_t w)void setValue (const uint8_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) constvoid setDefault (SbBool defaultVal)SbBool isDefault (void) constSbBool isOfType (const SoType type) constvoid enableConnection (SbBool flag)SbBool isConnectionEnabled (void) constSbBool connectFrom (SoEngineOutput *master, SbBool notnotify=FALSE, SbBool append=FALSE)SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=FALSE)void disconnect (SoEngineOutput *engineoutput)SbBool isConnectedFromEngine (void) constSbBool getConnectedEngine (SoEngineOutput *&master) constSbBool connectFrom (SoField *master, SbBool notnotify=FALSE, SbBool append=FALSE)SbBool appendConnection (SoField *master, SbBool notnotify=FALSE)void disconnect (SoField *field)SbBool isConnectedFromField (void) constSbBool getConnectedField (SoField *&master) constint getNumConnections (void) constint getForwardConnections (SoFieldList &slavelist) constint getConnections (SoFieldList &masterlist) constvoid disconnect (void)SbBool isConnected (void) constvoid setContainer (SoFieldContainer *cont)SoFieldContainer * getContainer (void) constSbBool set (const char *valuestring)void get (SbString &valuestring)SbBool shouldWrite (void) constvirtual void touch (void)virtual void startNotify (void)virtual void notify (SoNotList *nlist)SbBool enableNotify (SbBool on)SbBool isNotifyEnabled (void) constvoid addAuditor (void *f, SoNotRec::Type type)void removeAuditor (void *f, SoNotRec::Type type)int operator== (const SoField &f) constint operator!= (const SoField &f) constvirtual void connectionStatusChanged (int numconnections)SbBool isReadOnly (void) constvirtual void fixCopy (SbBool copyconnections)virtual SbBool referencesCopy (void) constvoid copyConnection (const SoField *fromfield)virtual SbBool read (SoInput *input, const SbName &name)virtual void write (SoOutput *out, const SbName &name) constvirtual void countWriteRefs (SoOutput *out) constvoid setFieldType (int type)int getFieldType (void) constSbBool getDirty (void) constvoid 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 void atexit_cleanup (void)
π
Static Public Member Functions inherited from SoField π
static void initClass (void)static void initClasses (void)static void cleanupClass (void)static SoType getClassTypeId (void)
π Protected Attributes π
SbVec4ub 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=TRUE)virtual void evaluateConnection (void) constvirtual SbBool readConnection (SoInput *in)virtual void writeConnection (SoOutput *out) constSbBool isDestructing (void) constvirtual SoNotRec createNotRec (SoBase *cont)
π Detailed Description π
so the SoSFVec4ub class is literally just a container for an SbVec4ub vector, no cap π§
It's the field you reach for whenever nodes, engines, or any other field containers need to hold a single vector with four elements. one vector. four elements. that's the whole vibe. π
See also
SbVec4ub, SoMFVec4ub
β οΈ heads up bestie: be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API. so if you're kicking it old-school, this one just won't be there. π
Since
Coin 2.5 π±
π₯ Member Function Documentation π₯
void * SoSFVec4ub::createInstance (void ) [static]
okay so this API member is considered internal to the library, as it is not likely to be of interest to the application programmer. π
It creates a new instance of the class type corresponding to the SoType object. β¨
SoType SoSFVec4ub::getClassTypeId (void ) [static]
This static method returns the SoType object associated with objects of this class. iconic. π
SoType SoSFVec4ub::getTypeId (void ) const [virtual]
Returns the type identification of an object derived from a class inheriting SoField. This is used for runtime type checking and "downward" casting. π¦
Implements SoField.
void SoSFVec4ub::copyFrom (const SoField & f) [virtual]
Copy value(s) from f into this field. f must be of the same type as this field β no mixing, periodt. π
Implements SoField.
SbBool SoSFVec4ub::isSame (const SoField & f) const [virtual]
Check for equal type and value(s). basically a vibe check for fields. β¨
Implements SoField.
void SoSFVec4ub::initClass (void ) [static]
Internal method called upon initialization of the library (from SoDB::init()) to set up the type system. it's giving behind-the-scenes main character energy. π
void SoSFVec4ub::setValue (uint8_t x, uint8_t y, uint8_t z, uint8_t w)
Set value of vector. πΈ
void SoSFVec4ub::setValue (const uint8_t xyzw[4])
Set value of vector. πΈ
π· Author π·
Generated automatically by Doxygen for Coin from the source code. (yeah the robots wrote it, we just gave it a glow-up π)
and that's the whole page bestie!! this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00 β mwah, slay, go write some vectors π β¨
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms