Class SoEngineOutput

java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.engines.SoEngineOutput

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 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:
  • Method Details

    • 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 Class<? extends Inventor> getConnectionClass()
      Returns the type of field this output can connect to.