vcg::LocalModification< MeshType > Class Template Reference
[Tetramesh]

This abstract class define which functions a local modification to be used in the LocalOptimization. More...

#include <local_optimization.h>

Inheritance diagram for vcg::LocalModification< MeshType >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef LocalOptimization
< MeshType >::HeapType 
HeapType
typedef MeshType::ScalarType ScalarType

Public Member Functions

virtual ScalarType ComputePriority ()=0
 Compute the priority to be used in the heap.
virtual void Execute (MeshType &m)=0
 Perform the operation and return the variation in the number of simplicies (>0 is refinement, <0 is simplification).
virtual const char * Info (MeshType &)
virtual bool IsFeasible ()=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 ()=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 &)=0
 Update the heap as a consequence of this operation.
virtual ~LocalModification ()

Static Public Member Functions

static float HeapSimplexRatio ()
static void Init (MeshType &m, HeapType &)
 perform initialization

Detailed Description

template<class MeshType>
class vcg::LocalModification< MeshType >

This abstract class define which functions a local modification to be used in the LocalOptimization.

Definition at line 111 of file local_optimization.h.


Member Typedef Documentation

template<class MeshType >
typedef LocalOptimization<MeshType>::HeapType vcg::LocalModification< MeshType >::HeapType

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:02 2013