55#ifndef _SO_PROJECTION_MATRIX_ELEMENT
56#define _SO_PROJECTION_MATRIX_ELEMENT
89 virtual void print(FILE *fp)
const;
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_ELEMENT_HEADER(className)
This one is for non-abstract element classes.
Abstract base class for all database nodes.
Element that stores the current projection matrix - the projective part of the matrix set up by the c...
virtual void setElt(const SbMatrix &matrix)
Sets the matrix in an instance.
static void set(SoState *state, SoNode *node, const SbMatrix &matrix)
Sets the projection matrix to the given matrix.
static void initClass()
Initializes the SoProjectionMatrixElement class.
SbMatrix projectionMatrix
virtual void print(FILE *fp) const
Prints element (for debugging)
virtual void init(SoState *state)
Initializes element.
static const SbMatrix & get(SoState *state)
Returns current matrix from the state.
virtual ~SoProjectionMatrixElement()
This is the abstract base class for each state element whose value is replaced whenever it is set.
An SoState collects and holds state while traversing a scene graph.