Class SoViewingMatrixElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedElement
-
- com.openinventor.inventor.elements.SoViewingMatrixElement
-
public class SoViewingMatrixElement extends SoReplacedElement
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:
SoCamera
,SoOrthographicCamera
,SoPerspectiveCamera
-
-
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
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SbMatrix
get(SoState state)
Returns current matrix from the state.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0.static void
set(SoState state, SoNode node, SbMatrix matrix)
Calls set(state, node, matrix, true).static void
set(SoState state, SoNode node, SbMatrix matrix, boolean sendToGL)
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 Detail
-
set
public static void set(SoState state, SoNode node, SbMatrix matrix)
Calls set(state, node, matrix, true).
-
set
public static void set(SoState state, SoNode node, SbMatrix matrix, boolean sendToGL)
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(since="9.3.0.0") public static int getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
-