SOSFTIME(3iv)
π SoSFTime β the field that holds an SbTime π
okay bestie, welcome to SoSFTime, from the 3IV manual, no cap. this is a whole field that contains an SbTime. yes she's that girl. β¨
πΈ INHERITS FROM πΈ
SoField > SoSField > SoSFTime
she comes from a long line of icons, we love a legacy. π
β¨ SYNOPSIS β¨
#include <Inventor/fields/SoSFTime.h>
π Methods from class SoSFTime:
static SoType getClassTypeId()
virtual void getTypeId() const
const SbTime & getValue() const
const SbTime & operator =(const SbTime & newValue)
void setValue(const SbTime & newValue)
int operator ==(const SoSFTime &f) const
int operator !=(const SoSFTime &f) const
π Methods from class SoField:
void setIgnored(SbBool ignore)
SbBool isIgnored() const
SbBool isDefault() const
virtual SbBool isOfType(SoType type) const
SbBool set(const char *valueString)
void get(SbString &valueString)
void touch()
SbBool connectFrom(SoField *fromField)
SbBool connectFrom(SoEngineOutput *fromEngine)
void disconnect()
SbBool isConnected() const
SbBool isConnectedFromField() const
SbBool getConnectedField(SoField *&writingField) const
SbBool isConnectedFromEngine() const
SbBool getConnectedEngine(SoEngineOutput *&engineOutput)
const
void enableConnection(SbBool flag)
SbBool isConnectionEnabled() const
int getForwardConnections(SoFieldList &list) const
SoFieldContainer * getContainer() const
π¦ DESCRIPTION π¦
so. listen. π«Ά
this is a multiple-value field that contains any number of time values. she's flexible, she's generous, she's giving range.
SoSFTimes (plural, the whole squad) get written to file as a double-precision floating point value representing the length of time in seconds. and if you're dealing with absolute times?? those are measured relative to 00:00:00 GMT, January 1, 1970. the epoch. the origin story. iykyk. β
π METHODS π
static SoType getClassTypeId()virtual void getTypeId() const
Returns the type for this class or a particular object of this class. basically "who is she" but for types. π
const SbTime & getValue() const
Returns this field's value. the main character reveal. π
const SbTime & operator =(const SbTime & newValue)void setValue(const SbTime & newValue)
Sets this field to newValue. glow-up complete, periodt. β¨
int operator ==(const SoSFTime &f) constint operator !=(const SoSFTime &f) const
Returns TRUE if f is of the same type and has the same value as this field. not just same vibe β same type, same value, fr fr. π€
π SEE ALSO π
SbTime, SoField, SoSField, SoMFTime β go read these too, they're all in the group chat. π
and that's the whole page bestie,SoSFTime(3IV)ate and left no crumbs. this was pageSoSFTime(3IV)()from the 3IV manual, mwah, go forth and time things. ππ
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms