public class SoSFMatrix extends SoSField
SbMatrix
).
SoSFMatrixs are written to file as 16 floating point numbers separated by whitespace. For example, an identity matrix is written as:
1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
See also:
SoField.FieldTypes
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoSFMatrix()
Deprecated.
As of Open Inventor 9.3 Use constructor with SoFieldContainer instead.
|
SoSFMatrix(SoFieldContainer fieldContainer,
java.lang.String fieldName,
SoField.FieldTypes fieldType,
SbMatrix defaultValue)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
SbMatrix |
getValue()
Returns this field's value.
|
long |
getValueSize()
Get size of the value.
|
void |
setValue(float a11,
float a12,
float a13,
float a14,
float a21,
float a22,
float a23,
float a24,
float a31,
float a32,
float a33,
float a34,
float a41,
float a42,
float a43,
float a44)
Sets this field to contain the matrix given by the 16 values.
|
void |
setValue(SbMatrix newValue)
Sets this field to
newValue.
|
void |
setValue(SbMatrixd md)
Convenience method that allows you to specify a field value using a double precision variable.
|
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 SoSFMatrix()
public SoSFMatrix(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SbMatrix defaultValue)
public void setValue(SbMatrix newValue)
public SbMatrix getValue()
public void setValue(float a11, float a12, float a13, float a14, float a21, float a22, float a23, float a24, float a31, float a32, float a33, float a34, float a41, float a42, float a43, float a44)
public void setValue(SbMatrixd md)
public long getValueSize()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com