SoSFVec3b(3)
π SoSFVec3b π
okay bestie, welcome to the SoSFVec3b(3) page β that's a Library Functions Manual entry, and it's lowkey one of the cutest little containers in Coin. grab a strawberry π and let's get into it.
β¨ NAME β¨
SoSFVec3b β the class is a container for an SbVec3b vector. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
#include <Inventor/fields/SoSFVec3b.h>
Inherits SoSField.
π Public Member Functions π
virtual SoType getTypeId (void) constβ hands you the type id, bestievirtual void copyFrom (const SoField &field)β copies the value overconst SoSFVec3b & operator= (const SoSFVec3b &field)β assignment, but make it field-flavouredvirtual SbBool isSame (const SoField &field) constβ are we the same thoSbVec3b getValue (void) constβ get the vectorvoid setValue (SbVec3b newvalue)β set the vectorSbVec3b operator= (SbVec3b newvalue)β assignment from a rawSbVec3bint operator== (const SoSFVec3b &field) constβ equality check, iconicint operator!= (const SoSFVec3b &field) constβ inequality check, also iconicvoid setValue (int8_t x, int8_t y, int8_t z)β set it with three little intsvoid setValue (const int8_t xyz[3])β set it with an array
π 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 def)SbBool isDefault (void) constSbBool isOfType (const SoType type) constvoid enableConnection (SbBool flag)SbBool isConnectionEnabled (void) constSbBool connectFrom (SoEngineOutput *master, SbBool notnotify=0, SbBool append=0)SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=0)void disconnect (SoEngineOutput *engineoutput)SbBool isConnectedFromEngine (void) constSbBool getConnectedEngine (SoEngineOutput *&master) constSbBool connectFrom (SoField *master, SbBool notnotify=0, SbBool append=0)SbBool appendConnection (SoField *master, SbBool notnotify=0)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 *in, 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 Public Member Functions inherited from SoField π
static void initClass (void)static void initClasses (void)static SoType getClassTypeId (void)
π§ Protected Attributes π§
SbVec3b value
π«Ά Additional Inherited Members π«Ά
- Public Types inherited from
SoFieldenum FieldType { NORMAL_FIELD = 0, EVENTIN_FIELD, EVENTOUT_FIELD, EXPOSED_FIELD }
- Protected Member Functions inherited from
SoSFieldSoSField (void)
- Protected Member Functions inherited from
SoFieldSoField (void)void valueChanged (SbBool resetdefault=1)virtual void evaluateConnection (void) constvirtual SbBool readConnection (SoInput *in)virtual void writeConnection (SoOutput *out) constSbBool isDestructing (void) const
π Detailed Description π
The SoSFVec3b class is a container for an SbVec3b vector. no cap.
This field is used where nodes, engines or other field containers needs to store a single vector with three elements. one vector. three elements. main character energy fr fr. β¨
See also
SbVec3b,SoMFVec3b
Since
- Coin 2.5
π₯ Member Function Documentation π₯
π SoType SoSFVec3b::getTypeId (void ) const [virtual]
Returns the type identification instance which uniquely identifies the Coin field class the object belongs to. it's giving "who am I, really". π¦
See also
getClassTypeId(),SoType
Implements SoField.
π void SoSFVec3b::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, bestie, we don't do that here. π
Implements SoField.
π SbBool SoSFVec3b::isSame (const SoField & f) const [virtual]
Check for equal type and value(s). the vibe check, but for fields. β
Implements SoField.
π void SoSFVec3b::setValue (int8_t x, int8_t y, int8_t z)
Set value of vector.
π void SoSFVec3b::setValue (const int8_t xyz[3])
Set value of vector.
π Author π
Generated automatically by Doxygen for Coin from the source code. not me being generated automatically πβ¨
and that's the whole page, bestie!! π«Ά this was Coin, Version 2.5.0 β literally the whole source-and-version situation, so jot that down. periodt. π
πΈ
π¦ 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