Open Inventor Reference
SoSFEngine Class Reference

Field containing a pointer to a engine. More...

#include <Inventor/fields/SoSFEngine.h>

Inheritance diagram for SoSFEngine:
SoSField SoField

List of all members.

Public Member Functions

virtual void fixCopy (SbBool copyConnections)
 Update a copied field to use the copy of the engine if there is one.
virtual SbBool referencesCopy () const
 Override this to also check the stored engine.

Static Public Member Functions

static void initClass ()

Detailed Description

This field maintains a pointer to an SoEngine instance, correctly maintaining its reference count.

SoSFEngines are written to file as the engine they are pointing to. For example:

mySoSFEngineField ElapsedTime {}

is an SoSFEngine field named 'mySoSFEngineField', pointing to an SoElapsedTime engine. If the engine is used elsewhere, the regular DEF/USE instancing mechanism applies:

anotherSoSFEngineField USE calculator

is an SoSFEngine field that points to a engine named 'calculator' that was DEF'ed earlier in the scene.

See Also
SoField, SoSField, SoMFEngine, SoEngine

Definition at line 93 of file SoSFEngine.h.


Member Function Documentation

virtual void SoSFEngine::fixCopy ( SbBool  copyConnections) [virtual]

Reimplemented from SoField.

static void SoSFEngine::initClass ( ) [static]

Reimplemented from SoSField.

virtual SbBool SoSFEngine::referencesCopy ( ) const [virtual]

Reimplemented from SoField.


The documentation for this class was generated from the following file: