Package com.openinventor.inventor.nodes
Class SoClipPlane
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.nodes.SoNode
-
- com.openinventor.inventor.nodes.SoClipPlane
-
- All Implemented Interfaces:
SafeDisposable
- Direct Known Subclasses:
SoClipPlaneManip
public class SoClipPlane extends SoNode
Clipping plane node. This node clips all subsequent shapes in the scene graph to the half-space defined by theplane
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://forum.openinventor.com/showthread.php?t=733 (registration is required to view this section of the forum).File format/default:
ClipPlane {
plane 1 0 0 0 on true Action behavior:
SoGLRenderAction
,SoCallbackAction
,SoRayPickAction
Adds the plane to the current list of clipping planes in the state. Sets:SoClipPlaneElement
- See Also:
SoCamera
,SoShapeHints
,SoClipPlaneManip
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFBool
on
Whether clipping plane is active.SoSFPlane
plane
Plane defining half-space.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoClipPlane()
Creates a clip plane node with default settings.
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-