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

SoPickStyle — picking style node

Action Behavior

SoRayPickAction,SoCallbackAction
          Sets the current pick style in the state.

Description

       This  node  determines how subsequent geometry nodes in the scene graph are to be picked, as indicated by
       the style field.

       Note that this is the only way to change the pick behavior of  shapes;  drawing  style,  complexity,  and
       other rendering-related properties have no effect on picking.

Fields

SoSFEnumstyle
          Picking style.

File Format/Defaults

PickStyle{styleSHAPE}

Inherits From

       SoBase > SoFieldContainer > SoNode > SoPickStyle

Methods

SoPickStyle()
          Creates a pick style node with default settings.

     staticSoTypegetClassTypeId()
          Returns type identifier for this class.

Name

       SoPickStyle — picking style node

See Also

SoComplexity,SoDrawStyle,SoRayPickActionSoPickStyle(3IV)()

Synopsis

#include<Inventor/nodes/SoPickStyle.h>enumStyle{SoPickStyle::SHAPE         Points on the surfaces of shapes may be picked
          SoPickStyle::BOUNDING_BOX  Points on the surfaces of 3D bounding boxes of shapes may be picked
          SoPickStyle::UNPICKABLE    Subsequent objects are transparent to picks
     }

          Fields from class SoPickStyle:

     SoSFEnumstyle

          Methods from class SoPickStyle:

                         SoPickStyle()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