50#ifndef _SO_VIEWING_MATRIX_ELEMENT
51#define _SO_VIEWING_MATRIX_ELEMENT
53#include <Inventor/SbLinear.h>
54#include <Inventor/elements/SoReplacedElement.h>
92 virtual void print(FILE *fp)
const;
97 virtual void init(
SoState *state);
101 static void initClass();
102 static void exitClass();
108 virtual void setElt(
const SbMatrix &matrix,
SbBool sendToGL = TRUE);
Abstract base class for all database nodes.
Abstract base class for each state element whose value is replaced whenever it is set.
Stores the current viewing matrix.
static void set(SoState *state, SoNode *node, const SbMatrix &matrix, SbBool sendToGL=TRUE)
Sets the view matrix to the given matrix.
static const SbMatrix & get(SoState *state)
Returns current matrix from the state.
virtual void print(FILE *fp) const
Prints element (for debugging).