SoMFEngine(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– 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) const
  • virtual void copyFrom (const SoField &field)
  • const SoMFEngine & operator= (const SoMFEngine &field)
  • virtual SbBool isSame (const SoField &field) const
  • SoEngine * operator[] (const int idx) const
  • const SoEngine ** getValues (const int start) const
  • int 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) const
  • SbBool operator!= (const SoMFEngine &field) const
  • SoEngine ** startEditing (void)
  • void finishEditing (void)
  • virtual void fixCopy (SbBool copyconnections)
  • virtual SbBool referencesCopy (void) const
  • virtual void deleteValues (int start, int num=-1)
  • virtual void insertSpace (int start, int num)

✨ Public Member Functions inherited from SoMField ✨

  • virtual ~SoMField () β€” inherited from SoMField
  • int getNum (void) const β€” inherited from SoMField
  • void setNum (const int num) β€” inherited from SoMField
  • SbBool set1 (const int index, const char *const valuestring) β€” inherited from SoMField
  • void get1 (const int index, SbString &valuestring) β€” inherited from SoMField
  • virtual void enableDeleteValues (void) β€” inherited from SoMField
  • virtual SbBool isDeleteValuesEnabled (void) const β€” inherited from SoMField

✨ Public Member Functions inherited from SoField ✨

  • virtual ~SoField () β€” inherited from SoField
  • void setIgnored (SbBool ignore) β€” inherited from SoField
  • SbBool isIgnored (void) const β€” inherited from SoField
  • void setDefault (SbBool defaultVal) β€” inherited from SoField
  • SbBool isDefault (void) const β€” inherited from SoField
  • SbBool isOfType (const SoType type) const β€” inherited from SoField
  • void enableConnection (SbBool flag) β€” inherited from SoField
  • SbBool isConnectionEnabled (void) const β€” inherited from SoField
  • SbBool connectFrom (SoEngineOutput *master, SbBool notnotify=FALSE, SbBool append=FALSE) β€” inherited from SoField
  • SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=FALSE) β€” inherited from SoField
  • void disconnect (SoEngineOutput *engineoutput) β€” inherited from SoField
  • SbBool isConnectedFromEngine (void) const β€” inherited from SoField
  • SbBool getConnectedEngine (SoEngineOutput *&master) const β€” inherited from SoField
  • SbBool connectFrom (SoField *master, SbBool notnotify=FALSE, SbBool append=FALSE) β€” inherited from SoField
  • SbBool appendConnection (SoField *master, SbBool notnotify=FALSE) β€” inherited from SoField
  • void disconnect (SoField *field) β€” inherited from SoField
  • SbBool isConnectedFromField (void) const β€” inherited from SoField
  • SbBool getConnectedField (SoField *&master) const β€” inherited from SoField
  • int getNumConnections (void) const β€” inherited from SoField
  • int getForwardConnections (SoFieldList &slavelist) const β€” inherited from SoField
  • int getConnections (SoFieldList &masterlist) const β€” inherited from SoField
  • void disconnect (void) β€” inherited from SoField
  • SbBool isConnected (void) const β€” inherited from SoField
  • void setContainer (SoFieldContainer *cont) β€” inherited from SoField
  • SoFieldContainer * getContainer (void) const β€” inherited from SoField
  • SbBool set (const char *valuestring) β€” inherited from SoField
  • void get (SbString &valuestring) β€” inherited from SoField
  • SbBool shouldWrite (void) const β€” inherited from SoField
  • virtual void touch (void) β€” inherited from SoField
  • virtual void startNotify (void) β€” inherited from SoField
  • virtual void notify (SoNotList *nlist) β€” inherited from SoField
  • SbBool enableNotify (SbBool on) β€” inherited from SoField
  • SbBool isNotifyEnabled (void) const β€” inherited from SoField
  • void addAuditor (void *f, SoNotRec::Type type) β€” inherited from SoField
  • void removeAuditor (void *f, SoNotRec::Type type) β€” inherited from SoField
  • int operator== (const SoField &f) const β€” inherited from SoField
  • int operator!= (const SoField &f) const β€” inherited from SoField
  • virtual void connectionStatusChanged (int numconnections) β€” inherited from SoField
  • SbBool isReadOnly (void) const β€” inherited from SoField
  • void copyConnection (const SoField *fromfield) β€” inherited from SoField
  • virtual SbBool read (SoInput *input, const SbName &name) β€” inherited from SoField
  • virtual void write (SoOutput *out, const SbName &name) const β€” inherited from SoField
  • void setFieldType (int type) β€” inherited from SoField
  • int getFieldType (void) const β€” inherited from SoField
  • SbBool getDirty (void) const β€” inherited from SoField
  • void setDirty (SbBool dirty) β€” inherited from SoField
  • void evaluate (void) const β€” inherited from SoField

✨ 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 from SoMField
  • static void atexit_cleanup (void) β€” inherited from SoMField
  • static void initClass (void) β€” inherited from SoMField

✨ Static Public Member Functions inherited from SoField ✨

  • static void initClass (void) β€” inherited from SoField
  • static void initClasses (void) β€” inherited from SoField
  • static void cleanupClass (void) β€” inherited from SoField
  • static SoType getClassTypeId (void) β€” inherited from SoField

✨ Protected Member Functions ✨

  • virtual void deleteAllValues (void)
  • virtual void copyValue (int to, int from)
  • virtual int fieldSizeof (void) const
  • virtual void * valuesPtr (void)
  • virtual void setValuesPtr (void *ptr)
  • virtual void allocValues (int num)

✨ Protected Member Functions inherited from SoMField ✨

  • SoMField (void) β€” inherited from SoMField
  • virtual void makeRoom (int newnum) β€” inherited from SoMField
  • virtual SoNotRec createNotRec (SoBase *container) β€” inherited from SoMField
  • void setChangedIndex (const int chgidx) β€” inherited from SoMField
  • void setChangedIndices (const int chgidx=-1, const int numchgind=0) β€” inherited from SoMField

✨ Protected Member Functions inherited from SoField ✨

  • SoField (void) β€” inherited from SoField
  • void valueChanged (SbBool resetdefault=TRUE) β€” inherited from SoField
  • virtual void evaluateConnection (void) const β€” inherited from SoField
  • virtual SbBool readConnection (SoInput *in) β€” inherited from SoField
  • virtual void writeConnection (SoOutput *out) const β€” inherited from SoField
  • SbBool isDestructing (void) const β€” inherited from SoField

✨ Protected Attributes ✨

  • SoEngine ** values

✨ Protected Attributes inherited from SoMField ✨

  • int num β€” inherited from SoMField
  • int maxNum β€” inherited from SoMField
  • SbBool userDataIsUsed β€” inherited from SoMField

✨ Additional Inherited Members ✨

Public Types inherited from SoField

  • enum FieldType { NORMAL_FIELD = 0, EVENTIN_FIELD, EVENTOUT_FIELD, EXPOSED_FIELD } β€” inherited from SoField

✨ 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 be NULL pointers. 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