SoSFTime — field containing an SbTime
Contents
Description
A multiple-value field that contains any number of time values.
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.
Inherits From
SoField > SoSField > SoSFTime
Methods
staticSoTypegetClassTypeId()virtualvoidgetTypeId()const
Returns the type for this class or a particular object of this class.
constSbTime&getValue()const
Returns this field's value.
constSbTime&operator=(constSbTime&newValue)voidsetValue(constSbTime&newValue)
Sets this field to newValue.
intoperator==(constSoSFTime&f)constintoperator!=(constSoSFTime&f)const
Returns TRUE if f is of the same type and has the same value as this field.
Name
SoSFTime — field containing an SbTime
See Also
SbTime,SoField,SoSField,SoMFTimeSoSFTime(3IV)()
Synopsis
#include<Inventor/fields/SoSFTime.h>
Methods from class SoSFTime:
staticSoTypegetClassTypeId()virtualvoidgetTypeId()constconstSbTime&getValue()constconstSbTime&operator=(constSbTime&newValue)voidsetValue(constSbTime&newValue)intoperator==(constSoSFTime&f)constintoperator!=(constSoSFTime&f)const
Methods from class SoField:
voidsetIgnored(SbBoolignore)SbBoolisIgnored()constSbBoolisDefault()constvirtualSbBoolisOfType(SoTypetype)constSbBoolset(constchar*valueString)voidget(SbString&valueString)voidtouch()SbBoolconnectFrom(SoField*fromField)SbBoolconnectFrom(SoEngineOutput*fromEngine)voiddisconnect()SbBoolisConnected()constSbBoolisConnectedFromField()constSbBoolgetConnectedField(SoField*&writingField)constSbBoolisConnectedFromEngine()constSbBoolgetConnectedEngine(SoEngineOutput*&engineOutput)constvoidenableConnection(SbBoolflag)SbBoolisConnectionEnabled()constintgetForwardConnections(SoFieldList&list)constSoFieldContainer*getContainer()const