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