Field containing a three-dimensional vector. More...
#include <Inventor/fields/SoSFVec3d.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
const SoSFVec3d & | operator= (const SoSFVec3d &f) |
SoSFVec3d () | |
virtual | ~SoSFVec3d () |
const SbVec3d & | getValue () const |
void | setValue (const SbVec3d &newValue) |
const SbVec3d & | operator= (const SbVec3d &newValue) |
int | operator== (const SoSFVec3d &f) const |
int | operator!= (const SoSFVec3d &f) const |
virtual size_t | getValueSize () const |
void | setValue (double x, double y, double z) |
void | setValue (const double xyz[3]) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Field containing a three-dimensional vector.
Field containing a three-dimensional vector.
SoSFVec3ds are written to file as three doubleing point values separated by whitespace.
SoSFVec3d::SoSFVec3d | ( | ) |
Default constructor.
virtual SoSFVec3d::~SoSFVec3d | ( | ) | [virtual] |
Destructor.
static SoType SoSFVec3d::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoSField.
virtual SoType SoSFVec3d::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
const SbVec3d& SoSFVec3d::getValue | ( | ) | const [inline] |
Returns this field's value.
virtual size_t SoSFVec3d::getValueSize | ( | ) | const [inline, virtual] |
Get size of the value.
Reimplemented from SoField.
int SoSFVec3d::operator!= | ( | const SoSFVec3d & | f | ) | const [inline] |
Returns FALSE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
Sets this field to newValue.
int SoSFVec3d::operator== | ( | const SoSFVec3d & | f | ) | const |
Returns TRUE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
void SoSFVec3d::setValue | ( | const double | xyz[3] | ) |
Sets the field to the given value.
void SoSFVec3d::setValue | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Sets the field to the given value.
void SoSFVec3d::setValue | ( | const SbVec3d & | newValue | ) |
Sets this field to newValue.