SoMFEngine(3)
π NAME π
SoMFEngine β the Coin manual's class that's literally a container for engines. no cap, it holds them all. periodt. π
πΈ SYNOPSIS πΈ
#include <Inventor/fields/SoMFEngine.h>
Inherits SoMField.
β¨ Public Member Functions β¨
virtual SoType getTypeId (void) constvirtual void copyFrom (const SoField &field)const SoMFEngine & operator= (const SoMFEngine &field)virtual SbBool isSame (const SoField &field) constSoEngine * operator[] (const int idx) constconst SoEngine ** getValues (const int start) constint find (SoEngine *value, SbBool addifnotfound=FALSE)void setValues (const int start, const int num, const SoEngine **newvals)void set1Value (const int idx, SoEngine *value)void setValue (SoEngine *value)SoEngine * operator= (SoEngine *val)SbBool operator== (const SoMFEngine &field) constSbBool operator!= (const SoMFEngine &field) constSoEngine ** startEditing (void)void finishEditing (void)virtual void fixCopy (SbBool copyconnections)virtual SbBool referencesCopy (void) constvirtual void deleteValues (int start, int num=-1)virtual void insertSpace (int start, int num)
β¨ Public Member Functions inherited from SoMField β¨
virtual ~SoMField ()β inherited fromSoMFieldint getNum (void) constβ inherited fromSoMFieldvoid setNum (const int num)β inherited fromSoMFieldSbBool set1 (const int index, const char *const valuestring)β inherited fromSoMFieldvoid get1 (const int index, SbString &valuestring)β inherited fromSoMFieldvirtual void enableDeleteValues (void)β inherited fromSoMFieldvirtual SbBool isDeleteValuesEnabled (void) constβ inherited fromSoMField
β¨ Public Member Functions inherited from SoField β¨
virtual ~SoField ()β inherited fromSoFieldvoid setIgnored (SbBool ignore)β inherited fromSoFieldSbBool isIgnored (void) constβ inherited fromSoFieldvoid setDefault (SbBool defaultVal)β inherited fromSoFieldSbBool isDefault (void) constβ inherited fromSoFieldSbBool isOfType (const SoType type) constβ inherited fromSoFieldvoid enableConnection (SbBool flag)β inherited fromSoFieldSbBool isConnectionEnabled (void) constβ inherited fromSoFieldSbBool connectFrom (SoEngineOutput *master, SbBool notnotify=FALSE, SbBool append=FALSE)β inherited fromSoFieldSbBool appendConnection (SoEngineOutput *master, SbBool notnotify=FALSE)β inherited fromSoFieldvoid disconnect (SoEngineOutput *engineoutput)β inherited fromSoFieldSbBool isConnectedFromEngine (void) constβ inherited fromSoFieldSbBool getConnectedEngine (SoEngineOutput *&master) constβ inherited fromSoFieldSbBool connectFrom (SoField *master, SbBool notnotify=FALSE, SbBool append=FALSE)β inherited fromSoFieldSbBool appendConnection (SoField *master, SbBool notnotify=FALSE)β inherited fromSoFieldvoid disconnect (SoField *field)β inherited fromSoFieldSbBool isConnectedFromField (void) constβ inherited fromSoFieldSbBool getConnectedField (SoField *&master) constβ inherited fromSoFieldint getNumConnections (void) constβ inherited fromSoFieldint getForwardConnections (SoFieldList &slavelist) constβ inherited fromSoFieldint getConnections (SoFieldList &masterlist) constβ inherited fromSoFieldvoid disconnect (void)β inherited fromSoFieldSbBool isConnected (void) constβ inherited fromSoFieldvoid setContainer (SoFieldContainer *cont)β inherited fromSoFieldSoFieldContainer * getContainer (void) constβ inherited fromSoFieldSbBool set (const char *valuestring)β inherited fromSoFieldvoid get (SbString &valuestring)β inherited fromSoFieldSbBool shouldWrite (void) constβ inherited fromSoFieldvirtual void touch (void)β inherited fromSoFieldvirtual void startNotify (void)β inherited fromSoFieldvirtual void notify (SoNotList *nlist)β inherited fromSoFieldSbBool enableNotify (SbBool on)β inherited fromSoFieldSbBool isNotifyEnabled (void) constβ inherited fromSoFieldvoid addAuditor (void *f, SoNotRec::Type type)β inherited fromSoFieldvoid removeAuditor (void *f, SoNotRec::Type type)β inherited fromSoFieldint operator== (const SoField &f) constβ inherited fromSoFieldint operator!= (const SoField &f) constβ inherited fromSoFieldvirtual void connectionStatusChanged (int numconnections)β inherited fromSoFieldSbBool isReadOnly (void) constβ inherited fromSoFieldvoid copyConnection (const SoField *fromfield)β inherited fromSoFieldvirtual SbBool read (SoInput *input, const SbName &name)β inherited fromSoFieldvirtual void write (SoOutput *out, const SbName &name) constβ inherited fromSoFieldvoid setFieldType (int type)β inherited fromSoFieldint getFieldType (void) constβ inherited fromSoFieldSbBool getDirty (void) constβ inherited fromSoFieldvoid setDirty (SbBool dirty)β inherited fromSoFieldvoid evaluate (void) constβ inherited fromSoField
β¨ 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)β inherited fromSoMFieldstatic void atexit_cleanup (void)β inherited fromSoMFieldstatic void initClass (void)β inherited fromSoMField
β¨ Static Public Member Functions inherited from SoField β¨
static void initClass (void)β inherited fromSoFieldstatic void initClasses (void)β inherited fromSoFieldstatic void cleanupClass (void)β inherited fromSoFieldstatic SoType getClassTypeId (void)β inherited fromSoField
β¨ 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)β inherited fromSoMFieldvirtual void makeRoom (int newnum)β inherited fromSoMFieldvirtual SoNotRec createNotRec (SoBase *container)β inherited fromSoMFieldvoid setChangedIndex (const int chgidx)β inherited fromSoMFieldvoid setChangedIndices (const int chgidx=-1, const int numchgind=0)β inherited fromSoMField
β¨ Protected Member Functions inherited from SoField β¨
SoField (void)β inherited fromSoFieldvoid valueChanged (SbBool resetdefault=TRUE)β inherited fromSoFieldvirtual void evaluateConnection (void) constβ inherited fromSoFieldvirtual SbBool readConnection (SoInput *in)β inherited fromSoFieldvirtual void writeConnection (SoOutput *out) constβ inherited fromSoFieldSbBool isDestructing (void) constβ inherited fromSoField
β¨ Protected Attributes β¨
SoEngine ** values
β¨ Protected Attributes inherited from SoMField β¨
int numβ inherited fromSoMFieldint maxNumβ inherited fromSoMFieldSbBool userDataIsUsedβ inherited fromSoMField
β¨ Additional Inherited Members β¨
Public Types inherited from SoField
enum FieldType { NORMAL_FIELD = 0, EVENTIN_FIELD, EVENTOUT_FIELD, EXPOSED_FIELD }β inherited fromSoField
β¨ Detailed Description β¨
SoMFEngine is a container for engines. that's the whole mood. π
This field container stores an array of pointers to engines. it takes care of the necessary functionality for handling copy, import and export operations. so you don't have to, bestie. π«Ά
Note that engine pointers stored in field instances of this type may beNULLpointers. yes,NULL. it's valid.
See also: SoEngine, SoSFEngine β go give them a read, iykyk. β¨
π Member Function Documentation π
π
void * SoMFEngine::createInstance (void ) [static] π
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Creates a new instance of the class type corresponding to the SoType object.
π
SoType SoMFEngine::getClassTypeId (void ) [static] π
This static method returns the SoType object associated with objects of this class.
π
SoType SoMFEngine::getTypeId (void ) const [virtual] π
Returns the type identification of an object derived from a class inheriting SoField. this is used for runtime type checking and "downward" casting.
Implements SoField.
π
void SoMFEngine::copyFrom (const SoField & f) [virtual] π
Copy value(s) from f into this field. f must be of the same type as this field.
Implements SoField.
π
SbBool SoMFEngine::isSame (const SoField & f) const [virtual] π
Check for equal type and value(s).
Implements SoField.
π
virtual void SoMFEngine::deleteAllValues (void ) [protected], [virtual] π
Implements SoMField.
π
virtual void SoMFEngine::copyValue (int to, int from) [protected], [virtual] π
Implements SoMField.
π
const SoEngine ** SoMFEngine::getValues (const int start) const [inline] π
Returns a pointer to the values array.
π
void SoMFEngine::initClass (void ) [static] π
Internal method called upon initialization of the library (from SoDB::init()) to set up the type system.
π
void SoMFEngine::fixCopy (SbBool copyconnections) [virtual] π
This method is internally called after SoField::copyFrom() during scene graph copies, and should do the operations necessary for fixing up the field instance after it has gotten a new value.
The default method in the SoField superclass does nothing.
The application programmer should normally not need to consider this method, unless he constructs a complex field type which contains new references to container instances (i.e. nodes or engines). Overriding this method is then necessary to update the reference pointers, as they could have been duplicated during the copy operation.
Reimplemented from SoField.
π
SbBool SoMFEngine::referencesCopy (void ) const [virtual] π
Returns TRUE if this field has references to any containers in the scene graph which are also duplicated during the copy operation.
Note that this method only is valid to call during copy operations.
See also the note about the relevance of the fixCopy() method for application programmers, as it is applicable on this method as well.
Reimplemented from SoField.
π
virtual void SoMFEngine::deleteValues (int start, int numarg = -1) [virtual] π
Remove value elements from index start up to and including index start + num - 1.
Elements with indices larger than the last deleted element will be moved downwards in the value array.
If num equals -1, delete from index start and to the end of the array.
Reimplemented from SoMField.
π
virtual void SoMFEngine::insertSpace (int start, int numarg) [virtual] π
Insert num "slots" for new value elements from start. The elements already present from start will be moved "upward" in the extended array.
Reimplemented from SoMField.
π«Ά Author π«Ά
Generated automatically by Doxygen for Coin from the source code. slay. β¨
Version 4.0.10 β Thu Jun 25 2026 00:00:00 β SoMFEngine(3). that's the tea, bestie. stay iconic. ππ¦πΈ
π¦ 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