# 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::CMRMSewingMesh Class Reference

An internal polygon with LOD information for Interface system. More...

#include <mrm_internal.h>

List of all members.

Public Methods

void build (const CMesh::CInterface &meshInt, uint nWantedLods, uint divisor)
 Build a MRM sewing mesh from a CMeshBuild interface. More...

sint mustCollapseEdge (uint lod, const CMRMEdge &edge, uint &vertToCollapse) const
 >=0 if the lod has this edge to collapse. More...

sint getNumCollapseEdge (uint lod) const
 get the number of edge to collapse for a lod. More...


Private Attributes

std::vector< CLod_Lods


Detailed Description

An internal polygon with LOD information for Interface system.

Definition at line 327 of file mrm_internal.h.


Member Function Documentation

void NL3D::CMRMSewingMesh::build const CMesh::CInterface   meshInt,
uint    nWantedLods,
uint    divisor
 

Build a MRM sewing mesh from a CMeshBuild interface.

Definition at line 67 of file mrm_internal.cpp.

References _Lods.

sint NL3D::CMRMSewingMesh::getNumCollapseEdge uint    lod const
 

get the number of edge to collapse for a lod.

Definition at line 59 of file mrm_internal.cpp.

References _Lods, and nlassert.

sint NL3D::CMRMSewingMesh::mustCollapseEdge uint    lod,
const CMRMEdge   edge,
uint   vertToCollapse
const
 

>=0 if the lod has this edge to collapse.

-1 else. NB: order of collapse is returned.

Parameters:
vertToCollapse  is the vertex id which must be collapsed to the other (ie the one which moves/dissapear)

Definition at line 41 of file mrm_internal.cpp.

References _Lods, and nlassert.


Member Data Documentation

std::vector<CLod> NL3D::CMRMSewingMesh::_Lods [private]
 

Definition at line 336 of file mrm_internal.h.

Referenced by build, getNumCollapseEdge, and mustCollapseEdge.


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