Coin
4.0.3
Coin3D core library
|
The SoPathList class is a container for pointers to SoPath objects. More...
#include <Inventor/lists/SoPathList.h>
Additional Inherited Members | |
Protected Member Functions inherited from SbPList | |
void | expand (const int size) |
int | getArraySize (void) const |
The SoPathList class is a container for pointers to SoPath objects.
As this class inherits SoBaseList, referencing and dereferencing will default be done on the objects at append(), remove(), insert() etc.
SoPathList::SoPathList | ( | void | ) |
Default constructor.
SoPathList::SoPathList | ( | const int | size | ) |
Constructor with a hint about the number of elements the list will hold.
SoPathList::SoPathList | ( | const SoPathList & | pl | ) |
Copy constructor.
Does a shallow copy of the SoPath pointer values, but updates reference count.
SoPathList::~SoPathList | ( | ) |
Destructor.
Append ptr to the list.
Find and return index of first item equal to path.
SoPathList & SoPathList::operator= | ( | const SoPathList & | pl | ) |
Shallow copy of contents of list pl to this list.
Return node pointer at index i.
Sort paths in list according to how early they are run into when traversing the scene graph.
Removes identical paths and paths that go through the tail of another path.
Note that this method assumes the list to be in a sorted order.