SOSFVEC4F(3iv)

πŸ’– SoSFVec4f β€” the manual page, but make it cute ✨

okay bestie, so this is SoSFVec4f(3IV) β€” that's the manual name, that's the vibe, we're in section 3IV, it's giving Open Inventor core library energy πŸ’…


🌸 NAME 🌸

SoSFVec4f β€” a field containing a homogeneous three-dimensional vector πŸ¦‹


πŸ‘‘ INHERITS FROM πŸ‘‘

SoField > SoSField > SoSFVec4f

so it's a whole little family tree, and our girl is at the bottom, repping the single-field branch πŸŽ€


✨ SYNOPSIS ✨

#include <Inventor/fields/SoSFVec4f.h>

🫢 Methods from class SoSFVec4f:

void                setValue(float x, float y, float z, float w)
void                setValue(const float xyzw[4])
static SoType       getClassTypeId()
virtual void        getTypeId() const
const SbVec4f &     getValue() const
const SbVec4f &     operator =(const SbVec4f & newValue)
void                setValue(const SbVec4f & newValue)
int                 operator ==(const SoSFVec4f &f) const
int                 operator !=(const SoSFVec4f &f) const

πŸ’œ Methods from class SoField (the inherited bestie bag):

void                setIgnored(SbBool ignore)
SbBool              isIgnored() const
SbBool              isDefault() const
virtual SbBool      isOfType(SoType type) const
SbBool              set(const char *valueString)
void                get(SbString &valueString)
void                touch()
SbBool              connectFrom(SoField *fromField)
SbBool              connectFrom(SoEngineOutput *fromEngine)
void                disconnect()
SbBool              isConnected() const
SbBool              isConnectedFromField() const
SbBool              getConnectedField(SoField *&writingField) const
SbBool              isConnectedFromEngine() const
SbBool              getConnectedEngine(SoEngineOutput *&engineOutput)
                         const
void                enableConnection(SbBool flag)
SbBool              isConnectionEnabled() const
int                 getForwardConnections(SoFieldList &list) const
SoFieldContainer *  getContainer() const

πŸ¦‹ DESCRIPTION πŸ¦‹

Field containing a homogeneous three-dimensional vector. that's it, that's the whole girl. a whole four-float moment. 🌈

and here's the tea bestie: SoSFVec4fs are written to file as four floating point values separated by whitespace. so like, four numbers, vibes only, spaces in between. no cap. πŸ“


🌟 METHODS 🌟

  • void setValue(float x, float y, float z, float w)
  • void setValue(const float xyzw[4])

Sets the field to the given value. drop the numbers in, boom, that's the value now ✨

  • static SoType getClassTypeId()
  • virtual void getTypeId() const

Returns the type for this class or a particular object of this class. like, who am I? class edition πŸ’…

  • const SbVec4f & getValue() const

Returns this field's value. hand it over, let me see πŸ‘€

  • const SbVec4f & operator =(const SbVec4f & newValue)
  • void setValue(const SbVec4f & newValue)

Sets this field to newValue.</seach> β€” she becomes the new value. main character transformation arc πŸ’–

  • int operator ==(const SoSFVec4f &f) const
  • int operator !=(const SoSFVec4f &f) const

Returns TRUE if f is of the same type and has the same value as this field. same type AND same value, both, no shortcuts πŸŽ€


🌈 SEE ALSO 🌈

SoField, SoSField, SoMFVec4f


and that's the whole page, bestie!! 🫢 this was SoSFVec4f(3IV)() β€” same name up top, same name down at the bottom, so you know it's official. go forth and store those four floats, you absolute icon πŸ‘‘πŸ’œ