This Class is used for the edge collapse. More...
#include <edge_collapse.h>
Classes | |
struct | Edge |
struct | Face |
struct | TetraSets |
Public Types | |
typedef TetraType::VertexType::CoordType | CoordType |
The coordinate type. | |
typedef PosLoop< TetraType > | PosLType |
The HEdgePos Loop type. | |
typedef Pos< TetraType > | PosType |
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) |
This Class is used for the edge collapse.
Definition at line 43 of file tetramesh/edge_collapse.h.
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.