SoPickedPointList(3iv)

SoPickedPointList3iv

Maintains a list of pointers to sopickedpoint instances

Usage

#include <Inventor/SoLists.h>

Methods from class SoPickedPointList:

SoPickedPointList()
SoPickedPointList(int size)
SoPickedPointList(const SoPickedPointList &l)
~SoPickedPointList()
void append(SoPickedPoint *ptr)
void insert(SoPickedPoint *ptr, int addBefore)
void truncate(int start)
SoPickedPoint * operator [](int i) const
void set(int i, SoPickedPoint *pickedPoint)

Methods from class SbPList:

int find(const void *ptr) const
void remove(int which)
int getLength() const
void copy(const SbPList &pl)
SbPList & operator =(const SbPList &pl)
int operator ==(const SbPList &pl) const
int operator !=(const SbPList &pl) const

Inherits from

SbPList > SoPickedPointList

Overview

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

SoPickedPointList()
Constructor.

SoPickedPointList(int size)
Constructor that pre-allocates storage for size pointers.

SoPickedPointList(const SoPickedPointList &l)
Constructor that copies the contents of another list.

~SoPickedPointList()
Destructor.

void append(SoPickedPoint *ptr)
Adds a pointer to the end of the list.

void insert(SoPickedPoint *ptr, 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
Accesses an element of a list.

void set(int i, SoPickedPoint *pickedPoint)
Sets an element of a list.

Releases

Unchanged in 9 releases since Debian 3.0 (Woody).

  1. 3.0–13

From inventor-doc 2.1.6+ds-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.