Maintains a list of pointers to SoPickedPoint instances.
More...
#include <Inventor/SoLists.h>
|
| | SoPickedPointList () |
| |
| | SoPickedPointList (int size) |
| |
| | SoPickedPointList (const SoPickedPointList &l) |
| | Constructor that copies the contents of another list.
|
| |
| | ~SoPickedPointList () |
| | Destructor.
|
| |
| void | append (SoPickedPoint *pickedPoint) |
| | Adds a pointer to the end of the list.
|
| |
| void | insert (SoPickedPoint *pickedPoint, int addBefore) |
| | Inserts given pointer in list before pointer with given index.
|
| |
| void | truncate (int start) |
| | Removes all pointers after one with given index, inclusive, deleting all instances removed from the list.
|
| |
| SoPickedPoint * | operator[] (int i) const |
| | Access an element of a list.
|
| |
| void | set (int i, SoPickedPoint *pickedPoint) |
| | Sets an element of a list.
|
| |
| | SbPList () |
| | Constructor.
|
| |
| | SbPList (int initSize) |
| | initSize specifies an initial size for the list, which is useful as an optimization if you can estimate the length of the list before you construct it.
|
| |
| | SbPList (const SbPList &pl) |
| | Copy constructor.
|
| |
| | ~SbPList () |
| | Destructor.
|
| |
| void | append (void *ptr) |
| | Adds given pointer to end of list.
|
| |
| int | find (const void *ptr) const |
| | Returns index of given pointer in list, or -1 if not found.
|
| |
| void | insert (void *ptr, int addBefore) |
| | Inserts given pointer in list before pointer with given index.
|
| |
| void | remove (int which) |
| | Removes pointer with given index.
|
| |
| int | getLength () const |
| | Returns number of pointers in list.
|
| |
| void | truncate (int start) |
| | Removes all pointers after one with given index, inclusive.
|
| |
| void | copy (const SbPList &pl) |
| | Copy a list.
|
| |
| SbPList & | operator= (const SbPList &pl) |
| | Assignment operator; copies list into this list.
|
| |
| void *& | operator[] (int i) const |
| | Returns pointer with given index.
|
| |
| bool | operator== (const SbPList &pl) const |
| | Equality and inequality operators.
|
| |
| bool | operator!= (const SbPList &pl) const |
| | Equality and inequality operators.
|
| |
| void * | get (int i) const |
| | Internal versions of [] that do not check for bounds:
|
| |
| void | set (int i, void *j) |
| |
This subclass of SbPList holds lists of pointers to instances of classes derived from SoPickedPoint. It is used primarily to return information from picking with the SoRayPickAction class.
- See Also
- SoPickedPoint, SoRayPickAction
Definition at line 383 of file SoLists.h.
◆ SoPickedPointList() [1/3]
| SoPickedPointList::SoPickedPointList |
( |
| ) |
|
|
inline |
◆ SoPickedPointList() [2/3]
| SoPickedPointList::SoPickedPointList |
( |
int |
size | ) |
|
|
inline |
◆ SoPickedPointList() [3/3]
◆ ~SoPickedPointList()
| SoPickedPointList::~SoPickedPointList |
( |
| ) |
|
|
inline |
◆ append()
◆ insert()
| void SoPickedPointList::insert |
( |
SoPickedPoint * |
pickedPoint, |
|
|
int |
addBefore |
|
) |
| |
|
inline |
◆ operator[]()
◆ set()
| void SoPickedPointList::set |
( |
int |
i, |
|
|
SoPickedPoint * |
pickedPoint |
|
) |
| |
◆ truncate()
| void SoPickedPointList::truncate |
( |
int |
start | ) |
|
The documentation for this class was generated from the following file:
- /home/jenkins/workspaces/mevislab/4.2.0_1/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/SoLists.h