Classes | Typedefs | Enumerations | Enumerator | Functions | Variables
Tetramesh

Classes

struct  vcg::LocalOptimization< MeshType >::HeapElem
 the element of the heap More...
class  vcg::LocalModification< MeshType >
 This abstract class define which functions a local modification to be used in the LocalOptimization. More...
class  vcg::LocalOptimization< MeshType >
class  vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >

Typedefs

typedef
TetraType::VertexType::CoordType 
vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::CoordType
 The coordinate type.
typedef LocalOptimization
< TETRA_MESH_TYPE >::HeapElem 
vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::HeapElem
 definition of the heap element
typedef LocalOptimization
< MeshType >::HeapType 
vcg::LocalModification< MeshType >::HeapType
typedef std::vector< HeapElem > vcg::LocalOptimization< MeshType >::HeapType
typedef LocalModification
< MeshType > * 
vcg::LocalOptimization< MeshType >::LocModPtrType
typedef LocalModification
< MeshType > 
vcg::LocalOptimization< MeshType >::LocModType
typedef PosLoop< TetraType > vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::PosLType
 The HEdgePos Loop type.
typedef Pos< TetraType > vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::PosType
 The HEdgePos type.
typedef
TETRA_MESH_TYPE::VertexType::ScalarType 
vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::ScalarType
 The scalar type.
typedef MeshType::ScalarType vcg::LocalModification< MeshType >::ScalarType
typedef MeshType::ScalarType vcg::LocalOptimization< MeshType >::ScalarType
typedef TETRA_MESH_TYPE::TetraType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::TetraType
 The tetrahedral mesh type.
typedef TetraType::VertexType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::VertexType
 The vertex type.

Enumerations

enum  vcg::LocalOptimization< MeshType >::LOTermination {
  vcg::LocalOptimization< MeshType >::LOnSimplices = 0x01, vcg::LocalOptimization< MeshType >::LOnVertices = 0x02, vcg::LocalOptimization< MeshType >::LOnOps = 0x04, vcg::LocalOptimization< MeshType >::LOMetric = 0x08,
  vcg::LocalOptimization< MeshType >::LOTime = 0x10
}
 termination conditions More...

Functions

ScalarType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::_AspectRatioMedia (PosType p)
static int & vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::_Imark ()
 mark for up_dating
ScalarType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::_VolumePreservingError (PosType &pos, CoordType &new_point, int nsteps)
 Modify pos and alfa to obtain the collapse that minimize the error.
void vcg::LocalOptimization< MeshType >::ClearHeap ()
void vcg::LocalOptimization< MeshType >::ClearHeapOld ()
 erase from the heap the operations that are out of date
void vcg::LocalOptimization< MeshType >::ClearTermination ()
void vcg::LocalOptimization< MeshType >::ClearTerminationFlag (int v)
ScalarType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::ComputeError ()
virtual ScalarType vcg::LocalModification< MeshType >::ComputePriority (BaseParameterClass *pp)=0
 Compute the priority to be used in the heap.
ScalarType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::ComputePriority ()
bool vcg::LocalOptimization< MeshType >::DoOptimization ()
 main cycle of optimization
virtual void vcg::LocalModification< MeshType >::Execute (MeshType &m, BaseParameterClass *pp)=0
 Perform the operation.
void vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::Execute (TETRA_MESH_TYPE &tm)
template<class LocalModificationType >
void vcg::LocalOptimization< MeshType >::Finalize ()
bool vcg::LocalOptimization< MeshType >::GoalReached ()
 vcg::LocalOptimization< MeshType >::HeapElem::HeapElem ()
 vcg::LocalOptimization< MeshType >::HeapElem::HeapElem (LocModPtrType _locModPtr)
static float vcg::LocalModification< MeshType >::HeapSimplexRatio (BaseParameterClass *)
virtual const char * vcg::LocalModification< MeshType >::Info (MeshType &)
virtual const char * vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::Info (TETRA_MESH_TYPE &m)
static void vcg::LocalModification< MeshType >::Init (MeshType &m, HeapType &, BaseParameterClass *pp)
 perform initialization
static void vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::Init (TETRA_MESH_TYPE &m, typename LocalOptimization< TETRA_MESH_TYPE >::HeapType &h_ret)
 perform initialization
template<class LocalModificationType >
void vcg::LocalOptimization< MeshType >::Init ()
virtual bool vcg::LocalModification< MeshType >::IsFeasible (BaseParameterClass *pp)=0
 return true if no constraint disallow this operation to be performed (ex: change of topology in edge collapses)
bool vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::IsFeasible ()
virtual ModifierType vcg::LocalModification< MeshType >::IsOfType ()=0
 return the type of operation
ModifierType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::IsOfType ()
 return the type of operation
bool vcg::LocalOptimization< MeshType >::IsTerminationFlag (int v)
virtual bool vcg::LocalModification< MeshType >::IsUpToDate () const =0
 return true if the data have not changed since it was created
bool vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::IsUpToDate ()
bool vcg::LocalOptimization< MeshType >::HeapElem::IsUpToDate () const
 vcg::LocalModification< MeshType >::LocalModification ()
 vcg::LocalOptimization< MeshType >::LocalOptimization (MeshType &mm, BaseParameterClass *_pp)
bool vcg::LocalOptimization< MeshType >::HeapElem::operator< (const HeapElem &h) const
virtual ScalarType vcg::LocalModification< MeshType >::Priority () const =0
 Return the priority to be used in the heap (implement static priority)
virtual ScalarType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::Priority () const
 Return the priority to be used in the heap (implement static priority)
void vcg::LocalOptimization< MeshType >::SetTargetMetric (ScalarType tm)
void vcg::LocalOptimization< MeshType >::SetTargetOperations (int to)
void vcg::LocalOptimization< MeshType >::SetTargetSimplices (int ts)
void vcg::LocalOptimization< MeshType >::SetTargetVertices (int tv)
void vcg::LocalOptimization< MeshType >::SetTerminationFlag (int v)
void vcg::LocalOptimization< MeshType >::SetTimeBudget (float tb)
 vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::TetraEdgeCollapse ()
 Default Constructor.
 vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::TetraEdgeCollapse (PosType p, int mark)
 Constructor with postype.
virtual void vcg::LocalModification< MeshType >::UpdateHeap (HeapType &, BaseParameterClass *pp)=0
 Update the heap as a consequence of this operation.
void vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::UpdateHeap (typename LocalOptimization< TETRA_MESH_TYPE >::HeapType &h_ret)
 vcg::LocalOptimization< MeshType >::HeapElem::~HeapElem ()
virtual vcg::LocalModification< MeshType >::~LocalModification ()
 vcg::LocalOptimization< MeshType >::~LocalOptimization ()
 Default distructor.
 vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::~TetraEdgeCollapse ()

Variables

vcg::tetra::EdgeCollapse
< TETRA_MESH_TYPE > 
vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::_EC
 the pointer to edge collapser method
Point3< ScalarTypevcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::_NewPoint
 the new point that substitute the edge
ScalarType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::_priority
 priority in the heap
ScalarType vcg::LocalOptimization< MeshType >::currMetric
double vcg::LocalOptimization< MeshType >::e
HeapType vcg::LocalOptimization< MeshType >::h
 the heap of operations
float vcg::LocalOptimization< MeshType >::HeapSimplexRatio
LocModPtrType vcg::LocalOptimization< MeshType >::HeapElem::locModPtr
 pointer to instance of local modifier
MeshType & vcg::LocalOptimization< MeshType >::m
 the mesh to optimize
int vcg::LocalOptimization< MeshType >::nPerfmormedOps
int vcg::LocalOptimization< MeshType >::nTargetOps
int vcg::LocalOptimization< MeshType >::nTargetSimplices
int vcg::LocalOptimization< MeshType >::nTargetVertices
PosType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::pos
 the pos of collapse
BaseParameterClass * vcg::LocalOptimization< MeshType >::pp
float vcg::LocalOptimization< MeshType >::HeapElem::pri
clock_t vcg::LocalOptimization< MeshType >::start
ScalarType vcg::LocalOptimization< MeshType >::targetMetric
int vcg::LocalOptimization< MeshType >::tf
float vcg::LocalOptimization< MeshType >::timeBudget
VertexType * vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::vrem
 pointer to vertex that remain

Typedef Documentation

template<class TETRA_MESH_TYPE >
typedef TetraType::VertexType::CoordType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::CoordType [private]

The coordinate type.

Definition at line 67 of file tetra_edge_collapse.h.

template<class TETRA_MESH_TYPE >
typedef LocalOptimization<TETRA_MESH_TYPE>::HeapElem vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::HeapElem [private]

definition of the heap element

Definition at line 77 of file tetra_edge_collapse.h.

template<class MeshType >
typedef LocalOptimization<MeshType>::HeapType vcg::LocalModification< MeshType >::HeapType
template<class MeshType>
typedef std::vector<HeapElem> vcg::LocalOptimization< MeshType >::HeapType

Definition at line 176 of file local_optimization.h.

template<class MeshType>
typedef LocalModification<MeshType>* vcg::LocalOptimization< MeshType >::LocModPtrType

Definition at line 180 of file local_optimization.h.

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

Definition at line 178 of file local_optimization.h.

template<class TETRA_MESH_TYPE >
typedef PosLoop<TetraType> vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::PosLType [private]

The HEdgePos Loop type.

Definition at line 75 of file tetra_edge_collapse.h.

template<class TETRA_MESH_TYPE >
typedef Pos<TetraType> vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::PosType [private]

The HEdgePos type.

Definition at line 73 of file tetra_edge_collapse.h.

template<class TETRA_MESH_TYPE >
typedef TETRA_MESH_TYPE::VertexType::ScalarType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::ScalarType [private]

The scalar type.

Reimplemented from vcg::LocalModification< MeshType >.

Definition at line 69 of file tetra_edge_collapse.h.

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

Reimplemented in vcg::tri::QuadDiagonalCollapse< MeshType, MYTYPE, TriMeshType, OptimizationType, WeightType, CheckType >, vcg::tri::QuadDiagonalCollapse< MyPolyMesh, MyCollapseAdaptive, CMesh, vcg::tri::VertReg< MyPolyMesh >, vcg::tri::FitmapsCollapse< MyPolyMesh, CMesh >, vcg::tri::FitmapsCollapse< MyPolyMesh, CMesh > >, vcg::tri::TopoEdgeFlip< TRIMESH_TYPE, MYTYPE >, vcg::tri::TriEdgeFlip< TRIMESH_TYPE, MYTYPE >, vcg::tri::TriEdgeFlip< MyMesh, MyDelaunayFlip >, vcg::tri::QuadDiagonalCollapseBase< MeshType, MYTYPE, TriMeshType, OptimizationType >, vcg::tri::QuadDiagonalCollapseBase< MyPolyMesh, MyCollapse, CMesh, vcg::tri::VertReg< MyPolyMesh > >, vcg::tri::QuadDiagonalCollapseBase< MyPolyMesh, MyCollapseAdaptive, CMesh, vcg::tri::VertReg< MyPolyMesh > >, vcg::tri::TriEdgeCollapseQuadricTex< TriMeshType, VertexPair, MYTYPE, HelperType >, vcg::tri::TriEdgeCollapseQuadricTex< MyMesh, VertexPair, MyTriEdgeCollapseQTex, QuadricTexHelper< MyMesh > >, vcg::tri::TriEdgeCollapseQuadric< TriMeshType, VertexPair, MYTYPE, HelperType >, vcg::tri::TriEdgeCollapseQuadric< MyMesh, VertexPair, MyTriEdgeCollapse, QInfoStandard< MyVertex > >, vcg::tri::TriEdgeCollapse< TriMeshType, VertexPair, MYTYPE >, vcg::tri::TriEdgeCollapse< MyMesh, VertexPair, MyTriEdgeCollapse >, vcg::tri::TriEdgeCollapse< MyMesh, VertexPair, MyTriEdgeCollapseQTex >, vcg::tri::PlanarEdgeFlip< TRIMESH_TYPE, MYTYPE, QualityFunc >, vcg::tri::PlanarEdgeFlip< MyMesh, MyDelaunayFlip >, vcg::tri::PlanarEdgeFlip< TRIMESH_TYPE, MYTYPE >, and vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >.

Definition at line 119 of file local_optimization.h.

template<class MeshType>
typedef MeshType::ScalarType vcg::LocalOptimization< MeshType >::ScalarType

Definition at line 172 of file local_optimization.h.

template<class TETRA_MESH_TYPE >
typedef TETRA_MESH_TYPE::TetraType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::TetraType [private]

The tetrahedral mesh type.

The tetrahedron type

Definition at line 63 of file tetra_edge_collapse.h.

template<class TETRA_MESH_TYPE >
typedef TetraType::VertexType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::VertexType [private]

The vertex type.

Definition at line 65 of file tetra_edge_collapse.h.


Enumeration Type Documentation

template<class MeshType>
enum vcg::LocalOptimization::LOTermination

termination conditions

Enumerator:
LOnSimplices 
LOnVertices 
LOnOps 
LOMetric 
LOTime 

Definition at line 185 of file local_optimization.h.


Function Documentation

template<class TETRA_MESH_TYPE >
ScalarType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::_AspectRatioMedia ( PosType  p) [inline, private]

Return the aspect Ratio media of the tetrahedrons that share the adge to collapse

Definition at line 113 of file tetra_edge_collapse.h.

template<class TETRA_MESH_TYPE >
static int& vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::_Imark ( ) [inline, static, private]

mark for up_dating

Definition at line 85 of file tetra_edge_collapse.h.

template<class TETRA_MESH_TYPE >
ScalarType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::_VolumePreservingError ( PosType pos,
CoordType new_point,
int  nsteps 
) [inline, private]

Modify pos and alfa to obtain the collapse that minimize the error.

Definition at line 131 of file tetra_edge_collapse.h.

template<class MeshType>
void vcg::LocalOptimization< MeshType >::ClearHeap ( ) [inline]

Definition at line 318 of file local_optimization.h.

template<class MeshType>
void vcg::LocalOptimization< MeshType >::ClearHeapOld ( ) [inline]

erase from the heap the operations that are out of date

Definition at line 392 of file local_optimization.h.

template<class MeshType>
void vcg::LocalOptimization< MeshType >::ClearTermination ( ) [inline]

Definition at line 222 of file local_optimization.h.

template<class MeshType>
void vcg::LocalOptimization< MeshType >::ClearTerminationFlag ( int  v) [inline]

Definition at line 212 of file local_optimization.h.

template<class TETRA_MESH_TYPE >
ScalarType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::ComputeError ( ) [inline]

Definition at line 195 of file tetra_edge_collapse.h.

template<class MeshType >
virtual ScalarType vcg::LocalModification< MeshType >::ComputePriority ( BaseParameterClass pp) [pure virtual]
template<class TETRA_MESH_TYPE >
ScalarType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::ComputePriority ( ) [inline]

Definition at line 190 of file tetra_edge_collapse.h.

template<class MeshType>
bool vcg::LocalOptimization< MeshType >::DoOptimization ( ) [inline]

main cycle of optimization

Definition at line 286 of file local_optimization.h.

template<class MeshType >
virtual void vcg::LocalModification< MeshType >::Execute ( MeshType &  m,
BaseParameterClass pp 
) [pure virtual]

Perform the operation.

template<class TETRA_MESH_TYPE >
void vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::Execute ( TETRA_MESH_TYPE &  tm) [inline]

Definition at line 201 of file tetra_edge_collapse.h.

template<class MeshType>
template<class LocalModificationType >
void vcg::LocalOptimization< MeshType >::Finalize ( ) [inline]

Definition at line 359 of file local_optimization.h.

template<class MeshType>
bool vcg::LocalOptimization< MeshType >::GoalReached ( ) [inline]

say if the process is to end or not: the process ends when any of the termination conditions is verified override this function to implemetn other tests

Definition at line 367 of file local_optimization.h.

template<class MeshType>
vcg::LocalOptimization< MeshType >::HeapElem::HeapElem ( ) [inline]

Definition at line 246 of file local_optimization.h.

template<class MeshType>
vcg::LocalOptimization< MeshType >::HeapElem::HeapElem ( LocModPtrType  _locModPtr) [inline]

Definition at line 254 of file local_optimization.h.

template<class MeshType >
static float vcg::LocalModification< MeshType >::HeapSimplexRatio ( BaseParameterClass ) [inline, static]

An approximation of the size of the heap with respect of the number of simplex of the mesh. When this number is exceeded a clear heap purging is performed. so it is should be reasonably larger than the minimum expected size to avoid too frequent clear heap For example for symmetric edge collapse a 5 is a good guess. while for non symmetric edge collapse a larger number like 9 is a better choice

Reimplemented in vcg::tri::TriEdgeCollapseQuadric< TriMeshType, VertexPair, MYTYPE, HelperType >, and vcg::tri::TriEdgeCollapseQuadric< MyMesh, VertexPair, MyTriEdgeCollapse, QInfoStandard< MyVertex > >.

Definition at line 151 of file local_optimization.h.

template<class MeshType >
virtual const char* vcg::LocalModification< MeshType >::Info ( MeshType &  ) [inline, virtual]
template<class TETRA_MESH_TYPE >
virtual const char* vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::Info ( TETRA_MESH_TYPE &  m) [inline, virtual]

Definition at line 184 of file tetra_edge_collapse.h.

template<class MeshType >
static void vcg::LocalModification< MeshType >::Init ( MeshType &  m,
HeapType ,
BaseParameterClass pp 
) [static]

perform initialization

template<class TETRA_MESH_TYPE >
static void vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::Init ( TETRA_MESH_TYPE &  m,
typename LocalOptimization< TETRA_MESH_TYPE >::HeapType h_ret 
) [inline, static]

perform initialization

Definition at line 269 of file tetra_edge_collapse.h.

template<class MeshType>
template<class LocalModificationType >
void vcg::LocalOptimization< MeshType >::Init ( ) [inline]

initialize for all vertex the temporary mark must call only at the start of decimation by default it takes the first element in the heap and calls Init (static funcion) of that type of local modification.

Definition at line 346 of file local_optimization.h.

template<class MeshType >
virtual bool vcg::LocalModification< MeshType >::IsFeasible ( BaseParameterClass pp) [pure virtual]
template<class TETRA_MESH_TYPE >
bool vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::IsFeasible ( ) [inline]

Definition at line 236 of file tetra_edge_collapse.h.

template<class MeshType >
virtual ModifierType vcg::LocalModification< MeshType >::IsOfType ( ) [pure virtual]
template<class TETRA_MESH_TYPE >
ModifierType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::IsOfType ( ) [inline, virtual]

return the type of operation

Implements vcg::LocalModification< MeshType >.

Definition at line 234 of file tetra_edge_collapse.h.

template<class MeshType>
bool vcg::LocalOptimization< MeshType >::IsTerminationFlag ( int  v) [inline]

Definition at line 213 of file local_optimization.h.

template<class MeshType >
virtual bool vcg::LocalModification< MeshType >::IsUpToDate ( ) const [pure virtual]
template<class TETRA_MESH_TYPE >
bool vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::IsUpToDate ( ) [inline]

Definition at line 243 of file tetra_edge_collapse.h.

template<class MeshType>
bool vcg::LocalOptimization< MeshType >::HeapElem::IsUpToDate ( ) const [inline]

Definition at line 268 of file local_optimization.h.

template<class MeshType >
vcg::LocalModification< MeshType >::LocalModification ( ) [inline]

Definition at line 122 of file local_optimization.h.

template<class MeshType>
vcg::LocalOptimization< MeshType >::LocalOptimization ( MeshType &  mm,
BaseParameterClass _pp 
) [inline]

Definition at line 170 of file local_optimization.h.

template<class MeshType>
bool vcg::LocalOptimization< MeshType >::HeapElem::operator< ( const HeapElem h) const [inline]

STL heap has the largest element as the first one. usually we mean priority as an error so we should invert the comparison

Definition at line 262 of file local_optimization.h.

template<class MeshType >
virtual ScalarType vcg::LocalModification< MeshType >::Priority ( ) const [pure virtual]
template<class TETRA_MESH_TYPE >
virtual ScalarType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::Priority ( ) const [inline, virtual]

Return the priority to be used in the heap (implement static priority)

Implements vcg::LocalModification< MeshType >.

Definition at line 264 of file tetra_edge_collapse.h.

template<class MeshType>
void vcg::LocalOptimization< MeshType >::SetTargetMetric ( ScalarType  tm) [inline]

Definition at line 219 of file local_optimization.h.

template<class MeshType>
void vcg::LocalOptimization< MeshType >::SetTargetOperations ( int  to) [inline]

Definition at line 217 of file local_optimization.h.

template<class MeshType>
void vcg::LocalOptimization< MeshType >::SetTargetSimplices ( int  ts) [inline]

Definition at line 215 of file local_optimization.h.

template<class MeshType>
void vcg::LocalOptimization< MeshType >::SetTargetVertices ( int  tv) [inline]

Definition at line 216 of file local_optimization.h.

template<class MeshType>
void vcg::LocalOptimization< MeshType >::SetTerminationFlag ( int  v) [inline]

Definition at line 211 of file local_optimization.h.

template<class MeshType>
void vcg::LocalOptimization< MeshType >::SetTimeBudget ( float  tb) [inline]

Definition at line 220 of file local_optimization.h.

template<class TETRA_MESH_TYPE >
vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::TetraEdgeCollapse ( ) [inline]

Default Constructor.

Definition at line 95 of file tetra_edge_collapse.h.

template<class TETRA_MESH_TYPE >
vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::TetraEdgeCollapse ( PosType  p,
int  mark 
) [inline]

Constructor with postype.

Definition at line 99 of file tetra_edge_collapse.h.

template<class MeshType >
virtual void vcg::LocalModification< MeshType >::UpdateHeap ( HeapType ,
BaseParameterClass pp 
) [pure virtual]
template<class TETRA_MESH_TYPE >
void vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::UpdateHeap ( typename LocalOptimization< TETRA_MESH_TYPE >::HeapType h_ret) [inline]

Definition at line 210 of file tetra_edge_collapse.h.

template<class MeshType>
vcg::LocalOptimization< MeshType >::HeapElem::~HeapElem ( ) [inline]

Definition at line 247 of file local_optimization.h.

template<class MeshType >
virtual vcg::LocalModification< MeshType >::~LocalModification ( ) [inline, virtual]

Definition at line 123 of file local_optimization.h.

template<class MeshType>
vcg::LocalOptimization< MeshType >::~LocalOptimization ( ) [inline]

Default distructor.

Definition at line 277 of file local_optimization.h.

template<class TETRA_MESH_TYPE >
vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::~TetraEdgeCollapse ( ) [inline]

Definition at line 106 of file tetra_edge_collapse.h.


Variable Documentation

template<class TETRA_MESH_TYPE >
vcg::tetra::EdgeCollapse<TETRA_MESH_TYPE> vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::_EC [private]

the pointer to edge collapser method

Definition at line 83 of file tetra_edge_collapse.h.

template<class TETRA_MESH_TYPE >
Point3<ScalarType> vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::_NewPoint [private]

the new point that substitute the edge

Definition at line 81 of file tetra_edge_collapse.h.

template<class TETRA_MESH_TYPE >
ScalarType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::_priority [private]

priority in the heap

Definition at line 91 of file tetra_edge_collapse.h.

template<class MeshType>
ScalarType vcg::LocalOptimization< MeshType >::currMetric

Definition at line 202 of file local_optimization.h.

template<class MeshType>
double vcg::LocalOptimization< MeshType >::e

Definition at line 281 of file local_optimization.h.

template<class MeshType>
HeapType vcg::LocalOptimization< MeshType >::h

the heap of operations

Definition at line 237 of file local_optimization.h.

template<class MeshType>
float vcg::LocalOptimization< MeshType >::HeapSimplexRatio

Definition at line 209 of file local_optimization.h.

template<class MeshType>
LocModPtrType vcg::LocalOptimization< MeshType >::HeapElem::locModPtr

pointer to instance of local modifier

Definition at line 250 of file local_optimization.h.

template<class MeshType>
MeshType& vcg::LocalOptimization< MeshType >::m

the mesh to optimize

Definition at line 232 of file local_optimization.h.

template<class MeshType>
int vcg::LocalOptimization< MeshType >::nPerfmormedOps

Definition at line 195 of file local_optimization.h.

template<class MeshType>
int vcg::LocalOptimization< MeshType >::nTargetOps

Definition at line 195 of file local_optimization.h.

template<class MeshType>
int vcg::LocalOptimization< MeshType >::nTargetSimplices

Definition at line 195 of file local_optimization.h.

template<class MeshType>
int vcg::LocalOptimization< MeshType >::nTargetVertices

Definition at line 195 of file local_optimization.h.

template<class TETRA_MESH_TYPE >
PosType vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::pos [private]

the pos of collapse

Definition at line 87 of file tetra_edge_collapse.h.

template<class MeshType>
BaseParameterClass* vcg::LocalOptimization< MeshType >::pp

Definition at line 204 of file local_optimization.h.

template<class MeshType>
float vcg::LocalOptimization< MeshType >::HeapElem::pri

Definition at line 251 of file local_optimization.h.

template<class MeshType>
clock_t vcg::LocalOptimization< MeshType >::start

Definition at line 201 of file local_optimization.h.

template<class MeshType>
ScalarType vcg::LocalOptimization< MeshType >::targetMetric

Definition at line 203 of file local_optimization.h.

template<class MeshType>
int vcg::LocalOptimization< MeshType >::tf

Definition at line 193 of file local_optimization.h.

template<class MeshType>
float vcg::LocalOptimization< MeshType >::timeBudget

Definition at line 200 of file local_optimization.h.

template<class TETRA_MESH_TYPE >
VertexType* vcg::tetra::TetraEdgeCollapse< TETRA_MESH_TYPE >::vrem [private]

pointer to vertex that remain

Definition at line 89 of file tetra_edge_collapse.h.



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