Debian Codegraph @

doc/man/man3/ivm/general/SoPickedPointList.ivm

raw
1 NAME SoPickedPointList SoPickPtList "" {
2 maintains a list of pointers to \cSoPickedPoint\. instances
3 }
4
5 INCLUDE SoLists.h
6
7 DESC {
8 This subclass of \cSbPList\. holds lists of pointers to
9 instances of classes derived from \cSoPickedPoint\.. It is used primarily
10 to return information from picking with the \cSoRayPickAction\. class.
11 }
12
13 METHOD "" SoPickedPointList() { Constructor. }
14
15 METHOD createSize SoPickedPointList(int size) {
16 Constructor that pre-allocates storage for \asize\. pointers.
17 }
18
19 METHOD " " SoPickedPointList(const SoPickedPointList &l) {
20 Constructor that copies the contents of another list.
21 }
22
23 METHOD "" ~SoPickedPointList() { Destructor. }
24
25 METHOD "" void append(SoPickedPoint *ptr) {
26 Adds a pointer to the end of the list.
27 }
28
29 METHOD "" void insert(SoPickedPoint *ptr, int addBefore) {
30 Inserts given pointer in list before pointer with given index.
31 }
32
33 METHOD "" void truncate(int start) {
34 Removes all pointers after one with given index, inclusive, deleting all
35 instances removed from the list.
36 }
37
38 METHOD "" SoPickedPoint * operator [\|](int i) const {
39 Accesses an element of a list.
40 }
41
42 METHOD "" void set(int i, SoPickedPoint *pickedPoint) {
43 Sets an element of a list.
44 }
45
46 ALSO { SoPickedPoint, SoRayPickAction }