Class SoViewingMatrixElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoReplacedElement
com.openinventor.inventor.elements.SoViewingMatrixElement
Stores the current viewing matrix.
This element stores the current viewing matrix - the non-projection part of the matrix set up by the camera. Because most operations on this matrix are atomic, it is considered a non-accumulating element.
- See Also:
-
Nested Class Summary
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
Modifier and TypeMethodDescriptionstatic SbMatrix
Returns current matrix from the state.static int
Deprecated.As of Open Inventor 9.3.0.0.static void
Calls set(state, node, matrix, true).static void
Sets the view matrix to the given matrix.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
set
Calls set(state, node, matrix, true). -
set
Sets the view matrix to the given matrix. This method will (indirectly) call glLoadMatrix with the new matrix unless the 'sendToGL' parameter is explicitly false. -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
get
Returns current matrix from the state.
-