man SoClipPlane () - clipping plane node

NAME

SoClipPlane - clipping plane node

INHERITS FROM

SoBase > SoFieldContainer > SoNode > SoClipPlane

SYNOPSIS

#include <Inventor/nodes/SoClipPlane.h> Fields from class SoClipPlane: c } c } plane

c } c } on Methods from class SoClipPlane: c } c } SoClipPlane()

c } c } getClassTypeId() Methods from class SoNode: c } c } setOverride(SbBool state)

c } c } isOverride() const

c } c } copy(SbBool copyConnections = FALSE) const

c } c } affectsState() const

c } c } getByName(const SbName &name)

c } c } getByName(const SbName &name, SoNodeList &list) Methods from class SoFieldContainer: c } c } setToDefaults()

c } c } hasDefaultValues() const

c } c } fieldsAreEqual(const SoFieldContainer *fc) const

c } c } copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

c } c } set(const char *fieldDataString)

c } c } get(SbString &fieldDataString)

c } c } getFields(SoFieldList &resultList) const

c } c } getField(const SbName &fieldName) const

c } c } getFieldName(const SoField *field, SbName &fieldName) const

c } c } isNotifyEnabled() const

c } c } enableNotify(SbBool flag) Methods from class SoBase: c } c } ref()

c } c } unref() const

c } c } unrefNoDelete() const

c } c } touch()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } setName(const SbName &name)

c } c } getName() const

DESCRIPTION

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.

FIELDS

c } c } plane

Plane defining half-space. c } c } on

Whether clipping plane is active.

METHODS

c } c } SoClipPlane()

Creates a clip plane node with default settings. c } c } getClassTypeId()

Returns type identifier for this class.

ACTION BEHAVIOR

SoGLRenderAction, SoCallbackAction, SoRayPickAction

Adds the plane to the current list of clipping planes in the state.

FILE FORMAT/DEFAULTS

ClipPlane {
plane	1 0 0  0
on	TRUE
}

SEE ALSO

SoCamera, SoShapeHints