Class SoProjectionMatrixElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedElement
-
- com.openinventor.inventor.elements.SoProjectionMatrixElement
-
public class SoProjectionMatrixElement extends SoReplacedElement
Stores the current projection matrix. This element stores the current projection matrix - the projective 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
,SoDepthOffset
-
-
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 9300.static void
set(SoState state, SoNode node, SbMatrix matrix)
Sets the projection 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)
Sets the projection matrix to the given matrix.
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
-