Open Inventor Reference
SoGLProjectionMatrixElement Class Reference

Element that stores the current projection matrix in GL. More...

#include <Inventor/elements/SoGLProjectionMatrixElement.h>

Inheritance diagram for SoGLProjectionMatrixElement:
SoProjectionMatrixElement SoReplacedElement SoElement

List of all members.

Public Member Functions

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 SoGLProjectionMatrixElement class.

Protected Member Functions

virtual void setElt (const SbMatrix &matrix)
 Sets the matrix in an instance. Has GL side effects.
virtual ~SoGLProjectionMatrixElement ()

Detailed Description

Overrides the virtual methods on SoProjectionMatrixElement to send the matrix to GL when necessary.

Note that this class relies on SoProjectionMatrixElement to store the matrix in the instance.

Definition at line 74 of file SoGLProjectionMatrixElement.h.


Constructor & Destructor Documentation

virtual SoGLProjectionMatrixElement::~SoGLProjectionMatrixElement ( ) [protected, virtual]

Member Function Documentation

static void SoGLProjectionMatrixElement::initClass ( ) [static]

Reimplemented from SoProjectionMatrixElement.

virtual void SoGLProjectionMatrixElement::pop ( SoState state,
const SoElement prevTopElement 
) [virtual]

Reimplemented from SoElement.

virtual void SoGLProjectionMatrixElement::setElt ( const SbMatrix matrix) [protected, virtual]

Reimplemented from SoProjectionMatrixElement.


The documentation for this class was generated from the following file: