![]() |
VR-Forces 4.0.4 Class Documentation
|
Public Member Functions | |
| DtVertexManager () | |
| DtVertexManager (unsigned int size) | |
| virtual | ~DtVertexManager () |
| DtVertexManager (const DtVertexManager &orig) | |
| DtVertexManager & | operator= (const DtVertexManager &orig) |
| virtual bool | vertex (DtVertexID vertID, DtVertex &vertex) const |
| virtual DtVertex & | vertex (DtVertexID vertID) |
| virtual const DtVertex & | vertex (DtVertexID vertID) const |
| virtual bool | addVertex (const DtVertex &vertex, DtVertexID &vertID, const double tolerance=0.0000) |
| virtual bool | removeDuplicates (double tolerance, int &numDuplicates, int &numEntries, DtVertexID *&oldIDToNewIDMapping) |
| virtual unsigned int | numberOfVertices () const |
| */ | |
| virtual bool | isValidID (DtVertexID vertID) const |
| virtual bool | assignFrom (const DtVertex *vertices, int numVertices) |
| virtual void | dump (int indexLevel) const |
| virtual bool | expandToManage (unsigned int numVertices=DEFAULT_VERT_MGR_EXPANSION_AMOUNT) |
| virtual int | sizeInBytes () |
| virtual const DtVertex * | getVertexArray () |
| virtual bool | extremePoints (DtVertex &highest, DtVertex &lowest) const |
| virtual void | setAllowDuplicates (bool flag) |
| virtual bool | allowDuplicates () const |
Protected Member Functions | |
| virtual bool | testInvariant () const |
| bool | addNewVertex (const DtVertex &vertexToAdd, DtVertexID &vertID) |
| bool | isDuplicate (const DtVertex &vertex, DtVertexID &managedVertID, const double tol) const |
| bool | isDuplicate (const DtVertexID &comparisonVertID, DtVertexID &managedVertID, const double tol) const |
| virtual bool | expandVertexArray (unsigned int numToExpandBy) |
Protected Attributes | |
| unsigned int | myNumberOfVertices |
| unsigned int | myMaxNumberOfVertices |
| std::vector< DtVertex > | myVertexArray |
| bool | myArrayIsMemoryManaged |
| bool | myManagerAllowsDuplicates |
| DtVertexManager::DtVertexManager | ( | unsigned int | size | ) |
| virtual DtVertexManager::~DtVertexManager | ( | ) | [virtual] |
| DtVertexManager::DtVertexManager | ( | const DtVertexManager & | orig | ) |
| DtVertexManager& DtVertexManager::operator= | ( | const DtVertexManager & | orig | ) |
| virtual bool DtVertexManager::vertex | ( | DtVertexID | vertID, |
| DtVertex & | vertex | ||
| ) | const [virtual] |
| virtual DtVertex& DtVertexManager::vertex | ( | DtVertexID | vertID | ) | [virtual] |
| virtual const DtVertex& DtVertexManager::vertex | ( | DtVertexID | vertID | ) | const [virtual] |
| virtual bool DtVertexManager::addVertex | ( | const DtVertex & | vertex, |
| DtVertexID & | vertID, | ||
| const double | tolerance = 0.0000 |
||
| ) | [virtual] |
| virtual bool DtVertexManager::removeDuplicates | ( | double | tolerance, |
| int & | numDuplicates, | ||
| int & | numEntries, | ||
| DtVertexID *& | oldIDToNewIDMapping | ||
| ) | [virtual] |
| *in line functions ***********************************************************unsigned int DtVertexManager::numberOfVertices | ( | ) | const [inline, virtual] |
*/
References myNumberOfVertices.
| virtual bool DtVertexManager::isValidID | ( | DtVertexID | vertID | ) | const [virtual] |
Referenced by DtTriangleIndirect::setVertex().
| virtual bool DtVertexManager::assignFrom | ( | const DtVertex * | vertices, |
| int | numVertices | ||
| ) | [virtual] |
| virtual void DtVertexManager::dump | ( | int | indexLevel | ) | const [virtual] |
| virtual bool DtVertexManager::expandToManage | ( | unsigned int | numVertices = DEFAULT_VERT_MGR_EXPANSION_AMOUNT | ) | [virtual] |
| virtual int DtVertexManager::sizeInBytes | ( | ) | [virtual] |
| virtual const DtVertex* DtVertexManager::getVertexArray | ( | ) | [virtual] |
| virtual bool DtVertexManager::extremePoints | ( | DtVertex & | highest, |
| DtVertex & | lowest | ||
| ) | const [virtual] |
| virtual void DtVertexManager::setAllowDuplicates | ( | bool | flag | ) | [virtual] |
| virtual bool DtVertexManager::allowDuplicates | ( | ) | const [virtual] |
| virtual bool DtVertexManager::testInvariant | ( | ) | const [protected, virtual] |
| bool DtVertexManager::addNewVertex | ( | const DtVertex & | vertexToAdd, |
| DtVertexID & | vertID | ||
| ) | [protected] |
| bool DtVertexManager::isDuplicate | ( | const DtVertex & | vertex, |
| DtVertexID & | managedVertID, | ||
| const double | tol | ||
| ) | const [protected] |
| bool DtVertexManager::isDuplicate | ( | const DtVertexID & | comparisonVertID, |
| DtVertexID & | managedVertID, | ||
| const double | tol | ||
| ) | const [protected] |
| virtual bool DtVertexManager::expandVertexArray | ( | unsigned int | numToExpandBy | ) | [protected, virtual] |
unsigned int DtVertexManager::myNumberOfVertices [protected] |
Referenced by numberOfVertices().
unsigned int DtVertexManager::myMaxNumberOfVertices [protected] |
std::vector<DtVertex> DtVertexManager::myVertexArray [protected] |
bool DtVertexManager::myArrayIsMemoryManaged [protected] |
bool DtVertexManager::myManagerAllowsDuplicates [protected] |