logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SoClipPlane — clipping plane node

Action Behavior

SoGLRenderAction,SoCallbackAction,SoRayPickAction
          Adds the plane to the current list of clipping planes in the state.

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

SoSFPlaneplane
          Plane defining half-space.

     SoSFBoolon
          Whether clipping plane is active.

File Format/Defaults

ClipPlane{plane1000onTRUE}

Inherits From

       SoBase > SoFieldContainer > SoNode > SoClipPlane

Methods

SoClipPlane()
          Creates a clip plane node with default settings.

     staticSoTypegetClassTypeId()
          Returns type identifier for this class.

Name

       SoClipPlane — clipping plane node

See Also

SoCamera,SoShapeHintsSoClipPlane(3IV)()

Synopsis

#include<Inventor/nodes/SoClipPlane.h>

          Fields from class SoClipPlane:

     SoSFPlaneplaneSoSFBoolon

          Methods from class SoClipPlane:

                         SoClipPlane()staticSoTypegetClassTypeId()

          Methods from class SoNode:

     voidsetOverride(SbBoolstate)SbBoolisOverride()constSoNode*copy(SbBoolcopyConnections=FALSE)constvirtualSbBoolaffectsState()conststaticSoNode*getByName(constSbName&name)staticintgetByName(constSbName&name,SoNodeList&list)

          Methods from class SoFieldContainer:

     voidsetToDefaults()SbBoolhasDefaultValues()constSbBoolfieldsAreEqual(constSoFieldContainer*fc)constvoidcopyFieldValues(constSoFieldContainer*fc,SbBoolcopyConnections=FALSE)SbBoolset(constchar*fieldDataString)voidget(SbString&fieldDataString)virtualintgetFields(SoFieldList&resultList)constvirtualSoField*getField(constSbName&fieldName)constSbBoolgetFieldName(constSoField*field,SbName&fieldName)constSbBoolisNotifyEnabled()constSbBoolenableNotify(SbBoolflag)

          Methods from class SoBase:

     voidref()voidunref()constvoidunrefNoDelete()constvoidtouch()virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvirtualvoidsetName(constSbName&name)virtualSbNamegetName()const

See Also