Field containing a homogeneous four-dimensional vector. More...
#include <Inventor/fields/SoSFVec4i32.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
const SoSFVec4i32 & | operator= (const SoSFVec4i32 &f) |
SoSFVec4i32 () | |
virtual | ~SoSFVec4i32 () |
const SbVec4i32 & | getValue () const |
void | setValue (const SbVec4i32 &newValue) |
const SbVec4i32 & | operator= (const SbVec4i32 &newValue) |
int | operator== (const SoSFVec4i32 &f) const |
int | operator!= (const SoSFVec4i32 &f) const |
virtual size_t | getValueSize () const |
void | setValue (int32_t x, int32_t y, int32_t z, int32_t w) |
void | setValue (const int32_t xyzw[4]) |
void | setValue (const SbVec4f &vec4f) |
void | setValue (const SbVec4d &vec4d) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Field containing a homogeneous four-dimensional vector, each component being an integer.
SoSFVec4i32s are written to file as four integer values separated by whitespace.
SoField, SoSField, SoMFVec4i32
SoSFVec4i32::SoSFVec4i32 | ( | ) |
Default constructor.
virtual SoSFVec4i32::~SoSFVec4i32 | ( | ) | [virtual] |
Destructor.
static SoType SoSFVec4i32::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoSField.
virtual SoType SoSFVec4i32::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
const SbVec4i32& SoSFVec4i32::getValue | ( | ) | const [inline] |
Returns this field's value.
virtual size_t SoSFVec4i32::getValueSize | ( | ) | const [inline, virtual] |
Get size of the value.
Reimplemented from SoField.
int SoSFVec4i32::operator!= | ( | const SoSFVec4i32 & | 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.
const SoSFVec4i32& SoSFVec4i32::operator= | ( | const SoSFVec4i32 & | f | ) |
Copy from another field of same type.
int SoSFVec4i32::operator== | ( | const SoSFVec4i32 & | f | ) | const |
Returns TRUE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
void SoSFVec4i32::setValue | ( | const SbVec4d & | vec4d | ) |
Convenience method that allows you to specify a field value using a double precision variable.
The specified value is converted to int value, then stored.
void SoSFVec4i32::setValue | ( | const SbVec4f & | vec4f | ) |
Convenience method that allows you to specify a field value using a single precision variable.
The specified value is converted to int value, then stored.
void SoSFVec4i32::setValue | ( | const int32_t | xyzw[4] | ) |
Sets the field to the given values.
void SoSFVec4i32::setValue | ( | int32_t | x, | |
int32_t | y, | |||
int32_t | z, | |||
int32_t | w | |||
) |
Sets the field to the given values.
void SoSFVec4i32::setValue | ( | const SbVec4i32 & | newValue | ) |
Sets this field to newValue.