55#ifndef _SO_GL_CLIP_PLANE_ELEMENT
56#define _SO_GL_CLIP_PLANE_ELEMENT
98 static int maxGLPlanes;
#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.
Element that stores the current set of clipping planes, specified as SbPlanes.
This is the abstract base class for all state elements.
Element that adds a clipping plane to the set currently in GL.
virtual void pop(SoState *state, const SoElement *prevTopElement)
Override pop() method so side effects can occur in GL.
virtual void addToElt(const SbPlane &plane, const SbMatrix &modelMatrix)
Adds the clipping plane to an instance. Has GL side effects.
static void initClass()
Initializes the SoGLClipPlaneElement class.
static int getMaxGLPlanes()
Returns the maximum number of concurrent clipping planes supported by GL implementation.
virtual ~SoGLClipPlaneElement()
An SoState collects and holds state while traversing a scene graph.