Package com.openinventor.inventor.fields
Class SoSFMatrix3
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.fields.SoField
-
- com.openinventor.inventor.fields.SoSField
-
- com.openinventor.inventor.fields.SoSFMatrix3
-
public class SoSFMatrix3 extends SoSField
Field containing a 3x3 matrix. A field containing a 3x3 transformation matrix (anSbMatrix3
).SoSFMatrix3
is written to a file as 9 floating point numbers separated by whitespace. For example, an identity matrix is written as:1 0 0 0 1 0 0 0 1 - See Also:
SoField
,SoSField
,SoSFMatrix
,SoMFMatrix
,SbMatrix
,SbMatrix3
-
-
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 SoSFMatrix3(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SbMatrix3 defaultValue)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
SbMatrix3
getValue()
Returns this field's value.void
setValue(float a11, float a12, float a13, float a21, float a22, float a23, float a31, float a32, float a33)
Sets this field to contain the matrix given by the 9 values.void
setValue(SbMatrix3 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
-
SoSFMatrix3
public SoSFMatrix3(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SbMatrix3 defaultValue)
Default constructor.
-
-
Method Detail
-
setValue
public void setValue(SbMatrix3 newValue)
Sets this field to newValue.
-
setValue
public void setValue(float a11, float a12, float a13, float a21, float a22, float a23, float a31, float a32, float a33)
Sets this field to contain the matrix given by the 9 values.
-
getValue
public SbMatrix3 getValue()
Returns this field's value.
-
-