Stores the current viewing matrix. More...
#include <Inventor/elements/SoViewingMatrixElement.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, SbBool sendToGL=TRUE) | 
| static const SbMatrix & | get (SoState *state) | 
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.
SoCamera, SoOrthographicCamera, SoPerspectiveCamera
Returns current matrix from the state.
| static int SoViewingMatrixElement::getClassStackIndex | ( | ) |  [static] | 
Returns the stack id for this element.
Reimplemented from SoReplacedElement.
| static SoType SoViewingMatrixElement::getClassTypeId | ( | ) |  [static] | 
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
| virtual void SoViewingMatrixElement::print | ( | FILE * | fp | ) | const  [virtual] | 
Prints element (for debugging).
Reimplemented from SoReplacedElement.
| static void SoViewingMatrixElement::set | ( | SoState * | state, | |
| SoNode * | node, | |||
| const SbMatrix & | matrix, | |||
| SbBool | sendToGL = TRUE | |||
| ) |  [static] | 
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.