Field containing a three-dimensional box. More...
#include <Inventor/fields/SoSFBox3s.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
const SoSFBox3s & | operator= (const SoSFBox3s &f) |
SoSFBox3s () | |
virtual | ~SoSFBox3s () |
const SbBox3s & | getValue () const |
void | setValue (const SbBox3s &newValue) |
const SbBox3s & | operator= (const SbBox3s &newValue) |
int | operator== (const SoSFBox3s &f) const |
int | operator!= (const SoSFBox3s &f) const |
virtual size_t | getValueSize () const |
void | setValue (short xmin, short ymin, short zmin, short xmax, short ymax, short zmax) |
void | setValue (const SbVec3s &_min, const SbVec3s &_max) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
This field defines a three-dimensional box.
SoSFBox3s fields are written to file as 6 integers separated by whitespace.
SoSFBox3s::SoSFBox3s | ( | ) |
Default constructor.
virtual SoSFBox3s::~SoSFBox3s | ( | ) | [virtual] |
Destructor.
static SoType SoSFBox3s::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoSField.
virtual SoType SoSFBox3s::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
const SbBox3s& SoSFBox3s::getValue | ( | ) | const [inline] |
Returns this field's value.
virtual size_t SoSFBox3s::getValueSize | ( | ) | const [inline, virtual] |
Get size of the value.
Reimplemented from SoField.
int SoSFBox3s::operator!= | ( | const SoSFBox3s & | 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 SoSFBox3s::operator== | ( | const SoSFBox3s & | f | ) | const |
Returns TRUE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
void SoSFBox3s::setValue | ( | short | xmin, | |
short | ymin, | |||
short | zmin, | |||
short | xmax, | |||
short | ymax, | |||
short | zmax | |||
) |
Sets the box dimensions.
void SoSFBox3s::setValue | ( | const SbBox3s & | newValue | ) |
Sets this field to newValue.