Field containing an SbTime. More...
#include <Inventor/fields/SoSFTime.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
const SoSFTime & | operator= (const SoSFTime &f) |
SoSFTime () | |
virtual | ~SoSFTime () |
const SbTime & | getValue () const |
void | setValue (const SbTime &newValue) |
const SbTime & | operator= (const SbTime &newValue) |
int | operator== (const SoSFTime &f) const |
int | operator!= (const SoSFTime &f) const |
virtual size_t | getValueSize () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Field containing an SbTime.
A single-valued field that contains a time value.
SoSFTimes are written to file as a double-precision floating point value representing the length of time in seconds. Absolute times are measured relative to 00:00:00 GMT, January 1, 1970.
SbTime, SoField, SoSField, SoMFTime
SoSFTime::SoSFTime | ( | ) |
Default constructor.
virtual SoSFTime::~SoSFTime | ( | ) | [virtual] |
Destructor.
static SoType SoSFTime::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoSField.
virtual SoType SoSFTime::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
const SbTime& SoSFTime::getValue | ( | ) | const [inline] |
Returns this field's value.
virtual size_t SoSFTime::getValueSize | ( | ) | const [inline, virtual] |
Get size of the value.
Reimplemented from SoField.
int SoSFTime::operator!= | ( | const SoSFTime & | f | ) | const [inline] |
Returns FALSE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
int SoSFTime::operator== | ( | const SoSFTime & | f | ) | const |
Returns TRUE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
void SoSFTime::setValue | ( | const SbTime & | newValue | ) |
Sets this field to newValue.