Open Inventor Reference
|
Element that stores the current viewing matrix - the non-projection part of the matrix set up by the camera. More...
#include <Inventor/elements/SoViewingMatrixElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
virtual void | print (FILE *fp) const |
Prints element (for debugging) | |
Static Public Member Functions | |
static void | set (SoState *state, SoNode *node, const SbMatrix &matrix) |
Sets the view matrix to the given matrix. | |
static const SbMatrix & | get (SoState *state) |
Returns current matrix from the state. | |
static void | initClass () |
Initializes the SoViewingMatrixElement class. | |
Protected Member Functions | |
virtual void | setElt (const SbMatrix &matrix) |
Sets the matrix in an instance. | |
virtual | ~SoViewingMatrixElement () |
Protected Attributes | |
SbMatrix | viewingMatrix |
Because most operations on this matrix are atomic, it is considered a non-accumulating element.
Definition at line 73 of file SoViewingMatrixElement.h.
virtual SoViewingMatrixElement::~SoViewingMatrixElement | ( | ) | [protected, virtual] |
virtual void SoViewingMatrixElement::init | ( | SoState * | state | ) | [virtual] |
Reimplemented from SoReplacedElement.
Reimplemented in SoGLViewingMatrixElement.
static void SoViewingMatrixElement::initClass | ( | ) | [static] |
Reimplemented from SoReplacedElement.
Reimplemented in SoGLViewingMatrixElement.
virtual void SoViewingMatrixElement::print | ( | FILE * | fp | ) | const [virtual] |
Reimplemented from SoReplacedElement.
static void SoViewingMatrixElement::set | ( | SoState * | state, |
SoNode * | node, | ||
const SbMatrix & | matrix | ||
) | [static] |
virtual void SoViewingMatrixElement::setElt | ( | const SbMatrix & | matrix | ) | [protected, virtual] |
Reimplemented in SoGLViewingMatrixElement.
SbMatrix SoViewingMatrixElement::viewingMatrix [protected] |
Definition at line 96 of file SoViewingMatrixElement.h.