1SoPickStyle(3IV)()                                          SoPickStyle(3IV)()
2
3
4

NAME

6       SoPickStyle — picking style node
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoNode > SoPickStyle
10

SYNOPSIS

12       #include <Inventor/nodes/SoPickStyle.h>
13
14     enum Style {
15          SoPickStyle::SHAPE         Points  on  the surfaces of shapes may be
16                                          picked
17          SoPickStyle::BOUNDING_BOX  Points on the  surfaces  of  3D  bounding
18                                          boxes of shapes may be picked
19          SoPickStyle::UNPICKABLE    Subsequent  objects  are  transparent  to
20                                          picks
21     }
22
23          Fields from class SoPickStyle:
24
25     SoSFEnum            style
26
27          Methods from class SoPickStyle:
28
29                         SoPickStyle()
30     static SoType       getClassTypeId()
31
32          Methods from class SoNode:
33
34     void                setOverride(SbBool state)
35     SbBool              isOverride() const
36     SoNode *            copy(SbBool copyConnections = FALSE) const
37     virtual SbBool      affectsState() const
38     static SoNode *     getByName(const SbName &name)
39     static int          getByName(const SbName &name, SoNodeList &list)
40
41          Methods from class SoFieldContainer:
42
43     void                setToDefaults()
44     SbBool              hasDefaultValues() const
45     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
46     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
47                              copyConnections = FALSE)
48     SbBool              set(const char *fieldDataString)
49     void                get(SbString &fieldDataString)
50     virtual int         getFields(SoFieldList &resultList) const
51     virtual SoField *   getField(const SbName &fieldName) const
52     SbBool              getFieldName(const SoField *field, SbName &fieldName)
53                              const
54     SbBool              isNotifyEnabled() const
55     SbBool              enableNotify(SbBool flag)
56
57          Methods from class SoBase:
58
59     void                ref()
60     void                unref() const
61     void                unrefNoDelete() const
62     void                touch()
63     virtual SoType      getTypeId() const
64     SbBool              isOfType(SoType type) const
65     virtual void        setName(const SbName &name)
66     virtual SbName      getName() const
67
68

DESCRIPTION

70       This node determines how subsequent geometry nodes in the  scene  graph
71       are to be picked, as indicated by the style field.
72
73       Note  that  this is the only way to change the pick behavior of shapes;
74       drawing style, complexity, and other rendering-related properties  have
75       no effect on picking.
76

FIELDS

78     SoSFEnum            style
79          Picking style.
80
81

METHODS

83                         SoPickStyle()
84          Creates a pick style node with default settings.
85
86     static SoType       getClassTypeId()
87          Returns type identifier for this class.
88
89

ACTION BEHAVIOR

91       SoRayPickAction, SoCallbackAction
92          Sets the current pick style in the state.
93
94

FILE FORMAT/DEFAULTS

96       PickStyle {
97          style  SHAPE
98     }
99

SEE ALSO

101       SoComplexity, SoDrawStyle, SoRayPickAction
102
103
104
105
106                                                            SoPickStyle(3IV)()
Impressum