Open Inventor Reference
SoProjectionMatrixElement Class Reference

Element that stores the current projection matrix - the projective part of the matrix set up by the camera. More...

#include <Inventor/elements/SoProjectionMatrixElement.h>

Inheritance diagram for SoProjectionMatrixElement:
SoReplacedElement SoElement SoGLProjectionMatrixElement

List of all members.

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 projection matrix to the given matrix.
static const SbMatrixget (SoState *state)
 Returns current matrix from the state.
static void initClass ()
 Initializes the SoProjectionMatrixElement class.

Protected Member Functions

virtual void setElt (const SbMatrix &matrix)
 Sets the matrix in an instance.
virtual ~SoProjectionMatrixElement ()

Protected Attributes

SbMatrix projectionMatrix

Detailed Description

Because most operations on this matrix are atomic, it is considered a non-accumulating element.

Definition at line 73 of file SoProjectionMatrixElement.h.


Constructor & Destructor Documentation

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

Member Function Documentation

static const SbMatrix& SoProjectionMatrixElement::get ( SoState state) [static]
virtual void SoProjectionMatrixElement::init ( SoState state) [virtual]

Reimplemented from SoReplacedElement.

static void SoProjectionMatrixElement::initClass ( ) [static]

Reimplemented from SoReplacedElement.

Reimplemented in SoGLProjectionMatrixElement.

virtual void SoProjectionMatrixElement::print ( FILE *  fp) const [virtual]

Reimplemented from SoReplacedElement.

static void SoProjectionMatrixElement::set ( SoState state,
SoNode node,
const SbMatrix matrix 
) [static]
virtual void SoProjectionMatrixElement::setElt ( const SbMatrix matrix) [protected, virtual]

Reimplemented in SoGLProjectionMatrixElement.


Member Data Documentation


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