man SoPickedPointList () - maintains a list of pointers to SoPickedPoint instances

NAME

SoPickedPointList - maintains a list of pointers to SoPickedPoint instances

INHERITS FROM

SbPList > SoPickedPointList

SYNOPSIS

#include <Inventor/SoLists.h> Methods from class SoPickedPointList: c } c } SoPickedPointList()

c } c } SoPickedPointList(int size)

c } c } SoPickedPointList(const SoPickedPointList &l)

c } c } ~SoPickedPointList()

c } c } append(SoPickedPoint *ptr)

c } c } insert(SoPickedPoint *ptr, int addBefore)

c } c } truncate(int start)

c } c } operator [](int i) const

c } c } set(int i, SoPickedPoint *pickedPoint) Methods from class SbPList: c } c } find(const void *ptr) const

c } c } remove(int which)

c } c } getLength() const

c } c } copy(const SbPList &pl)

c } c } operator =(const SbPList &pl)

c } c } operator ==(const SbPList &pl) const

c } c } operator !=(const SbPList &pl) const

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.

METHODS

c } c } SoPickedPointList()

Constructor. c } c } SoPickedPointList(int size)

Constructor that pre-allocates storage for size pointers. c } c } SoPickedPointList(const SoPickedPointList &l)

Constructor that copies the contents of another list. c } c } ~SoPickedPointList()

Destructor. c } c } append(SoPickedPoint *ptr)

Adds a pointer to the end of the list. c } c } insert(SoPickedPoint *ptr, int addBefore)

Inserts given pointer in list before pointer with given index. c } c } truncate(int start)

Removes all pointers after one with given index, inclusive, deleting all instances removed from the list. c } c } operator [](int i) const

Accesses an element of a list. c } c } set(int i, SoPickedPoint *pickedPoint)

Sets an element of a list.

SEE ALSO

SoPickedPoint, SoRayPickAction