SoPickStyle(3IV)

SoPickStyle (SoPickStyle) - picking style node

Showing IRIX 6.5.30 (default release). Added in IRIX 6.5.22.

NAME
     SoPickStyle (SoPickStyle) - picking style node

INHERITS FROM
     SoBase > SoFieldContainer > SoNode > SoPickStyle

SYNOPSIS
     #include <Inventor_c/nodes/SoPickStyle.h>

     enum SoPickStyleStyle {
          SO_PICK_STYLE_SHAPE         Points on the surfaces of shapes may be
                                           picked
          SO_PICK_STYLE_BOUNDING_BOX  Points on the surfaces of 3D bounding
                                           boxes of shapes may be picked
          SO_PICK_STYLE_UNPICKABLE    Subsequent objects are transparent to
                                           picks
     }

          Fields from class SoPickStyle:

     SoSFEnum            style

          Functions from class SoPickStyle:

     SoPickStyle *       SoPickStyleCreate()
     SoType              SoPickStyleGetClassTypeId()

          Functions from class SoNode:

     void                SoPickStyleSetOverride(SoPickStyle *this, SbBool
                              state)
     SbBool              SoPickStyleIsOverride(const SoPickStyle *this)
     SoNode *            SoPickStyleCopy(const SoPickStyle *this, SbBool
                              copyConnections = FALSE)
     SbBool              SoPickStyleAffectsState(const SoPickStyle *this)
     SoNode *            SoPickStyleGetByName(const char *name)
     int                 SoPickStyleGetByNameList(const char *name, SoNodeList
                              *list)

          Functions from class SoFieldContainer:

     void                SoPickStyleSetToDflts(SoPickStyle *this)
     SbBool              SoPickStyleHasDfltVals(const SoPickStyle *this)
     SbBool              SoPickStyleFldsAreEq(const SoPickStyle *this, const
                              SoFieldContainer *fc)
     void                SoPickStyleCopyFieldVals(SoPickStyle *this, const
                              SoFieldContainer *fc, SbBool copyConnections =
                              FALSE)
     SbBool              SoPickStyleSet(SoPickStyle *this, const char
                              *fieldDataString)
     void                SoPickStyleGet(SoPickStyle *this, SbString
                              *fieldDataString)
     int                 SoPickStyleGetFields(const SoPickStyle *this,
                              SoFieldList *resultList)
     SoField *           SoPickStyleGetField(const SoPickStyle *this, const
                              char *fieldName)
     SbBool              SoPickStyleGetFieldName(const SoPickStyle *this,
                              const SoField *field, SbName *fieldName)
     SbBool              SoPickStyleIsNotifyEnabled(const SoPickStyle *this)
     SbBool              SoPickStyleEnableNotify(SoPickStyle *this, SbBool
                              flag)

          Functions from class SoBase:

     void                SoPickStyleRef(SoPickStyle *this)
     void                SoPickStyleUnref(const SoPickStyle *this)
     void                SoPickStyleUnrefNoDelete(const SoPickStyle *this)
     void                SoPickStyleTouch(SoPickStyle *this)
     SoType              SoPickStyleGetTypeId(const SoPickStyle *this)
     SbBool              SoPickStyleIsOfType(const SoPickStyle *this, SoType
                              type)
     void                SoPickStyleSetName(SoPickStyle *this, const char
                              *name)
     SbName              SoPickStyleGetName(const SoPickStyle *this)


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
     SoSFEnum            style
          Picking style.


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

     SoType              SoPickStyleGetClassTypeId()
          Returns type identifier for this class.


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

FILE FORMAT/DEFAULTS
     PickStyle {
          style  SHAPE
     }

SEE ALSO
     SoComplexity, SoDrawStyle, SoRayPickAction