SoSFVec4f(3)

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

πŸ’– 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) 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 (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) 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

  • 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) const
  • virtual SbBool readConnection (SoInput *in)
  • virtual void writeConnection (SoOutput *out) const
  • SbBool 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

  • SbVec4f
  • SoMFVec4f

πŸ”₯ 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