Class SoEngineOutput
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.engines.SoEngineOutput
Class for all engine outputs.
SoEngineOuput is the class for all engine output fields. There is no public constructor routine for this class. Only the engine classes create instances of
SoEngineOutput
.
Each engine creates one or more engine outputs. The type of the output is documented in the engine reference pages. There is also an SoEngineOutput
method for querying the connection type.
The application can at any time enable or disable the engine outputs. By default the engine outputs are enabled.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enable
(boolean flag) Enables or disables all connections from this output.Returns the type of field this output can connect to.Returns containing engine.int
Number of connections this output currently has.boolean
Returns true if this output is currently enabled.Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
getNumConnections
public int getNumConnections()Number of connections this output currently has. -
getContainer
Returns containing engine. -
enable
public void enable(boolean flag) Enables or disables all connections from this output. If the connections are disabled, values will not be output along them. By default, outputs are enabled. -
isEnabled
public boolean isEnabled()Returns true if this output is currently enabled. -
getConnectionClass
Returns the type of field this output can connect to.
-