#include <Inventor/nodes/SoClipPlane.h>
Inheritance diagram for SoClipPlane::
Public Methods | |
SoClipPlane (void) | |
virtual void | doAction (SoAction *action) |
virtual void | GLRender (SoGLRenderAction *action) |
virtual void | callback (SoCallbackAction *action) |
virtual void | pick (SoPickAction *action) |
Static Public Methods | |
void | initClass (void) |
Public Attributes | |
SoSFPlane | plane |
SoSFBool | on |
Protected Methods | |
virtual | ~SoClipPlane () |
A scene graph without any SoClipPlane nodes uses six clipping planes to define the viewing frustum: top, bottom, left, right, near and far. If you want extra clipping planes for "slicing" the visible geometry, you can do that by using nodes of this type. Geometry on the back side of the clipping plane is clipped away.
Note that OpenGL implementations have a fixed maximum number of clipping planes available. To find out what this number is, you can use the following code:
#include <Inventor/elements/SoGLClipPlaneElement.h> // ...[snip]... int maxplanes = SoGLClipPlaneElement::getMaxGLPlanes();
|
Constructor. |
|
Destructor. |
|
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. Reimplemented from SoNode. Reimplemented in SoClipPlaneManip. |
|
This function performs the typical operation of a node for any action. Reimplemented from SoNode. Reimplemented in SoClipPlaneManip. |
|
Action method for the SoGLRenderAction. This is called during rendering traversals. Nodes influencing the rendering state in any way or who wants to throw geometry primitives at OpenGL overrides this method. Reimplemented from SoNode. Reimplemented in SoClipPlaneManip. |
|
Action method for SoCallbackAction. Simply updates the state according to how the node behaves for the render action, so the application programmer can use the SoCallbackAction for extracting information about the scene graph. Reimplemented from SoNode. Reimplemented in SoClipPlaneManip. |
|
Action method for SoPickAction. Does common processing for SoPickAction action instances. Reimplemented from SoNode. Reimplemented in SoClipPlaneManip. |
|
Definition of clipping plane. Geometry on the back side of the clipping plane is clipped away. |
|
Whether clipping plane should be on or off. Defaults to |