table of contents
SoSFVec4f(3IV)() | SoSFVec4f(3IV)() |
NAME¶
SoSFVec4f — field containing a homogeneous three-dimensional vector
INHERITS FROM¶
SoField > SoSField > SoSFVec4f
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:
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.
SoSFVec4fs are written to file as four floating point values separated by whitespace.
METHODS¶
void setValue(float x, float y, float z,
float w)
void setValue(const float xyzw[4])
Sets the field to the given value.
static SoType getClassTypeId()
virtual void getTypeId() const
Returns the type for this class or a particular object of this class.
const SbVec4f & getValue() const
Returns this field's value.
const SbVec4f & operator =(const SbVec4f &
newValue)
void setValue(const SbVec4f & newValue)
Sets this field to newValue.
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.
SEE ALSO¶
SoField, SoSField, SoMFVec4f