#include <tri_edge_flip.h>
Public Member Functions | |
virtual ScalarType | ComputePriority () |
void | Execute (TRIMESH_TYPE &m) |
int | GetMark () |
PosType | GetPos () |
const char * | Info (TRIMESH_TYPE &m) |
virtual bool | IsFeasible () |
ModifierType | IsOfType () |
bool | IsUpToDate () |
PlanarEdgeFlip (const PlanarEdgeFlip &par) | |
PlanarEdgeFlip (PosType pos, int mark) | |
PlanarEdgeFlip () | |
virtual ScalarType | Priority () const |
virtual void | UpdateHeap (HeapType &heap) |
~PlanarEdgeFlip () | |
Static Public Member Functions | |
static ScalarType & | CoplanarAngleThresholdDeg () |
static void | Init (TRIMESH_TYPE &mesh, HeapType &heap) |
Protected Types | |
typedef TRIMESH_TYPE::CoordType | CoordType |
typedef TRIMESH_TYPE::FaceIterator | FaceIterator |
typedef TRIMESH_TYPE::FacePointer | FacePointer |
typedef TRIMESH_TYPE::FaceType | FaceType |
typedef LocalOptimization < TRIMESH_TYPE >::HeapElem | HeapElem |
typedef LocalOptimization < TRIMESH_TYPE >::HeapType | HeapType |
typedef vcg::face::Pos< FaceType > | PosType |
typedef TRIMESH_TYPE::ScalarType | ScalarType |
typedef TRIMESH_TYPE::VertexPointer | VertexPointer |
typedef TRIMESH_TYPE::VertexType | VertexType |
Static Protected Member Functions | |
static int & | GlobalMark () |
static void | Insert (HeapType &heap, PosType &p, int mark) |
Protected Attributes | |
int | _localMark |
PosType | _pos |
ScalarType | _priority |
This Class is specialization of LocalModification for the edge flip It wraps the atomic operation EdgeFlip to be used in a optimization routine. Note that it has knowledge of the heap of the class LocalOptimization because it is responsible of updating it after a flip has been performed This is the simplest edge flipping class. It flips an edge only if two adjacent faces are coplanar and the quality of the faces improves after the flip.
Definition at line 52 of file tri_edge_flip.h.
typedef TRIMESH_TYPE::FaceType vcg::tri::PlanarEdgeFlip< TRIMESH_TYPE, MYTYPE, QualityFunc >::FaceType [protected] |
Reimplemented in vcg::tri::TriEdgeFlip< TRIMESH_TYPE, MYTYPE >, vcg::tri::TopoEdgeFlip< TRIMESH_TYPE, MYTYPE >, and vcg::tri::TriEdgeFlip< MyMesh, MyDelaunayFlip >.
Definition at line 56 of file tri_edge_flip.h.