Field containing a plane equation. More...
#include <Inventor/fields/SoSFPlane.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
const SoSFPlane & | operator= (const SoSFPlane &f) |
SoSFPlane () | |
virtual | ~SoSFPlane () |
const SbPlane & | getValue () const |
void | setValue (const SbPlane &newValue) |
const SbPlane & | operator= (const SbPlane &newValue) |
int | operator== (const SoSFPlane &f) const |
int | operator!= (const SoSFPlane &f) const |
virtual size_t | getValueSize () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Field containing a plane equation.
A field containing a plane equation (an SbPlane).
SoSFPlanes are written to file as four floating point values separated by whitespace. The first three are the normal direction of the plane, the fourth is the distance of the plane from the origin (in the direction of the normal).
SbPlane, SoField, SoSField, SoMFPlane
SoSFPlane::SoSFPlane | ( | ) |
Default constructor.
virtual SoSFPlane::~SoSFPlane | ( | ) | [virtual] |
Destructor.
static SoType SoSFPlane::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoSField.
virtual SoType SoSFPlane::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
const SbPlane& SoSFPlane::getValue | ( | ) | const [inline] |
Returns this field's value.
virtual size_t SoSFPlane::getValueSize | ( | ) | const [inline, virtual] |
Get size of the value.
Reimplemented from SoField.
int SoSFPlane::operator!= | ( | const SoSFPlane & | 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 SoSFPlane::operator== | ( | const SoSFPlane & | f | ) | const |
Returns TRUE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
void SoSFPlane::setValue | ( | const SbPlane & | newValue | ) |
Sets this field to newValue.