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