#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 (BaseParameterClass *) |
| Compute the priority to be used in the heap. | |
| void | Execute (TriMeshType &m, BaseParameterClass *) |
| virtual const char * | Info (TriMeshType &m) |
| bool | IsFeasible (BaseParameterClass *) |
| 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 () const |
| 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 () | |
| Default Constructor. | |
| TriEdgeCollapse (const VertexPair &p, int mark, BaseParameterClass *pp) | |
| Constructor with postype. | |
| void | UpdateHeap (HeapType &h_ret, BaseParameterClass *pp) |
| Update the heap as a consequence of this operation. | |
| ~TriEdgeCollapse () | |
Static Public Member Functions | |
| static void | Init (TriMeshType &m, HeapType &h_ret, BaseParameterClass *pp) |
| static bool | IsSymmetric (BaseParameterClass *) |
Protected Types | |
| typedef FaceType::VertexType::CoordType | CoordType |
| typedef TriMeshType::FaceType | FaceType |
| typedef LocalOptimization < TriMeshType >::HeapElem | HeapElem |
| typedef LocalOptimization < TriMeshType >::HeapType | HeapType |
| typedef TriMeshType::VertexType::ScalarType | ScalarType |
| typedef TriMeshType::FaceType::VertexType | VertexType |
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 |
| VertexPair | 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 46 of file tri_edge_collapse.h.