1SoPickedPointList(3IV)() SoPickedPointList(3IV)()
2
3
4
6 SoPickedPointList — maintains a list of pointers to SoPickedPoint
7 instances
8
10 SbPList > SoPickedPointList
11
13 #include <Inventor/SoLists.h>
14
15 Methods from class SoPickedPointList:
16
17 SoPickedPointList()
18 SoPickedPointList(int size)
19 SoPickedPointList(const SoPickedPointList &l)
20 ~SoPickedPointList()
21 void append(SoPickedPoint *ptr)
22 void insert(SoPickedPoint *ptr, int addBefore)
23 void truncate(int start)
24 SoPickedPoint * operator [](int i) const
25 void set(int i, SoPickedPoint *pickedPoint)
26
27 Methods from class SbPList:
28
29 int find(const void *ptr) const
30 void remove(int which)
31 int getLength() const
32 void copy(const SbPList &pl)
33 SbPList & operator =(const SbPList &pl)
34 int operator ==(const SbPList &pl) const
35 int operator !=(const SbPList &pl) const
36
37
39 This subclass of SbPList holds lists of pointers to instances of
40 classes derived from SoPickedPoint. It is used primarily to return
41 information from picking with the SoRayPickAction class.
42
44 SoPickedPointList()
45 Constructor.
46
47 SoPickedPointList(int size)
48 Constructor that pre-allocates storage for size pointers.
49
50 SoPickedPointList(const SoPickedPointList &l)
51 Constructor that copies the contents of another list.
52
53 ~SoPickedPointList()
54 Destructor.
55
56 void append(SoPickedPoint *ptr)
57 Adds a pointer to the end of the list.
58
59 void insert(SoPickedPoint *ptr, int addBefore)
60 Inserts given pointer in list before pointer with given index.
61
62 void truncate(int start)
63 Removes all pointers after one with given index, inclusive, deleting
64 all instances removed from the list.
65
66 SoPickedPoint * operator [](int i) const
67 Accesses an element of a list.
68
69 void set(int i, SoPickedPoint *pickedPoint)
70 Sets an element of a list.
71
72
74 SoPickedPoint, SoRayPickAction
75
76
77
78
79 SoPickedPointList(3IV)()