Open Inventor Reference
SoPickedPointList Class Reference

Maintains a list of pointers to SoPickedPoint instances. More...

#include <Inventor/SoLists.h>

Inheritance diagram for SoPickedPointList:
SbPList

List of all members.

Public Member Functions

 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.
SoPickedPointoperator[] (int i) const
 Access an element of a list.
void set (int i, SoPickedPoint *pickedPoint)
 Sets an element of a list.

Detailed Description

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.


Constructor & Destructor Documentation

SoPickedPointList::SoPickedPointList ( ) [inline]

Definition at line 385 of file SoLists.h.

SoPickedPointList::SoPickedPointList ( int  size) [inline]

Definition at line 386 of file SoLists.h.

SoPickedPointList::SoPickedPointList ( const SoPickedPointList l)
SoPickedPointList::~SoPickedPointList ( ) [inline]

Definition at line 390 of file SoLists.h.

References SbPList::truncate().


Member Function Documentation

void SoPickedPointList::append ( SoPickedPoint pickedPoint) [inline]

Definition at line 393 of file SoLists.h.

References SbPList::append().

void SoPickedPointList::insert ( SoPickedPoint pickedPoint,
int  addBefore 
) [inline]

Definition at line 397 of file SoLists.h.

References SbPList::insert().

SoPickedPoint* SoPickedPointList::operator[] ( int  i) const [inline]

Reimplemented from SbPList.

Definition at line 405 of file SoLists.h.

void SoPickedPointList::set ( int  i,
SoPickedPoint pickedPoint 
)
void SoPickedPointList::truncate ( int  start)

Reimplemented from SbPList.


The documentation for this class was generated from the following file: