changes private members (_Imark(), pos, priority) to derive and override is IsFeasible , Init and constructor functions, that can be used to define different kind of collapse (ex: to do not collapses on specified vertices)

This commit is contained in:
Nico Pietroni 2004-08-10 16:33:58 +00:00
parent fe34dc9c78
commit 609e54082e
1 changed files with 5 additions and 3 deletions

View File

@ -72,12 +72,14 @@ public:
typedef vcg::face::Pos<FaceType> PosType;
typedef typename LocalOptimization<TriMeshType>::HeapElem HeapElem;
private:
protected:
///the pos of collapse
PosType pos;
///mark for up_dating
static int& _Imark(){ static int im=0; return im;}
///the pos of collapse
PosType pos;
/// priority in the heap
ScalarType _priority;