![]() |
http://www.sim.no http://www.coin3d.org |
The SoPathList class is a container for pointers to SoPath objects. More...
#include <Inventor/lists/SoPathList.h>
Additional Inherited Members | |
![]() | |
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.
References SoBaseList::append().
Referenced by SoSearchAction::addPath(), and SoSelection::addPath().
Return node pointer at index i.
References SoBaseList::operator[]().
SoPathList & SoPathList::operator= | ( | const SoPathList & | pl | ) |
Shallow copy of contents of list pl to this list.
References SoBaseList::copy().
Find and return index of first item equal to path.
References SbPList::getLength().
Referenced by SoSelection::findPath().
Sort paths in list according to how early they are run into when traversing the scene graph.
References SbPList::getArrayPtr(), and SbPList::getLength().
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.
References SbPList::getArrayPtr(), SbList< Type >::getLength(), SbPList::getLength(), and SoBaseList::remove().
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Jan 22 2024 for Coin by Doxygen. 1.10.0