Open Inventor Reference
|
Element that stores the current viewing matrix in GL. More...
#include <Inventor/elements/SoGLViewingMatrixElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Override init() and push() to copy state pointer. | |
virtual void | push (SoState *state) |
Pushes/pops element. | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Override pop() method so side effects can occur in GL. | |
Static Public Member Functions | |
static void | initClass () |
Initializes the SoGLViewingMatrixElement class. | |
static uint32_t | getNodeId (SoState *state) |
Used by SoGLModelMatrixElement when it need to figure out if this element has changed between a glPushMatrix() and a glPopMatrix(): | |
Protected Member Functions | |
virtual void | setElt (const SbMatrix &matrix) |
Sets the matrix in an instance. Has GL side effects. | |
virtual | ~SoGLViewingMatrixElement () |
Overrides the virtual methods on SoViewingMatrixElement to send the matrix to GL when necessary.
Note that this class relies on SoViewingMatrixElement to store the matrix in the instance.
Definition at line 74 of file SoGLViewingMatrixElement.h.
virtual SoGLViewingMatrixElement::~SoGLViewingMatrixElement | ( | ) | [protected, virtual] |
virtual void SoGLViewingMatrixElement::init | ( | SoState * | state | ) | [virtual] |
Reimplemented from SoViewingMatrixElement.
static void SoGLViewingMatrixElement::initClass | ( | ) | [static] |
Reimplemented from SoViewingMatrixElement.
virtual void SoGLViewingMatrixElement::pop | ( | SoState * | state, |
const SoElement * | prevTopElement | ||
) | [virtual] |
Reimplemented from SoElement.
virtual void SoGLViewingMatrixElement::push | ( | SoState * | state | ) | [virtual] |
Allows for side effects to occur. Default methods do nothing.
Reimplemented from SoElement.
virtual void SoGLViewingMatrixElement::setElt | ( | const SbMatrix & | matrix | ) | [protected, virtual] |
Reimplemented from SoViewingMatrixElement.