SoMFTime(3)
π NAME π
hey bestie, welcome to the SoMFTime(3) page π ngl this one is a whole vibe: SoMFTime is a container for SbTime values. that's it. she holds a whole squad of time values. plural. main character energy, no cap πβ¨
πΈ SYNOPSIS πΈ
to even get her to notice you, you write this:
#include <Inventor/fields/SoMFTime.h>
and she Inherits SoMField 𧬠(multivalue field bloodline, iykyk)
π« Public Member Functions π«
virtual SoType getTypeId (void) constvirtual void copyFrom (const SoField &field)const SoMFTime & operator= (const SoMFTime &field)virtual SbBool isSame (const SoField &field) constconst SbTime & operator[] (const int idx) constconst SbTime * getValues (const int start) constint find (const SbTime &value, SbBool addifnotfound=FALSE)void setValues (const int start, const int num, const SbTime *newvals)void set1Value (const int idx, const SbTime &value)void setValue (const SbTime &value)const SbTime & operator= (const SbTime &val)SbBool operator== (const SoMFTime &field) constSbBool operator!= (const SoMFTime &field) constSbTime * startEditing (void)void finishEditing (void)
π«Ά Public Member Functions inherited from SoMField π«Ά
virtual ~SoMField ()int getNum (void) constvoid setNum (const int num)virtual void deleteValues (int start, int num=-1)virtual void insertSpace (int start, int num)SbBool set1 (const int index, const char *const valuestring)void get1 (const int index, SbString &valuestring)virtual void enableDeleteValues (void)virtual SbBool isDeleteValuesEnabled (void) const
π Public Member Functions inherited from SoField π
virtual ~SoField ()void setIgnored (SbBool ignore)SbBool isIgnored (void) constvoid setDefault (SbBool defaultVal)SbBool isDefault (void) constSbBool isOfType (const SoType type) constvoid enableConnection (SbBool flag)SbBool isConnectionEnabled (void) constSbBool connectFrom (SoEngineOutput *master, SbBool notnotify=FALSE, SbBool append=FALSE)SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=FALSE)void disconnect (SoEngineOutput *engineoutput)SbBool isConnectedFromEngine (void) constSbBool getConnectedEngine (SoEngineOutput *&master) constSbBool connectFrom (SoField *master, SbBool notnotify=FALSE, SbBool append=FALSE)SbBool appendConnection (SoField *master, SbBool notnotify=FALSE)void disconnect (SoField *field)SbBool isConnectedFromField (void) constSbBool getConnectedField (SoField *&master) constint getNumConnections (void) constint getForwardConnections (SoFieldList &slavelist) constint getConnections (SoFieldList &masterlist) constvoid disconnect (void)SbBool isConnected (void) constvoid setContainer (SoFieldContainer *cont)SoFieldContainer * getContainer (void) constSbBool set (const char *valuestring)void get (SbString &valuestring)SbBool shouldWrite (void) constvirtual void touch (void)virtual void startNotify (void)virtual void notify (SoNotList *nlist)SbBool enableNotify (SbBool on)SbBool isNotifyEnabled (void) constvoid addAuditor (void *f, SoNotRec::Type type)void removeAuditor (void *f, SoNotRec::Type type)int operator== (const SoField &f) constint operator!= (const SoField &f) constvirtual void connectionStatusChanged (int numconnections)SbBool isReadOnly (void) constvirtual void fixCopy (SbBool copyconnections)virtual SbBool referencesCopy (void) constvoid copyConnection (const SoField *fromfield)virtual SbBool read (SoInput *input, const SbName &name)virtual void write (SoOutput *out, const SbName &name) constvirtual void countWriteRefs (SoOutput *out) constvoid setFieldType (int type)int getFieldType (void) constSbBool getDirty (void) constvoid 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 SoMField β
static SoType getClassTypeId (void)static void atexit_cleanup (void)static void initClass (void)
β Static Public Member Functions inherited from SoField β
static void initClass (void)static void initClasses (void)static void cleanupClass (void)static SoType getClassTypeId (void)
π Protected Member Functions π
virtual void deleteAllValues (void)virtual void copyValue (int to, int from)virtual int fieldSizeof (void) constvirtual void * valuesPtr (void)virtual void setValuesPtr (void *ptr)virtual void allocValues (int num)
π Protected Member Functions inherited from SoMField π
SoMField (void)virtual void makeRoom (int newnum)virtual SoNotRec createNotRec (SoBase *container)void setChangedIndex (const int chgidx)void setChangedIndices (const int chgidx=-1, const int numchgind=0)
π Protected Member Functions inherited from SoField π
SoField (void)void valueChanged (SbBool resetdefault=TRUE)virtual void evaluateConnection (void) constvirtual SbBool readConnection (SoInput *in)virtual void writeConnection (SoOutput *out) constSbBool isDestructing (void) const
ποΈ Protected Attributes ποΈ
SbTime * values
ποΈ Protected Attributes inherited from SoMField ποΈ
int numint maxNumSbBool userDataIsUsed
π§ Additional Inherited Members π§
- Public Types inherited from
SoField:enum FieldType { NORMAL_FIELD = 0, EVENTIN_FIELD, EVENTOUT_FIELD, EXPOSED_FIELD }
π Detailed Description π
so like, the whole tea: The SoMFTime class is a container for SbTime values. π
and where does she get used? whenever nodes, engines or other field containers need to store multiple time representations. that's the assignment. she's literally built to hold many time values at once and she ate π½οΈβ¨
See also
SoSFTime
π Member Function Documentation π
void * SoMFTime::createInstance (void ) [static]
okay so this one is internal to the library β she's not likely to be of interest to the application programmer, so don't stress about her fr π
what she does: Creates a new instance of the class type corresponding to the SoType object. cute little factory moment π
SoType SoMFTime::getClassTypeId (void ) [static]
this static method returns the SoType object associated with objects of this class. like a name tag for the whole class, iconic β¨
SoType SoMFTime::getTypeId (void ) const [virtual]
Returns the type identification of an object derived from a class inheriting SoField. and why do we care? bc it's used for runtime type checking and "downward" casting. π
Implements SoField.
void SoMFTime::copyFrom (const SoField & f) [virtual]
Copy value(s) from f into this field. and bestie, listen: f must be of the same type as this field. no mixing, no matching with the wrong type, she's picky π
Implements SoField.
SbBool SoMFTime::isSame (const SoField & f) const [virtual]
Check for equal type and value(s). simple as. vibe check passed or not π
Implements SoField.
void SoMFTime::deleteAllValues (void ) [protected], [virtual]
internal API alert π¨ this member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Implements SoMField.
void SoMFTime::copyValue (int to, int from) [protected], [virtual]
This method is used for moving values around internally within a multivalue field. and the whole point: It needs to be overridden in each field so it automatically takes care of running copy constructors where necessary. like, every field has to do her own version or the copy constructors won't get run properly, no cap π
Implements SoMField.
const SbTime * SoMFTime::getValues (const int start) const [inline]
Returns a pointer to the values array. that's the whole thing. here's your pointer bestie π«΄β¨
void SoMFTime::initClass (void ) [static]
Internal method called upon initialization of the library (from SoDB::init()) to set up the type system. so she runs behind the scenes when everything boots up π
π Author π
Generated automatically by Doxygen for Coin from the source code. (so like, a robot wrote this, respect π«‘)
and that's the whole page bestie!! ππ¦ the manual name was SoMFTime(3), and this little time-value queen comes to you from Version 4.0.10, dated Thu Jun 25 2026 00:00:00. go forth and store those multiple time representations, you absolute icon ππ
periodt π
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms