public class SoSFNode extends SoSField
SoNode
instance.
SoSFNodes are written to file as the node they are containing. For example:
is anmySoSFNodeField Cube {}
SoSFNode
field named 'mySoSFNodeField', referring to an SoCube
node. If the node is used elsewhere, the regular DEF/USE instancing mechanism applies:
is ananotherSoSFNodeField USE topSeparator
SoSFNode
field that refers to a node named 'topSeparator' that was DEF'ed earlier in the scene.
See also:
SoField.FieldTypes
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoSFNode()
Deprecated.
As of Open Inventor 9.3 Use constructor with SoFieldContainer instead.
|
SoSFNode(SoFieldContainer fieldContainer,
java.lang.String fieldName,
SoField.FieldTypes fieldType,
SoNode defaultValue)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
SoNode |
getValue()
Returns this field's value.
|
long |
getValueSize()
Get size of the value.
|
void |
setValue(SoNode newValue)
Sets this field to
newValue.
|
appendConnection, appendConnection, appendConnection, connectFrom, connectFrom, connectFrom, disconnect, disconnect, disconnect, disconnect, enableConnection, get, getConnectedEngine, getConnectedField, getConnectedVRMLInterp, getContainer, getNumConnections, isConnected, isConnectedFromEngine, isConnectedFromField, isConnectedFromVRMLInterp, isConnectionEnabled, isDefault, isIgnored, set, setIgnored, touch
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public SoSFNode()
public SoSFNode(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SoNode defaultValue)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com