Public Types | Public Member Functions | Static Public Member Functions
vcg::LocalModification< MeshType > Class Template Reference

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 (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

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 115 of file local_optimization.h.


The documentation for this class was generated from the following file:


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:41:18