#include <tri_edge_collapse.h>
Classes | |
class | FailStat |
static data to gather statistical information about the reasons of collapse failures More... | |
Public Member Functions | |
ScalarType | ComputePriority () |
Compute the priority to be used in the heap. | |
void | Execute (TriMeshType &m) |
virtual const char * | Info (TriMeshType &m) |
bool | IsFeasible () |
return true if no constraint disallow this operation to be performed (ex: change of topology in edge collapses) | |
ModifierType | IsOfType () |
return the type of operation | |
bool | IsUpToDate () |
return true if the data have not changed since it was created | |
virtual ScalarType | Priority () const |
Return the priority to be used in the heap (implement static priority). | |
TriEdgeCollapse (const EdgeType &p, int mark) | |
Constructor with postype. | |
TriEdgeCollapse () | |
Default Constructor. | |
void | UpdateHeap (HeapType &h_ret) |
~TriEdgeCollapse () | |
Static Public Member Functions | |
static void | Init (TriMeshType &m, HeapType &h_ret) |
static bool | IsSymmetric () |
Protected Types | |
typedef FaceType::VertexType::CoordType | CoordType |
The coordinate type. | |
typedef VertexType::EdgeType | EdgeType |
half edge type | |
typedef TriMeshType::FaceType | FaceType |
The tetrahedron type. | |
typedef LocalOptimization < TriMeshType >::HeapElem | HeapElem |
typedef LocalOptimization < TriMeshType >::HeapType | HeapType |
typedef TriMeshType::VertexType::ScalarType | ScalarType |
typedef TriMeshType::FaceType::VertexType | VertexType |
The vertex type. | |
Static Protected Member Functions | |
static int & | GlobalMark () |
mark for up_dating | |
Protected Attributes | |
ScalarType | _priority |
priority in the heap | |
int | localMark |
mark for up_dating | |
TriMeshType * | mt |
EdgeType | pos |
the pair to collapse |
This Class is specialization of LocalModification for the edge collapse. It wraps the atomic operation EdgeCollapse to be used in a optimizatin routine. Note that it has knowledge of the heap of the class LocalOptimization because it is responsible of updating it after a collapse has been performed; This is the base class of all the specialized collapse classes like for example Quadric Edge Collapse. Each derived class
Definition at line 85 of file tri_edge_collapse.h.