Package com.openinventor.inventor.fields
Class SoSFEngine
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.fields.SoField
-
- com.openinventor.inventor.fields.SoSField
-
- com.openinventor.inventor.fields.SoSFEngine
-
public class SoSFEngine extends SoSField
Field containing an engine instance. This field maintains anSoEngine
instance.SoSFEngines are written to file as the engine they are maintaining. For example:
is anmySoSFEngineField ElapsedTime SoSFEngine
field named 'mySoSFEngineField', containing anSoElapsedTime
engine. If the engine is used elsewhere, the regular DEF/USE instancing mechanism applies:
is ananotherSoSFEngineField USE calculator SoSFEngine
field that refers to a engine named 'calculator' that was DEF'ed earlier in the scene.- See Also:
SoField
,SoSField
,SoMFEngine
,SoEngine
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.fields.SoField
SoField.FieldTypes
-
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
-
-
Constructor Summary
Constructors Constructor Description SoSFEngine(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SoEngine defaultValue)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
SoEngine
getValue()
Returns this field's value.void
setValue(SoEngine newValue)
Sets this field to newValue.-
Methods inherited from class com.openinventor.inventor.fields.SoField
appendConnection, appendConnection, connectFrom, connectFrom, disconnect, disconnect, disconnect, enableConnection, get, getConnectedEngine, getConnectedField, getContainer, getNumConnections, getValueSize, isConnected, isConnectedFromEngine, isConnectedFromField, isConnectedFromVRMLInterp, isConnectionEnabled, isDefault, isIgnored, set, setIgnored, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Constructor Detail
-
SoSFEngine
public SoSFEngine(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SoEngine defaultValue)
Default constructor.
-
-