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:
parent
fe34dc9c78
commit
609e54082e
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue