SoSFVec4d(3)
π SoSFVec4d β from the Coin manual, page 3 π
okay bestie, welcome to the SoSFVec4d(3) page, straight out of the Coin library. grab a strawberry π, we're learning about vector containers today.
β¨ NAME β¨
SoSFVec4d β the SoSFVec4d class is a container for an SbVec4d vector.
πΈ SYNOPSIS πΈ
#include <Inventor/fields/SoSFVec4d.h>
Inherits SoSField.
π Public Member Functions π
virtual SoType getTypeId (void) const
virtual void copyFrom (const SoField &field)
const SoSFVec4d & operator= (const SoSFVec4d &field)
virtual SbBool isSame (const SoField &field) const
const SbVec4d & getValue (void) const
void setValue (const SbVec4d &newvalue)
const SbVec4d & operator= (const SbVec4d &newvalue)
int operator== (const SoSFVec4d &field) const
int operator!= (const SoSFVec4d &field) const
void setValue (double x, double y, double z, double w)
void setValue (const double 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 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 π
SbVec4d 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
virtual SoNotRec createNotRec (SoBase *cont)
π Detailed Description π
the SoSFVec4d class is a container for an SbVec4d vector. no cap. π«
this field is used where nodes, engines or other field containers need to store a single vector with four elements. it's giving "one vector, four whole numbers, main character energy." β¨
See also
SbVec4d, SoMFVec4d
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 go looking for it over there, it's not ghosting you, it literally does not exist. π
Since
Coin 2.5 π
π Member Function Documentation π
π«Ά void * SoSFVec4d::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. (iykyk πΈβ)
creates a new instance of the class type corresponding to the SoType object.
π«Ά SoType SoSFVec4d::getClassTypeId (void ) [static]
this static method returns the SoType object associated with objects of this class. lowkey the class's little ID card. πͺͺ
π«Ά SoType SoSFVec4d::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. slay, dynamic dispatch. π
Implements SoField.
π«Ά void SoSFVec4d::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, that's a vibe check fail. π«
Implements SoField.
π«Ά SbBool SoSFVec4d::isSame (const SoField & f) const [virtual]
check for equal type and value(s). literally the "are we the same person" test. πͺ
Implements SoField.
π«Ά void SoSFVec4d::initClass (void ) [static]
internal method called upon initialization of the library (from SoDB::init()) to set up the type system. behind-the-scenes queen, we love her. π
π«Ά void SoSFVec4d::setValue (double x, double y, double z, double w)
set value of vector. four doubles, in, done. π₯
π«Ά void SoSFVec4d::setValue (const double xyzw[4])
set value of vector. the array-flavoured version, same energy. π
π Author π
generated automatically by Doxygen for Coin from the source code. (not me being auto-generated and still serving looks π )
okay that's the whole page, bestie, you ate it. π½οΈβ¨ and for the little sign-off the manpage footer would've given you: this is Coin version 4.0.10, dated Thu Jun 25 2026 00:00:00, filed under SoSFVec4d(3). periodt. ππ¦πΈ
π¦ 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