![]() |
http://www.sim.no http://www.coin3d.org |
#include <Inventor/engines/SoNodeEngine.h>
Inheritance diagram for SoNodeEngine:
Node engines have the same functionality as normal engines, except that they inherit SoNode, which makes it possible to insert node engines in the scene graph.
The main rationale for this class is to simplify the implementation of VRML interpolator nodes, which are in a sense engines embedded in the shape of ordinary nodes.
This class will likely be of no interest to the Coin application programmers, and you can safely ignore it.
Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
Public Member Functions | |
void | evaluateWrapper (void) |
virtual int | getOutputs (SoEngineOutputList &l) const |
SoEngineOutput * | getOutput (const SbName &outputname) const |
SbBool | getOutputName (const SoEngineOutput *output, SbName &outputname) const |
virtual const SoEngineOutputData * | getOutputData (void) const=0 |
SbBool | isNotifying (void) const |
virtual void | notify (SoNotList *nl) |
virtual void | writeInstance (SoOutput *out) |
Static Public Member Functions | |
void | initClass (void) |
SoType | getClassTypeId (void) |
Protected Member Functions | |
SoNodeEngine (void) | |
virtual | ~SoNodeEngine () |
virtual void | evaluate (void)=0 |
virtual SbBool | readInstance (SoInput *in, unsigned short flags) |
virtual void | inputChanged (SoField *which) |
void | writeOutputTypes (SoOutput *out) |
Static Protected Member Functions | |
const SoFieldData ** | getFieldDataPtr (void) |
const SoEngineOutputData ** | getOutputDataPtr (void) |
|
Default constructor. |
|
Destructor. |
|
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. Reimplemented from SoNode. Reimplemented in SoVRMLColorInterpolator, SoVRMLCoordinateInterpolator, SoVRMLInterpolator, SoVRMLNormalInterpolator, SoVRMLOrientationInterpolator, SoVRMLPositionInterpolator, SoVRMLScalarInterpolator, and SoVRMLTimeSensor. |
|
This static method returns the SoType object associated with objects of this class. Reimplemented from SoNode. Reimplemented in SoVRMLColorInterpolator, SoVRMLCoordinateInterpolator, SoVRMLInterpolator, SoVRMLNormalInterpolator, SoVRMLOrientationInterpolator, SoVRMLPositionInterpolator, SoVRMLScalarInterpolator, and SoVRMLTimeSensor. |
|
Triggers an engine evaluation. |
|
Adds all outputs to list. Returns the number of outputs added to the list. |
|
Returns the output with name outputname, or |
|
Sets to the name of output. Returns |
|
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. Implemented in SoVRMLColorInterpolator, SoVRMLCoordinateInterpolator, SoVRMLInterpolator, SoVRMLNormalInterpolator, SoVRMLOrientationInterpolator, SoVRMLPositionInterpolator, SoVRMLScalarInterpolator, and SoVRMLTimeSensor. |
|
Returns whether we're in a notification process. This is needed to avoid double notification when an engine enables outputs during inputChanged(). |
|
Notifies all auditors for this instance when changes are made. Reimplemented from SoNode. Reimplemented in SoVRMLTimeSensor. |
|
This method is called from write() if the actual writing pass of the write action is taking place. It dumps the node to the given out output stream. Reimplemented from SoNode. |
|
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. |
|
This method is mainly intended for internal use during file import operations. It reads a definition of an instance from the input stream in. The input stream state points to the start of a serialized / persistant representation of an instance of this class type.
flags is used internally during binary import when reading user extension nodes, group nodes or engines. Reimplemented from SoNode. |
|
Called when an input is changed. The default method does nothing, but subclasses may override this method to do the The Right Thing when a specific field is changed. Reimplemented in SoVRMLTimeSensor. |
|
Returns the SoFieldData class which holds information about inputs in this engine. Reimplemented from SoNode. Reimplemented in SoVRMLColorInterpolator, SoVRMLCoordinateInterpolator, SoVRMLInterpolator, SoVRMLNormalInterpolator, SoVRMLOrientationInterpolator, SoVRMLPositionInterpolator, SoVRMLScalarInterpolator, and SoVRMLTimeSensor. |
|
Returns the SoEngineOutputData class which holds information about the outputs in this engine. Reimplemented in SoVRMLColorInterpolator, SoVRMLCoordinateInterpolator, SoVRMLInterpolator, SoVRMLNormalInterpolator, SoVRMLOrientationInterpolator, SoVRMLPositionInterpolator, SoVRMLScalarInterpolator, and SoVRMLTimeSensor. |
|
Writes the types of engine outputs for extension engines (i.e. engines not built in to Coin). |
Copyright © 1998-2003 by Systems in Motion AS. All rights reserved.
Generated on Sat Apr 10 08:33:46 2004 for Coin by Doxygen. 1.3.6-20040222