vcg::tetra::EdgeCollapse< TETRA_MESH_TYPE > Class Template Reference
[Tetramesh]

This Class is used for the edge collapse. More...

#include <edge_collapse.h>

List of all members.

Classes

struct  Edge
struct  Face
struct  TetraSets

Public Types

typedef
TetraType::VertexType::CoordType 
CoordType
 The coordinate type.
typedef PosLoop< TetraTypePosLType
 The HEdgePos Loop type.
typedef Pos< TetraTypePosType
 The HEdgePos type.
typedef
TetraMeshType::VertexType::ScalarType 
ScalarType
 The scalar type.
typedef
TetraMeshType::TetraContainer 
TetraContainer
 the container of tetrahedron type
typedef
TetraMeshType::TetraIterator 
TetraIterator
 The tetra iterator type.
typedef TETRA_MESH_TYPE TetraMeshType
 The tetrahedral mesh type.
typedef TetraMeshType::TetraType TetraType
 The tetrahedron type.
typedef
vcg::tetra::UpdateTetraTopology
< VertexContainer,
TetraContainer
Topology
 The topology updater type.
typedef
vcg::tetra::UpdateNormals
< TetraMeshType
UpdateNormals
 the normal updater type
typedef
TetraMeshType::VertexContainer 
VertexContainer
 the container of vertex type
typedef
TetraMeshType::VertexIterator 
VertexIterator
 The vertex iterator type.
typedef TetraType::VertexType VertexType
 The vertex type.

Public Member Functions

 EdgeCollapse ()
 Default Constructor.
 ~EdgeCollapse ()

Static Public Member Functions

static ScalarType AspectRatioCollapsed (PosType p)
static bool CheckPreconditions (PosType pos, CoordType NewP)
 check the topologycal preserving conditions for the collapse indicated by pos
static int DoCollapse (PosType p, CoordType newP)
 do the collapse on the edge in postype p
static void FindSets (vcg::tetra::Pos< TetraType > pos)
 finds sets used for all test in edge collapse
static void Reset ()
 clean everything
static ScalarType VolumeOriginal ()
 return the sum of volumes of the union of stars on vertices (the original volume of tetrahedrons)
static ScalarType VolumeSimulateCollapse (PosType Pos, CoordType &newP)
 Calculate the volume on the vertex resulting after collapse...

Private Types

typedef pair< int, int > FacePair

Static Private Member Functions

static int _Collapse (PosType p, CoordType NewP)
 collpse de edge specified by pos (the first vertex on edge remain)
static VertexType_DummyV ()
static map< Edge, char > & _EdgeMark ()
static map< Face, char > & _FaceMark ()
static FacePair _FindNoEdgeFace (TetraType *t, int edge)
 select the 2 faces that does not share the edge
static bool _FlipCondition (PosType pos, CoordType NewP)
 verify the flip condition
static void _InitTetrahedronValues (VertexType *v)
 update the normal of the modified tetrahedrons ond the normal of the vertex that remain after collapse
static bool _LinkConditionsE (PosType pos)
 verify the link conditions on edges
static bool _LinkConditionsF (PosType pos)
 verify the link conditions on faces
static bool _LinkConditionsV ()
 verify the link conditions on vertices
static bool _QuickConditions (PosType pos)
static TetraSets_Sets ()
static bool isMarkedE (Edge E, char M)
static bool isMarkedF (Face F, char M)
static void orMarkE (Edge E, char M)
static void orMarkF (Face F, char M)

Detailed Description

template<class TETRA_MESH_TYPE>
class vcg::tetra::EdgeCollapse< TETRA_MESH_TYPE >

This Class is used for the edge collapse.

Definition at line 43 of file tetramesh/edge_collapse.h.


Member Typedef Documentation

template<class TETRA_MESH_TYPE >
typedef TETRA_MESH_TYPE vcg::tetra::EdgeCollapse< TETRA_MESH_TYPE >::TetraMeshType

The tetrahedral mesh type.

Definition at line 47 of file tetramesh/edge_collapse.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:26 2013