| 1 |
NAME SoEngineOutput SoEngineOutput "" { class for all engine outputs } |
| 2 |
|
| 3 |
DESC { |
| 4 |
\cSoEngineOuput\. is the class for all engine output fields. |
| 5 |
There is no public constructor routine for this class. |
| 6 |
Only the engine classes create instances of \cSoEngineOutput\.\. |
| 7 |
\p |
| 8 |
Each engine creates one or more engine outputs. |
| 9 |
The type of the output is documented in the engine reference pages. |
| 10 |
There is also an \cSoEngineOutput\. method for querying |
| 11 |
the connection type. |
| 12 |
\p |
| 13 |
The application can at any time enable or disable the engine outputs. |
| 14 |
By default the engine outputs are enabled. |
| 15 |
} |
| 16 |
|
| 17 |
INCLUDE engines/SoEngine.h |
| 18 |
|
| 19 |
METHOD getConnType SoType getConnectionType() const |
| 20 |
{ Returns the type of field this output can connect to. } |
| 21 |
METHOD getForwardConn int getForwardConnections(SoFieldList &list) const |
| 22 |
{ Returns the number of fields this output is writing to, |
| 23 |
and adds pointers to those fields to the given list. } |
| 24 |
METHOD "" void enable(SbBool flag) |
| 25 |
{ Enables or disables all connections from this ouptut. If the |
| 26 |
connections are disabled, values will not be output along them. |
| 27 |
By default, outputs are enabled. } |
| 28 |
METHOD "" SbBool isEnabled() const |
| 29 |
{ Returns TRUE if this output is currently enabled. } |
| 30 |
METHOD "" SoEngine* getContainer() const |
| 31 |
{ Returns containing engine. } |
| 32 |
|
| 33 |
ALSO { SoEngine } |