Package com.openinventor.inventor.fields
Class SoSField
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.fields.SoField
-
- com.openinventor.inventor.fields.SoSField
-
- Direct Known Subclasses:
PoSFMesh
,SoSFArray
,SoSFBool
,SoSFBox2f
,SoSFBox3f
,SoSFBox3i32
,SoSFBox3s
,SoSFBox4i32
,SoSFBufferObject
,SoSFColor
,SoSFColorRGBA
,SoSFDouble
,SoSFEngine
,SoSFEnum
,SoSFFieldContainer
,SoSFFloat
,SoSFImage
,SoSFImage3
,SoSFInt32
,SoSFInt64
,SoSFMatrix
,SoSFMatrix3
,SoSFMemObj
,SoSFName
,SoSFNode
,SoSFPath
,SoSFPlane
,SoSFRotation
,SoSFShort
,SoSFString
,SoSFTime
,SoSFTrigger
,SoSFUByte
,SoSFUInt32
,SoSFUShort
,SoSFVec2d
,SoSFVec2f
,SoSFVec2i32
,SoSFVec2s
,SoSFVec3d
,SoSFVec3f
,SoSFVec3i32
,SoSFVec4f
,SoSFVec4i32
public abstract class SoSField extends SoField
Abstract base class for all single-value fields. Each class derived fromSoSField
begins with an SoSF prefix and contains one value of a particular type. Each has setValue() and getValue() methods that are used to change or access this value. In addition, some field classes have extra convenience routines that allow values to be set or retrieved in other related formats (see below).In addition to setValue(), all single-value fields overload the "=" assignment operator to set the field value from the correct datatype or from another field instance of the same type.
The value of a single-value field is written to file in a format dependent on the field type; see the subclass reference pages for details.
A field that is ignored has a tilde (~) either in place of the value (if the actual value is the default) or after it (otherwise).
-
-
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
-
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.fields.SoField
appendConnection, appendConnection, connectFrom, connectFrom, disconnect, disconnect, disconnect, enableConnection, equals, 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
-
-