#include <tetra_edge_collapse.h>

Public Member Functions | |
| ScalarType | ComputeError () |
| ScalarType | ComputePriority () |
| void | Execute (TETRA_MESH_TYPE &tm) |
| virtual const char * | Info (TETRA_MESH_TYPE &m) |
| bool | IsFeasible () |
| ModifierType | IsOfType () |
| return the type of operation | |
| bool | IsUpToDate () |
| virtual ScalarType | Priority () const |
| Return the priority to be used in the heap (implement static priority) | |
| TetraEdgeCollapse () | |
| Default Constructor. | |
| TetraEdgeCollapse (PosType p, int mark) | |
| Constructor with postype. | |
| void | UpdateHeap (typename LocalOptimization< TETRA_MESH_TYPE >::HeapType &h_ret) |
| ~TetraEdgeCollapse () | |
Static Public Member Functions | |
| static void | Init (TETRA_MESH_TYPE &m, typename LocalOptimization< TETRA_MESH_TYPE >::HeapType &h_ret) |
| perform initialization | |
Private Types | |
| typedef TetraType::VertexType::CoordType | CoordType |
| The coordinate type. | |
| typedef LocalOptimization < TETRA_MESH_TYPE >::HeapElem | HeapElem |
| definition of the heap element | |
| typedef PosLoop< TetraType > | PosLType |
| The HEdgePos Loop type. | |
| typedef Pos< TetraType > | PosType |
| The HEdgePos type. | |
| typedef TETRA_MESH_TYPE::VertexType::ScalarType | ScalarType |
| The scalar type. | |
| typedef TETRA_MESH_TYPE::TetraType | TetraType |
| The tetrahedral mesh type. | |
| typedef TetraType::VertexType | VertexType |
| The vertex type. | |
Private Member Functions | |
| ScalarType | _AspectRatioMedia (PosType p) |
| ScalarType | _VolumePreservingError (PosType &pos, CoordType &new_point, int nsteps) |
| Modify pos and alfa to obtain the collapse that minimize the error. | |
Static Private Member Functions | |
| static int & | _Imark () |
| mark for up_dating | |
Private Attributes | |
| vcg::tetra::EdgeCollapse < TETRA_MESH_TYPE > | _EC |
| the pointer to edge collapser method | |
| Point3< ScalarType > | _NewPoint |
| the new point that substitute the edge | |
| ScalarType | _priority |
| priority in the heap | |
| PosType | pos |
| the pos of collapse | |
| VertexType * | vrem |
| pointer to vertex that remain | |
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
Definition at line 57 of file tetra_edge_collapse.h.