![]() |
http://www.sim.no http://www.coin3d.org |
#include <Inventor/engines/SoEngine.h>
SoEngineOutput has methods for convenient handling of the connections made from SoEngine objects to SoField objects.
Public Member Functions | |
SoEngineOutput (void) | |
virtual | ~SoEngineOutput () |
SoType | getConnectionType (void) const |
int | getForwardConnections (SoFieldList &fl) const |
void | enable (const SbBool flag) |
SbBool | isEnabled (void) const |
SoEngine * | getContainer (void) const |
SoNodeEngine * | getNodeContainer (void) const |
SbBool | isNodeEngineOutput (void) const |
void | setContainer (SoEngine *engine) |
void | setNodeContainer (SoNodeEngine *nodeengine) |
void | addConnection (SoField *f) |
void | removeConnection (SoField *f) |
int | getNumConnections (void) const |
SoField * | operator[] (int i) const |
void | prepareToWrite (void) const |
void | doneWriting (void) const |
void | touchSlaves (SoNotList *nl, SbBool donotify) |
SoFieldContainer * | getFieldContainer (void) |
|
Constructor. The SoEngineOutput will initially not be contained within an SoEngine nor will it have any slave fields attached.
|
|
Destructor. |
|
Returns the type of the engine output. |
|
Adds all slave fields connected to this output to fl. Returns the number of slaves.
|
|
Sets the enabled flag. If output is disabled, the fields connected to this output will not be changed when the engine is evaluated.
|
|
Returns status of the enabled flag.
|
|
Returns the engine containing this output. If the engine containing this output is a NodeEngine, this method returns NULL.
|
|
Returns the node engine containing this output. If the engine containing this output is not a NodeEgine, this method returns NULL. This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
|
|
Returns TRUE if the container is a NodeEngine. This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
|
|
Sets the engine containing this output.
|
|
Sets the NodeEngine containing this output. This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
|
|
Adds f to the list of connections from this output. Adds 1 to the reference count of the container engine.
|
|
Removes f from the list of connections from this output. Subtracts 1 from the reference count of the container engine. If the reference count reaches zero (which will happen if this was the last connection and the application programmer did not explicitly ref the engine), the container engine will be deallocated.
|
|
Returns the number of fields in the list of connections.
|
|
Returns the field at index i in the list of connections.
|
|
Disables notifications on fields connected to this output. This is done before the engine is evaulated, since the fields we are going to write into have already been notified.
|
|
Restores the notification flags on fields connected to this output after evaluating.
|
|
Notify the fields attached to this engine output that the output value has changed.
If donotify is Note that this method is not part of the original Open Inventor API. |
|
Convenience method that returns a field container. This method can be used both for NodeEngine and Engine outputs. This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
|
Copyright © 1998-2004 by Systems in Motion AS. All rights reserved.
Generated on Tue Jul 13 06:57:35 2004 for Coin by Doxygen. 1.3.6