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) constint 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 ππ
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms