Package com.openinventor.inventor.nodes
Class SoMatrixTransform
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.nodes.SoNode
-
- com.openinventor.inventor.nodes.SoTransformation
-
- com.openinventor.inventor.nodes.SoMatrixTransform
-
- All Implemented Interfaces:
SafeDisposable
public class SoMatrixTransform extends SoTransformation
Node that specifies a 3D geometric transformation as a matrix. This node defines a geometric 3D transformation with a singleSbMatrix
. Note that some matrices (such as singular ones) may result in errors in bounding boxes, picking, and lighting.File format/default:
MatrixTransform {
matrix 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 Action behavior:
SoGLRenderAction
,SoCallbackAction
,SoGetBoundingBoxAction
,SoRayPickAction
Concatenates matrix given in thematrix
field with the current transformation matrix. Sets:SoModelMatrixElement
SoGetMatrixAction
Returns transformation matrix specified in thematrix
field.- See Also:
SoTransform
,SoMultipleCopy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFMatrix
matrix
Transformation matrix.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoMatrixTransform()
Creates a matrix transformation node with default settings.
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
matrix
public final SoSFMatrix matrix
Transformation matrix.
-
-