SoSFTime Class Reference
[Fields]

Field containing an SbTime. More...

#include <Inventor/fields/SoSFTime.h>

Inheritance diagram for SoSFTime:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFTimeoperator= (const SoSFTime &f)
 SoSFTime ()
virtual ~SoSFTime ()
const SbTimegetValue () const
void setValue (const SbTime &newValue)
const SbTimeoperator= (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 ()

Detailed Description

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.

SEE ALSO

SbTime, SoField, SoSField, SoMFTime


Constructor & Destructor Documentation

SoSFTime::SoSFTime (  ) 

Default constructor.

virtual SoSFTime::~SoSFTime (  )  [virtual]

Destructor.


Member Function Documentation

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.

const SbTime& SoSFTime::operator= ( const SbTime newValue  )  [inline]

Sets this field to newValue.

const SoSFTime& SoSFTime::operator= ( const SoSFTime f  ) 

Copy from another field of same type.

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.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 28 Jun 2022
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/