Stores the current projection matrix. More...
#include <Inventor/elements/SoProjectionMatrixElement.h>
Public Member Functions | |
virtual void | print (FILE *fp) const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, SoNode *node, const SbMatrix &matrix) |
static const SbMatrix & | get (SoState *state) |
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.
SoCamera, SoOrthographicCamera, SoPerspectiveCamera, SoDepthOffset
Returns current matrix from the state.
static int SoProjectionMatrixElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedElement.
static SoType SoProjectionMatrixElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
virtual void SoProjectionMatrixElement::print | ( | FILE * | fp | ) | const [virtual] |
Prints element (for debugging).
Reimplemented from SoReplacedElement.
static void SoProjectionMatrixElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
const SbMatrix & | matrix | |||
) | [static] |
Sets the projection matrix to the given matrix.