SoSFTime(3)
β¨ SoSFTime β¨
okay bestie, gather round, because today we're talking about SoSFTime from the Coin library (that's the manual page SoSFTime(3) if you're keeping track π
). it's a container for an SbTime value, and honestly? it's giving "small but mighty." no cap.
πΈ NAME πΈ
SoSFTime β the class that holds a single SbTime value. that's it, that's the whole job, and she does it flawlessly. periodt. π
π¦ SYNOPSIS π¦
#include <Inventor/fields/SoSFTime.h>
Inherits SoSField. yes queen, we love a good inheritance chain. π
π« Public Member Functions π«
virtual SoType getTypeId (void) const
virtual void copyFrom (const SoField &field)
const SoSFTime & operator= (const SoSFTime &field)
virtual SbBool isSame (const SoField &field) const
const SbTime & getValue (void) const
void setValue (const SbTime &newvalue)
const SbTime & operator= (const SbTime &newvalue)
int operator== (const SoSFTime &field) const
int operator!= (const SoSFTime &field) const
π Public Member Functions inherited from SoSField π
virtual ~SoSField ()
π Public Member Functions inherited from SoField π
virtual ~SoField ()
void setIgnored (SbBool ignore)
SbBool isIgnored (void) const
void setDefault (SbBool def)
SbBool isDefault (void) const
SbBool isOfType (const SoType type) const
void enableConnection (SbBool flag)
SbBool isConnectionEnabled (void) const
SbBool connectFrom (SoEngineOutput *master, SbBool notnotify=0, SbBool
append=0)
SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=0)
void disconnect (SoEngineOutput *engineoutput)
SbBool isConnectedFromEngine (void) const
SbBool getConnectedEngine (SoEngineOutput *&master) const
SbBool connectFrom (SoField *master, SbBool notnotify=0, SbBool
append=0)
SbBool appendConnection (SoField *master, SbBool notnotify=0)
void disconnect (SoField *field)
SbBool isConnectedFromField (void) const
SbBool getConnectedField (SoField *&master) const
int getNumConnections (void) const
int getForwardConnections (SoFieldList &slavelist) const
int getConnections (SoFieldList &masterlist) const
void disconnect (void)
SbBool isConnected (void) const
void setContainer (SoFieldContainer *cont)
SoFieldContainer * getContainer (void) const
SbBool set (const char *valuestring)
void get (SbString &valuestring)
SbBool shouldWrite (void) const
virtual void touch (void)
virtual void startNotify (void)
virtual void notify (SoNotList *nlist)
SbBool enableNotify (SbBool on)
SbBool isNotifyEnabled (void) const
void addAuditor (void *f, SoNotRec::Type type)
void removeAuditor (void *f, SoNotRec::Type type)
int operator== (const SoField &f) const
int operator!= (const SoField &f) const
virtual void connectionStatusChanged (int numconnections)
SbBool isReadOnly (void) const
virtual void fixCopy (SbBool copyconnections)
virtual SbBool referencesCopy (void) const
void copyConnection (const SoField *fromfield)
virtual SbBool read (SoInput *in, const SbName &name)
virtual void write (SoOutput *out, const SbName &name) const
virtual void countWriteRefs (SoOutput *out) const
void setFieldType (int type)
int getFieldType (void) const
SbBool getDirty (void) const
void setDirty (SbBool dirty)
void evaluate (void) const
π« Static Public Member Functions π«
static void * createInstance (void)
static SoType getClassTypeId (void)
static void initClass (void)
π Static Public Member Functions inherited from SoSField π
static void initClass (void)
static SoType getClassTypeId (void)
π Static Public Member Functions inherited from SoField π
static void initClass (void)
static void initClasses (void)
static SoType getClassTypeId (void)
π« Protected Attributes π«
SbTime value
π« Additional Inherited Members π«
π Public Types inherited from SoField π
enum FieldType { NORMAL_FIELD = 0, EVENTIN_FIELD, EVENTOUT_FIELD,
EXPOSED_FIELD }
π Protected Member Functions inherited from SoSField π
SoSField (void)
π Protected Member Functions inherited from SoField π
SoField (void)
void valueChanged (SbBool resetdefault=1)
virtual void evaluateConnection (void) const
virtual SbBool readConnection (SoInput *in)
virtual void writeConnection (SoOutput *out) const
SbBool isDestructing (void) const
π Detailed Description π
okay so SoSFTime is literally just a container for an SbTime value. it's the single-value sibling, the main character of time fields. πβ¨
you use this field whenever a node, engine, or any other field container needs to store one single time representation. just one. singular. she's not a collection, she's a one-time-value kind of girlie. πββοΈ
and here's a fun fact: a field of this type stores its value to file as a floating point number. so when you're writing out your scene, it's just a lil float, no big deal. π
See also: SoMFTime β that's the multi-value version if you need a whole squad of times instead of just one. π«Ά
π Member Function Documentation π
β¨ SoType SoSFTime::getTypeId (void ) const [virtual] β¨
returns the type identification instance which uniquely identifies the Coin field class the object belongs to. it's like a lil ID card for your field, so the system knows exactly what it's working with. πͺͺπ
See also: getClassTypeId(), SoType
Implements SoField.
β¨ void SoSFTime::copyFrom (const SoField & f) [virtual] β¨
copies value(s) from f into this field. but bestie, listen β f must be of the same type as this field. don't try to copy from some random field type, that's not the vibe and it won't work. π
Implements SoField.
β¨ SbBool SoSFTime::isSame (const SoField & f) const [virtual] β¨
checks for equal type and value(s). so it's not just "do you look the same," it's "are you actually the same." a true vibe check. π―
Implements SoField.
π Author π
generated automatically by Doxygen for Coin from the source code. the robots wrote this one, but we made it cute. π€β¨
and that's the whole page, bestie! π this was Coin Version 2.5.0, page SoSFTime(3), and you absolutely ate this documentation. go forth and store your time values with confidence. mwah! ππ
π¦
π¦ where this page comes from
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms