55#ifndef _SO_GL_VIEWING_MATRIX_ELEMENT
56#define _SO_GL_VIEWING_MATRIX_ELEMENT
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
size_t SbNodeIdType
Type of unique ids of SoNode, used in the notification/change detection handling.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_ELEMENT_HEADER(className)
This one is for non-abstract element classes.
This is the abstract base class for all state elements.
Element that stores the current viewing matrix in GL.
virtual void pop(SoState *state, const SoElement *prevTopElement)
Override pop() method so side effects can occur in GL.
virtual void init(SoState *state)
Override init() and push() to copy state pointer.
static void initClass()
Initializes the SoGLViewingMatrixElement class.
virtual ~SoGLViewingMatrixElement()
virtual void push(SoState *state)
Pushes/pops element.
static SbNodeIdType getNodeId(SoState *state)
Used by SoGLModelMatrixElement when it need to figure out if this element has changed between a glPus...
virtual void setElt(const SbMatrix &matrix)
Sets the matrix in an instance. Has GL side effects.
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 ...