SoSFVec3s(3)
π SoSFVec3s β Library Functions Manual π
okay bestie, sit DOWN, we're doing the SoSFVec3s page from the Library Functions Manual and it's lowkey iconic. it's a whole class and it holds exactly ONE little vector. one. single. vector. she's a minimalist queen π
β¨ NAME β¨
SoSFVec3s β the class that's a container for an SbVec3s vector. that's the whole job. she contains. she holds. periodt π
πΈ SYNOPSIS πΈ
#include <Inventor/fields/SoSFVec3s.h>
Inherits SoSField.
π Public Member Functions π
virtual SoType getTypeId (void) const
virtual void copyFrom (const SoField &field)
const SoSFVec3s & operator= (const SoSFVec3s &field)
virtual SbBool isSame (const SoField &field) const
const SbVec3s & getValue (void) const
void setValue (const SbVec3s &newvalue)
const SbVec3s & operator= (const SbVec3s &newvalue)
int operator== (const SoSFVec3s &field) const
int operator!= (const SoSFVec3s &field) const
void setValue (short x, short y, short z)
void setValue (const short xyz[3])
π« 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 defaultVal)
SbBool isDefault (void) const
SbBool isOfType (const SoType type) const
void enableConnection (SbBool flag)
SbBool isConnectionEnabled (void) const
SbBool connectFrom (SoEngineOutput *master, SbBool notnotify=FALSE,
SbBool append=FALSE)
SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=FALSE)
void disconnect (SoEngineOutput *engineoutput)
SbBool isConnectedFromEngine (void) const
SbBool getConnectedEngine (SoEngineOutput *&master) const
SbBool connectFrom (SoField *master, SbBool notnotify=FALSE, SbBool
append=FALSE)
SbBool appendConnection (SoField *master, SbBool notnotify=FALSE)
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 *input, 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 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 π¦
SbVec3s 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) const
virtual SbBool readConnection (SoInput *in)
virtual void writeConnection (SoOutput *out) const
SbBool isDestructing (void) const
π Detailed Description π
okay so the SoSFVec3s class is a container for an SbVec3s vector. that's it. that's her whole brand. one vector, three elements, no notes β¨
this field is the one you reach for when nodes, engines, or other field containers need to store a single vector with three elements. singular. one. she does not do lists, bestie β that's somebody else's job.
See also: SbVec3s, SoMFVec3s (the multi version, the one who can hold a whole crowd π)
π Member Function Documentation π
π SoType SoSFVec3s::getTypeId (void ) const [virtual] π
returns the type identification instance that uniquely identifies the Coin field class this object belongs to. it's basically her little ID badge, her government name, her legal identity π
See also: getClassTypeId(), SoType
Implements: SoField.
π void SoSFVec3s::copyFrom (const SoField & f) [virtual] π
copies the value(s) from f into this field. π«Ά but heads up bestie β f must be of the same type as this field. no mixing, no matching, no "close enough", she will NOT be doing that. type match or nothing.
Implements: SoField.
π SbBool SoSFVec3s::isSame (const SoField & f) const [virtual] π
checks for equal type and value(s). the vibe check function fr fr β she's asking "are we literally the same or are we not" π
Implements: SoField.
π void SoSFVec3s::setValue (short x, short y, short z) π
sets the value of the vector. give her an x, a y, and a z and she's good. three shorts, one vector, slay β¨
π void SoSFVec3s::setValue (const short xyz[3]) π
sets the value of the vector. same energy, different delivery β this time it's an array of three shorts. xyz[3], come through π¦
π Author π
generated automatically by Doxygen for Coin, straight from the source code. no human hand-wrote this one, she was born from the machine π§
and that's the whole page, bestie!! every flag, every signature, every inherited member β nothing skipped, nothing invented, all facts preserved π
okay so this whole thing is from the Library Functions Manual (yes, the same manual name we shouted at the top, mwah), it's Coin Version 3.1.3, and it's the SoSFVec3s(3) page. bye pookie, go store exactly one vector πβ¨π¦π
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.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