TexGen
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TexGen::COctreeVisitorMergeNodes Class Reference

Octree visitor used to merge nodes together within a given tolerance. More...

#include <MeshOctreeClasses.h>

Inheritance diagram for TexGen::COctreeVisitorMergeNodes:
Inheritance graph
[legend]

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

CMeshm_Mesh
 
int m_iNumMerged
 
double m_dToleranceSquared
 
vector< vector< int * > > m_NodeElementReferences
 
set< int > m_DeletedNodes
 

Detailed Description

Octree visitor used to merge nodes together within a given tolerance.

Definition at line 44 of file MeshOctreeClasses.h.

Constructor & Destructor Documentation

◆ COctreeVisitorMergeNodes()

TexGen::COctreeVisitorMergeNodes::COctreeVisitorMergeNodes ( CMesh Mesh,
double  dTolerance = 0 
)
inline

Definition at line 47 of file MeshOctreeClasses.h.

◆ ~COctreeVisitorMergeNodes()

TexGen::COctreeVisitorMergeNodes::~COctreeVisitorMergeNodes ( )
inline

Definition at line 49 of file MeshOctreeClasses.h.

Member Function Documentation

◆ GetNumMerged()

int TexGen::COctreeVisitorMergeNodes::GetNumMerged ( )
inline

Definition at line 51 of file MeshOctreeClasses.h.

References m_iNumMerged.

Referenced by TexGen::CMesh::MergeNodes().

◆ visitBranch()

void COctreeVisitorMergeNodes::visitBranch ( const OctreeCell *  subCells[8],
const OctreeData &  octreeData 
)
protected

Definition at line 72 of file MeshOctreeClasses.cpp.

◆ visitLeaf()

void COctreeVisitorMergeNodes::visitLeaf ( const Array< const pair< int, XYZ > * > &  items,
const OctreeData &  octreeData 
)
protected

◆ visitRoot()

void COctreeVisitorMergeNodes::visitRoot ( const OctreeCell *  pRootCell,
const OctreeData &  octreeData 
)
protected

Member Data Documentation

◆ m_DeletedNodes

set<int> TexGen::COctreeVisitorMergeNodes::m_DeletedNodes
protected

Definition at line 63 of file MeshOctreeClasses.h.

Referenced by visitLeaf(), and visitRoot().

◆ m_dToleranceSquared

double TexGen::COctreeVisitorMergeNodes::m_dToleranceSquared
protected

Definition at line 60 of file MeshOctreeClasses.h.

Referenced by visitLeaf().

◆ m_iNumMerged

int TexGen::COctreeVisitorMergeNodes::m_iNumMerged
protected

Definition at line 59 of file MeshOctreeClasses.h.

Referenced by GetNumMerged(), and visitLeaf().

◆ m_Mesh

CMesh& TexGen::COctreeVisitorMergeNodes::m_Mesh
protected

Definition at line 58 of file MeshOctreeClasses.h.

Referenced by visitLeaf(), and visitRoot().

◆ m_NodeElementReferences

vector<vector<int*> > TexGen::COctreeVisitorMergeNodes::m_NodeElementReferences
protected

Definition at line 61 of file MeshOctreeClasses.h.

Referenced by visitLeaf(), and visitRoot().


The documentation for this class was generated from the following files: