Class SoEngineOutput
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.engines.SoEngineOutput
-
- Direct Known Subclasses:
SoImageVizEngineOutput
public class SoEngineOutput extends Inventor
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 ofSoEngineOutput
.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:
SoEngine
-
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enable(boolean flag)
Enables or disables all connections from this output.java.lang.Class<? extends Inventor>
getConnectionClass()
Returns the type of field this output can connect to.SoEngine
getContainer()
Returns containing engine.int
getNumConnections()
Number of connections this output currently has.boolean
isEnabled()
Returns true if this output is currently enabled.-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
getNumConnections
public int getNumConnections()
Number of connections this output currently has.
-
getContainer
public SoEngine 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
public java.lang.Class<? extends Inventor> getConnectionClass()
Returns the type of field this output can connect to.
-
-