This abstract class define which functions a local modification to be used in the LocalOptimization. More...
#include <local_optimization.h>
Public Types | |
typedef LocalOptimization < MeshType >::HeapType | HeapType |
typedef MeshType::ScalarType | ScalarType |
Public Member Functions | |
virtual ScalarType | ComputePriority (BaseParameterClass *pp)=0 |
Compute the priority to be used in the heap. | |
virtual void | Execute (MeshType &m, BaseParameterClass *pp)=0 |
Perform the operation. | |
virtual const char * | Info (MeshType &) |
virtual bool | IsFeasible (BaseParameterClass *pp)=0 |
return true if no constraint disallow this operation to be performed (ex: change of topology in edge collapses) | |
virtual ModifierType | IsOfType ()=0 |
return the type of operation | |
virtual bool | IsUpToDate () const =0 |
return true if the data have not changed since it was created | |
LocalModification () | |
virtual ScalarType | Priority () const =0 |
Return the priority to be used in the heap (implement static priority) | |
virtual void | UpdateHeap (HeapType &, BaseParameterClass *pp)=0 |
Update the heap as a consequence of this operation. | |
virtual | ~LocalModification () |
Static Public Member Functions | |
static float | HeapSimplexRatio (BaseParameterClass *) |
static void | Init (MeshType &m, HeapType &, BaseParameterClass *pp) |
perform initialization |
This abstract class define which functions a local modification to be used in the LocalOptimization.
Definition at line 115 of file local_optimization.h.