Field containing a floating-point value. More...
#include <Inventor/fields/SoSFFloat.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
const SoSFFloat & | operator= (const SoSFFloat &f) |
SoSFFloat () | |
virtual | ~SoSFFloat () |
float | getValue () const |
void | setValue (float newValue) |
float | operator= (float newValue) |
int | operator== (const SoSFFloat &f) const |
int | operator!= (const SoSFFloat &f) const |
virtual size_t | getValueSize () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Field containing a floating-point value.
A field that contains one single-precision floating point number.
SoSFFloats are written to file in standard scientific notation.
SoSFFloat::SoSFFloat | ( | ) |
Default constructor.
virtual SoSFFloat::~SoSFFloat | ( | ) | [virtual] |
Destructor.
static SoType SoSFFloat::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoSField.
virtual SoType SoSFFloat::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
float SoSFFloat::getValue | ( | ) | const [inline] |
Returns this field's value.
virtual size_t SoSFFloat::getValueSize | ( | ) | const [inline, virtual] |
Get size of the value.
Reimplemented from SoField.
int SoSFFloat::operator!= | ( | const SoSFFloat & | f | ) | const [inline] |
Returns FALSE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
float SoSFFloat::operator= | ( | float | newValue | ) | [inline] |
Sets this field to newValue.
int SoSFFloat::operator== | ( | const SoSFFloat & | f | ) | const |
Returns TRUE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
void SoSFFloat::setValue | ( | float | newValue | ) |
Sets this field to newValue.