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