Reference

SoSFVec3f(3iv)

field containing a three-dimensional vector

NAME

SoSFVec3f — field containing a three-dimensional vector

INHERITS FROM

SoField > SoSField > SoSFVec3f

SYNOPSIS

#include <Inventor/fields/SoSFVec3f.h>

Methods from class SoSFVec3f:

void setValue(float x, float y, float z)
void setValue(const float xyz[3])
static SoType getClassTypeId()
virtual void getTypeId() const
const SbVec3f & getValue() const
const SbVec3f & operator =(const SbVec3f & newValue)
void setValue(const SbVec3f & newValue)
int operator ==(const SoSFVec3f &f) const
int operator !=(const SoSFVec3f &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 three-dimensional vector.

SoSFVec3fs are written to file as three floating point values separated by whitespace.

METHODS

void setValue(float x, float y, float z)
void setValue(const float xyz[3])
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 SbVec3f & getValue() const
Returns this field's value.

const SbVec3f & operator =(const SbVec3f & newValue)
void setValue(const SbVec3f & newValue)
Sets this field to newValue.

int operator ==(const SoSFVec3f &f) const
int operator !=(const SoSFVec3f &f) const
Returns TRUE if f is of the same type and has the same value as this field.

SEE ALSO

SoField, SoSField, SoMFVec3f