SoSFVec4f(3)
π SoSFVec4f π
okay bestie, welcome to the manual page for SoSFVec4f(3) β that's a section 3 manual page from the Library Functions Manual, and it's literally just a little container that holds one SbVec4f vector. single-field energy. main character but make it singular. π
πΈ NAME πΈ
SoSFVec4f β the class that is a container for an SbVec4f vector. that's it, that's the name section. π
β¨ SYNOPSIS β¨
first things first, you gotta pull the header in:
#include <Inventor/fields/SoSFVec4f.h>
and she Inherits SoSField. family tree slay. π³
π«Ά Public Member Functions
virtual SoType getTypeId (void) constvirtual void copyFrom (const SoField &field)const SoSFVec4f & operator= (const SoSFVec4f &field)virtual SbBool isSame (const SoField &field) constconst SbVec4f & getValue (void) constvoid setValue (const SbVec4f &newvalue)const SbVec4f & operator= (const SbVec4f &newvalue)int operator== (const SoSFVec4f &field) constint operator!= (const SoSFVec4f &field) constvoid setValue (float x, float y, float z, float w)void setValue (const float xyzw[4])
π§ Public Member Functions inherited from SoSField
virtual ~SoSField ()
π¦ Public Member Functions inherited from SoField
look at this list. she's long. she's iconic. we're not skipping a single one, no cap. π₯
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
SbVec4f valueβ yes queen, this is where the actual vector lives. protected. hands off unless you're a subclass. π
π 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) const
π Detailed Description π
SoSFVec4f class is a container for an SbVec4f vector. periodt. π
so this field is the one you reach for when nodes, engines or other field containers need to store a single vector with four elements. one vector. four elements. nothing more, nothing less. it's giving minimalism. β¨
See also
SbVec4fSoMFVec4f
π₯ Member Function Documentation π₯
SoType SoSFVec4f::getTypeId (void ) const [virtual]
returns the type identification instance which uniquely identifies the Coin field class the object belongs to. yes, it's the "who am i really" function. πͺ
See also
getClassTypeId()SoType
Implements SoField.
void SoSFVec4f::copyFrom (const SoField & f) [virtual]
copy value(s) from f into this field. bestie, f must be of the same type as this field. same type or it's not happening. π«
Implements SoField.
SbBool SoSFVec4f::isSame (const SoField & f) const [virtual]
check for equal type and value(s). it's the vibe check of functions. π
Implements SoField.
void SoSFVec4f::setValue (float x, float y, float z, float w)
set value of vector. π―
void SoSFVec4f::setValue (const float xyzw[4])
set value of vector. π― (yes it's the same description twice, that's just how overloads roll, we love that for her)
πΈ Author πΈ
Generated automatically by Doxygen for Coin from the source code. she wasn't written, she was generated. iconic behavior honestly. π€π
aaaand that's the whole page bestie! this manual came to you from Coin, Version 3.1.3, tagged SoSFVec4f(3) β go forth and store exactly one four-element vector, you absolute legend. π«Άβ¨π
π¦ 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