TexGen
|
Octree visitor used to merge nodes together within a given tolerance. More...
#include <MeshOctreeClasses.h>
Public Member Functions | |
COctreeVisitorMergeNodes (CMesh &Mesh, double dTolerance=0) | |
~COctreeVisitorMergeNodes () | |
int | GetNumMerged () |
Protected Member Functions | |
void | visitRoot (const OctreeCell *pRootCell, const OctreeData &octreeData) |
void | visitBranch (const OctreeCell *subCells[8], const OctreeData &octreeData) |
void | visitLeaf (const Array< const pair< int, XYZ > * > &items, const OctreeData &octreeData) |
Protected Attributes | |
CMesh & | m_Mesh |
int | m_iNumMerged |
double | m_dToleranceSquared |
vector< vector< int * > > | m_NodeElementReferences |
set< int > | m_DeletedNodes |
Octree visitor used to merge nodes together within a given tolerance.
Definition at line 44 of file MeshOctreeClasses.h.
|
inline |
Definition at line 47 of file MeshOctreeClasses.h.
|
inline |
Definition at line 49 of file MeshOctreeClasses.h.
|
inline |
Definition at line 51 of file MeshOctreeClasses.h.
References m_iNumMerged.
Referenced by TexGen::CMesh::MergeNodes().
|
protected |
Definition at line 72 of file MeshOctreeClasses.cpp.
|
protected |
Definition at line 85 of file MeshOctreeClasses.cpp.
References TexGen::CMesh::ChangeNodeIndices(), TexGen::GetLengthSquared(), m_DeletedNodes, m_dToleranceSquared, m_iNumMerged, m_Mesh, and m_NodeElementReferences.
|
protected |
Definition at line 57 of file MeshOctreeClasses.cpp.
References TexGen::CMesh::DeleteNodes(), TexGen::CMesh::GetNodeElementReferences(), m_DeletedNodes, m_Mesh, and m_NodeElementReferences.
|
protected |
Definition at line 63 of file MeshOctreeClasses.h.
Referenced by visitLeaf(), and visitRoot().
|
protected |
Definition at line 60 of file MeshOctreeClasses.h.
Referenced by visitLeaf().
|
protected |
Definition at line 59 of file MeshOctreeClasses.h.
Referenced by GetNumMerged(), and visitLeaf().
|
protected |
Definition at line 58 of file MeshOctreeClasses.h.
Referenced by visitLeaf(), and visitRoot().
|
protected |
Definition at line 61 of file MeshOctreeClasses.h.
Referenced by visitLeaf(), and visitRoot().