Clipping plane node. More...
#include <Inventor/nodes/SoClipPlane.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoClipPlane () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFPlane | plane |
SoSFBool | on |
Clipping plane node.
This node clips all subsequent shapes in the scene graph to the half-space defined by the plane field. The half-space is the side of the plane in the direction of the plane normal. For example, if the plane is positioned at the origin and the normal is pointing down the positive X axis, everything in the negative X space will be clipped away.
Any number of clipping planes may be active simultaneously, although the graphics library may place a limit on this number during rendering.
For an interactive version of this node, see class SoClipPlaneManip. Also see the clip plane dragger example in the Resources section of the Open Inventor Forum: http://www.openinventor.net/showthread.php?t=733 (registration is required to view this section of the forum).
plane | 1 0 0 0 |
on | TRUE |
SoCamera, SoShapeHints, SoClipPlaneManip
SoClipPlane::SoClipPlane | ( | ) |
Creates a clip plane node with default settings.
static SoType SoClipPlane::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoNode.
Reimplemented in SoClipPlaneManip.
virtual SoType SoClipPlane::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoNode.
Reimplemented in SoClipPlaneManip.
Whether clipping plane is active.
Plane defining half-space.