# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CMRMBuilder Class Reference

The class for building MRMs. More...

#include <mrm_builder.h>

Collaboration diagram for NL3D::CMRMBuilder:

Collaboration graph
[legend]
List of all members.

Public Methods

 CMRMBuilder ()
 Constructor. More...


Private Methods

bool vertexHasOneWedge (sint numvertex)
bool vertexHasOneMaterial (sint numvertex)
bool vertexContinue (sint numvertex)
bool vertexClosed (sint numvertex)
float getDeltaFaceNormals (sint numvertex)
bool edgeContinue (const CMRMEdge &edge)
bool edgeNearUniqueMatFace (const CMRMEdge &edge)
float computeEdgeCost (const CMRMEdge &edge)
bool faceShareWedges (CMRMFaceBuild *face, sint attribId, sint numVertex1, sint numVertex2)
void insertFaceIntoEdgeList (CMRMFaceBuild &tmpf)
void removeFaceFromEdgeList (CMRMFaceBuild &f)
sint collapseEdge (const CMRMEdge &edge)
sint followVertex (sint i)
sint followWedge (sint attribId, sint i)
void init (const CMRMMesh &baseMesh)
void collapseEdges (sint nWantedFaces)
void saveCoarserMesh (CMRMMesh &coarserMesh)

Private Attributes

std::vector<CMRMVertexTmpVertices
std::vector<CMRMAttributeTmpAttributes [NL3D_MRM_MAX_ATTRIB]
sint NumAttributes
std::vector<CMRMFaceBuildTmpFaces
TEdgeMap EdgeCollapses

Detailed Description

The class for building MRMs.

Author(s):
Lionel Berenguier , Nevrax France
Date:
2000

Definition at line 264 of file mrm_builder.h.


Constructor & Destructor Documentation

NL3D::CMRMBuilder::CMRMBuilder ( )
 

Constructor.

Definition at line 597 of file mrm_builder.cpp.


Member Function Documentation

sint NL3D::CMRMBuilder::collapseEdge ( const CMRMEdge & edge ) [private]
 

Definition at line 319 of file mrm_builder.cpp.

void NL3D::CMRMBuilder::collapseEdges ( sint nWantedFaces ) [private]
 

Definition at line 664 of file mrm_builder.cpp.

float NL3D::CMRMBuilder::computeEdgeCost ( const CMRMEdge & edge ) [private]
 

Definition at line 241 of file mrm_builder.cpp.

bool NL3D::CMRMBuilder::edgeContinue ( const CMRMEdge & edge ) [private]
 

Definition at line 166 of file mrm_builder.cpp.

bool NL3D::CMRMBuilder::edgeNearUniqueMatFace ( const CMRMEdge & edge ) [private]
 

Definition at line 211 of file mrm_builder.cpp.

bool NL3D::CMRMBuilder::faceShareWedges ( CMRMFaceBuild * face,
sint attribId,
sint numVertex1,
sint numVertex2 ) [private]
 

Definition at line 275 of file mrm_builder.cpp.

sint NL3D::CMRMBuilder::followVertex ( sint i ) [private]
 

Definition at line 570 of file mrm_builder.cpp.

sint NL3D::CMRMBuilder::followWedge ( sint attribId,
sint i ) [private]
 

Definition at line 579 of file mrm_builder.cpp.

float NL3D::CMRMBuilder::getDeltaFaceNormals ( sint numvertex ) [private]
 

Definition at line 140 of file mrm_builder.cpp.

void NL3D::CMRMBuilder::init ( const CMRMMesh & baseMesh ) [private]
 

Definition at line 603 of file mrm_builder.cpp.

void NL3D::CMRMBuilder::insertFaceIntoEdgeList ( CMRMFaceBuild & f ) [private]
 

Definition at line 289 of file mrm_builder.cpp.

void NL3D::CMRMBuilder::removeFaceFromEdgeList ( CMRMFaceBuild & f ) [private]
 

Definition at line 309 of file mrm_builder.cpp.

void NL3D::CMRMBuilder::saveCoarserMesh ( CMRMMesh & coarserMesh ) [private]
 

Definition at line 729 of file mrm_builder.cpp.

bool NL3D::CMRMBuilder::vertexClosed ( sint numvertex ) [private]
 

Definition at line 105 of file mrm_builder.cpp.

bool NL3D::CMRMBuilder::vertexContinue ( sint numvertex ) [private]
 

Definition at line 100 of file mrm_builder.cpp.

bool NL3D::CMRMBuilder::vertexHasOneMaterial ( sint numvertex ) [private]
 

Definition at line 87 of file mrm_builder.cpp.

bool NL3D::CMRMBuilder::vertexHasOneWedge ( sint numvertex ) [private]
 

Definition at line 71 of file mrm_builder.cpp.


Member Data Documentation

TEdgeMap NL3D::CMRMBuilder::EdgeCollapses [private]
 

Definition at line 290 of file mrm_builder.h.

sint NL3D::CMRMBuilder::NumAttributes [private]
 

Definition at line 286 of file mrm_builder.h.

std::vector< CMRMAttribute > NL3D::CMRMBuilder::TmpAttributes[NL3D_MRM_MAX_ATTRIB] [private]
 

Definition at line 284 of file mrm_builder.h.

std::vector< CMRMFaceBuild > NL3D::CMRMBuilder::TmpFaces [private]
 

Definition at line 288 of file mrm_builder.h.

std::vector< CMRMVertex > NL3D::CMRMBuilder::TmpVertices [private]
 

Definition at line 282 of file mrm_builder.h.


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