50#ifndef _SO_PROJECTION_MATRIX_ELEMENT
51#define _SO_PROJECTION_MATRIX_ELEMENT
53#include <Inventor/SbLinear.h>
54#include <Inventor/elements/SoReplacedElement.h>
90 virtual void print(FILE *fp)
const;
95 virtual void init(
SoState *state);
103 virtual SoElement* copyMatchInfo()
const;
107 static void initClass();
108 static void exitClass();
118 virtual void setElt(
const SbMatrix &matrix);
Abstract base class for all state elements.
Abstract base class for all database nodes.
Stores the current projection matrix.
static void set(SoState *state, SoNode *node, const SbMatrix &matrix)
Sets the projection matrix to the given matrix.
virtual void print(FILE *fp) const
Prints element (for debugging).
static const SbMatrix & get(SoState *state)
Returns current matrix from the state.
Abstract base class for each state element whose value is replaced whenever it is set.