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
Field containing a 3x3 matrix.
A field containing a 3x3 transformation matrix (an
SbMatrix3
).
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:
-
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
ConstructorsConstructorDescriptionSoSFMatrix3
(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, SbMatrix3 defaultValue) Default constructor. -
Method Summary
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 Details
-
SoSFMatrix3
public SoSFMatrix3(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, SbMatrix3 defaultValue) Default constructor.
-
-
Method Details
-
setValue
Sets this field to newValue. -
equals
-
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
Returns this field's value.
-