SoClipPlane Class Reference

Clipping plane node. More...

#include <Inventor/nodes/SoClipPlane.h>

Inheritance diagram for SoClipPlane:
SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject SoClipPlaneManip

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoClipPlane ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFPlane plane
SoSFBool on

Detailed Description

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: (registration is required to view this section of the forum).




SoCamera, SoShapeHints, SoClipPlaneManip

See related examples:


Constructor & Destructor Documentation

SoClipPlane::SoClipPlane (  ) 

Creates a clip plane node with default settings.

Member Function Documentation

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.

Member Data Documentation

Whether clipping plane is active.

Plane defining half-space.

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

Open Inventor Toolkit reference manual, generated on 12 Sep 2022
Copyright © Thermo Fisher Scientific All rights reserved.