![]() |
http://www.sim.no http://www.coin3d.org |
#include <Inventor/lists/SoPathList.h>
As this class inherits SoBaseList, referencing and dereferencing will default be done on the objects at append(), remove(), insert() etc.
Public Member Functions | |
SoPathList (void) | |
SoPathList (const int size) | |
SoPathList (const SoPathList &pl) | |
~SoPathList () | |
void | append (SoPath *const path) |
SoPath * | operator[] (const int i) const |
SoPathList & | operator= (const SoPathList &pl) |
int | findPath (const SoPath &path) const |
void | sort (void) |
void | uniquify (void) |
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 | ) |
SoPathList::~SoPathList | ( | ) |
void SoPathList::append | ( | SoPath *const | path | ) |
SoPath * SoPathList::operator[] | ( | const int | i | ) | const |
SoPathList & SoPathList::operator= | ( | const SoPathList & | pl | ) |
int SoPathList::findPath | ( | const SoPath & | path | ) | const |
Find and return index of first item equal to path.
void SoPathList::sort | ( | void | ) |
Sort paths in list according to how early they are run into when traversing the scene graph.
void SoPathList::uniquify | ( | void | ) |
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.
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Tue Feb 12 18:19:57 2008 for Coin by Doxygen. 1.5.4