1SoPickAction(3IV)() SoPickAction(3IV)()
2
3
4
6 SoPickAction — abstract base class for picking objects in a scene
7
9 SoAction > SoPickAction
10
12 #include <Inventor/actions/SoPickAction.h>
13
14 Methods from class SoPickAction:
15
16 void setViewportRegion(const SbViewportRegion
17 &newRegion)
18 const SbViewportRegion & getViewportRegion() const
19
20 Methods from class SoAction:
21
22 virtual void apply(SoNode *node)
23 virtual void apply(SoPath *path)
24 virtual void apply(const SoPathList &pathList, SbBool obeysRules =
25 FALSE)
26 static SoType getClassTypeId()
27 virtual SoType getTypeId()
28 virtual SbBool isOfType(SoType type)
29 virtual void invalidateState()
30
31
33 This is an abstract base class for all picking actions. Currently, the
34 only supported subclass is the SoRayPickAction.
35
37 void setViewportRegion(const SbViewportRegion
38 &newRegion)
39 const SbViewportRegion & getViewportRegion() const
40 Sets/returns current viewport region to use for action. Even though
41 the picking operation may not involve a window per se, some nodes
42 need this information to determine their size and placement.
43
44
46 SoRayPickAction
47
48
49
50
51 SoPickAction(3IV)()