SoSFVec4f(3)

πŸ“¦ version 2.5.0, in fedora 43, fedora 44

πŸŽ€ NAME πŸŽ€

SoSFVec4f β€” bestie, it's literally a container for an SbVec4f vector. That's the whole personality. πŸ’–

Also hi, you're reading this in the Library Functions Manual, section 3, so the page is SoSFVec4f(3) β€” now you know where you stand. πŸ’…


✨ SYNOPSIS ✨

#include <Inventor/fields/SoSFVec4f.h>

Inherits SoSField.

🫢 Public Member Functions

virtual SoType getTypeId (void) const
virtual void copyFrom (const SoField &field)
const SoSFVec4f & operator= (const SoSFVec4f &field)
virtual SbBool isSame (const SoField &field) const
const SbVec4f & getValue (void) const
void setValue (const SbVec4f &newvalue)
const SbVec4f & operator= (const SbVec4f &newvalue)
int operator== (const SoSFVec4f &field) const
int operator!= (const SoSFVec4f &field) const
void setValue (const float x, const float y, const float z, const float
    w)
void setValue (const float 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 def)
SbBool isDefault (void) const
SbBool isOfType (const SoType type) const
void enableConnection (SbBool flag)
SbBool isConnectionEnabled (void) const
SbBool connectFrom (SoEngineOutput *master, SbBool notnotify=0, SbBool
    append=0)
SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=0)
void disconnect (SoEngineOutput *engineoutput)
SbBool isConnectedFromEngine (void) const
SbBool getConnectedEngine (SoEngineOutput *&master) const
SbBool connectFrom (SoField *master, SbBool notnotify=0, SbBool
    append=0)
SbBool appendConnection (SoField *master, SbBool notnotify=0)
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 *in, 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 Public Member Functions inherited from SoField

static void initClass (void)
static void initClasses (void)
static SoType getClassTypeId (void)

πŸ“ Protected Attributes

SbVec4f 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=1)
virtual void evaluateConnection (void) const
virtual SbBool readConnection (SoInput *in)
virtual void writeConnection (SoOutput *out) const
SbBool isDestructing (void) const

πŸ‘‘ Detailed Description πŸ‘‘

SoSFVec4f is a container for an SbVec4f vector. Periodt. πŸ’…

This field is what you reach for when nodes, engines or any other field container needs to store one single vector with four elements. One. Singular. Not a list, not a vibe, just the one vector. πŸŽ€

See also

  • SoMFVec4f

πŸ’… Member Function Documentation πŸ’…

SoType SoSFVec4f::getTypeId (void ) const [virtual]

Hands you the type identification instance that uniquely identifies the Coin field class this object belongs to. It's giving "who am I, really" but for type systems. πŸ¦‹

See also

  • getClassTypeId(), SoType

Implements SoField.

void SoSFVec4f::copyFrom (const SoField & f) [virtual]

Copies the value(s) from f straight into this field, no cap. ⚠️ Heads up bestie: f must be of the same type as this field, or it's not gonna go well.

Implements SoField.

SbBool SoSFVec4f::isSame (const SoField & f) const [virtual]

Checks for equal type and equal value(s). Like a vibe check but for fields. ✨

Implements SoField.

void SoSFVec4f::setValue (const float x, const float y, const float z, const float w)

Set value of vector. 🫢

void SoSFVec4f::setValue (const float xyzw[4])

Set value of vector. 🫢 (same energy, array-flavoured)


🌸 Author 🌸

Generated automatically by Doxygen for Coin from the source code. Not a human, not a bestie, just a doc generator doing its little thing. πŸ™ˆ


And that's the whole page, gorgeous. This one came from Coin, Version 2.5.0 β€” that's the source and the version, folded into this cute little sign-off instead of a boring footer line. Go forth and store exactly one four-element vector. Slay. πŸ‘‘βœ¨

πŸ“¦ where this page comes from