55#ifndef _SO_VIEWING_MATRIX_ELEMENT
56#define _SO_VIEWING_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.
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.
Element that stores the current viewing matrix - the non-projection part of the matrix set up by the ...
virtual void init(SoState *state)
Initializes element.
virtual void setElt(const SbMatrix &matrix)
Sets the matrix in an instance.
virtual ~SoViewingMatrixElement()
static const SbMatrix & get(SoState *state)
Returns current matrix from the state.
static void initClass()
Initializes the SoViewingMatrixElement class.
virtual void print(FILE *fp) const
Prints element (for debugging)
static void set(SoState *state, SoNode *node, const SbMatrix &matrix)
Sets the view matrix to the given matrix.