Open Inventor Reference
SoGLClipPlaneElement Class Reference

Element that adds a clipping plane to the set currently in GL. More...

#include <Inventor/elements/SoGLClipPlaneElement.h>

Inheritance diagram for SoGLClipPlaneElement:
SoClipPlaneElement SoAccumulatedElement SoElement

List of all members.

Public Member Functions

virtual void pop (SoState *state, const SoElement *prevTopElement)
 Override pop() method so side effects can occur in GL.

Static Public Member Functions

static int getMaxGLPlanes ()
 Returns the maximum number of concurrent clipping planes supported by GL implementation.
static void initClass ()
 Initializes the SoGLClipPlaneElement class.

Protected Member Functions

virtual void addToElt (const SbPlane &plane, const SbMatrix &modelMatrix)
 Adds the clipping plane to an instance. Has GL side effects.
virtual ~SoGLClipPlaneElement ()

Detailed Description

Overrides the virtual methods on SoClipPlaneElement to send the clipping plane to GL.

Note that this class relies on SoClipPlaneElement to store the plane in the instance.

Definition at line 74 of file SoGLClipPlaneElement.h.


Constructor & Destructor Documentation

virtual SoGLClipPlaneElement::~SoGLClipPlaneElement ( ) [protected, virtual]

Member Function Documentation

virtual void SoGLClipPlaneElement::addToElt ( const SbPlane plane,
const SbMatrix modelMatrix 
) [protected, virtual]

Reimplemented from SoClipPlaneElement.

static int SoGLClipPlaneElement::getMaxGLPlanes ( ) [static]
static void SoGLClipPlaneElement::initClass ( ) [static]

Reimplemented from SoClipPlaneElement.

virtual void SoGLClipPlaneElement::pop ( SoState state,
const SoElement prevTopElement 
) [virtual]

Reimplemented from SoClipPlaneElement.


The documentation for this class was generated from the following file: