#include <textcoord_optimization.h>
Public Types | |
typedef MESH_TYPE::FaceIterator | FaceIterator |
typedef MESH_TYPE::FaceType | FaceType |
typedef MESH_TYPE | MeshType |
typedef MESH_TYPE::ScalarType | ScalarType |
typedef MESH_TYPE::VertexIterator | VertexIterator |
typedef MESH_TYPE::VertexType | VertexType |
Public Member Functions | |
void | FixVertex (const VertexType *v, bool fix=true) |
virtual ScalarType | Iterate ()=0 |
virtual void | IterateBlind ()=0 |
virtual ScalarType | IterateN (int step) |
bool | IterateUntilConvergence (ScalarType threshold=0.0001, int maxite=5000) |
MeshType & | Mesh () |
const MeshType & | Mesh () const |
void | SetBorderAsFixed () |
void | SetNothingAsFixed () |
virtual void | TargetCurrentGeometry ()=0 |
TextureOptimizer (MeshType &_m) | |
~TextureOptimizer () | |
Protected Attributes | |
SimpleTempData< typename MESH_TYPE::VertContainer, int > | isFixed |
MESH_TYPE & | m |
Definition at line 68 of file textcoord_optimization.h.
typedef MESH_TYPE::FaceIterator vcg::tri::TextureOptimizer< MESH_TYPE >::FaceIterator |
Reimplemented in vcg::tri::AreaPreservingTextureOptimizer< MESH_TYPE >.
Definition at line 77 of file textcoord_optimization.h.
typedef MESH_TYPE::FaceType vcg::tri::TextureOptimizer< MESH_TYPE >::FaceType |
Reimplemented in vcg::tri::AreaPreservingTextureOptimizer< MESH_TYPE >.
Definition at line 79 of file textcoord_optimization.h.
typedef MESH_TYPE vcg::tri::TextureOptimizer< MESH_TYPE >::MeshType |
Reimplemented in vcg::tri::AreaPreservingTextureOptimizer< MESH_TYPE >.
Definition at line 75 of file textcoord_optimization.h.
typedef MESH_TYPE::ScalarType vcg::tri::TextureOptimizer< MESH_TYPE >::ScalarType |
Reimplemented in vcg::tri::AreaPreservingTextureOptimizer< MESH_TYPE >.
Definition at line 80 of file textcoord_optimization.h.
typedef MESH_TYPE::VertexIterator vcg::tri::TextureOptimizer< MESH_TYPE >::VertexIterator |
Reimplemented in vcg::tri::AreaPreservingTextureOptimizer< MESH_TYPE >.
Definition at line 76 of file textcoord_optimization.h.
typedef MESH_TYPE::VertexType vcg::tri::TextureOptimizer< MESH_TYPE >::VertexType |
Reimplemented in vcg::tri::AreaPreservingTextureOptimizer< MESH_TYPE >.
Definition at line 78 of file textcoord_optimization.h.
vcg::tri::TextureOptimizer< MESH_TYPE >::TextureOptimizer | ( | MeshType & | _m | ) | [inline] |
Definition at line 88 of file textcoord_optimization.h.
vcg::tri::TextureOptimizer< MESH_TYPE >::~TextureOptimizer | ( | ) | [inline] |
Definition at line 119 of file textcoord_optimization.h.
void vcg::tri::TextureOptimizer< MESH_TYPE >::FixVertex | ( | const VertexType * | v, | |
bool | fix = true | |||
) | [inline] |
Definition at line 140 of file textcoord_optimization.h.
virtual ScalarType vcg::tri::TextureOptimizer< MESH_TYPE >::Iterate | ( | ) | [pure virtual] |
Implemented in vcg::tri::AreaPreservingTextureOptimizer< MESH_TYPE >.
virtual void vcg::tri::TextureOptimizer< MESH_TYPE >::IterateBlind | ( | ) | [pure virtual] |
Implemented in vcg::tri::AreaPreservingTextureOptimizer< MESH_TYPE >.
virtual ScalarType vcg::tri::TextureOptimizer< MESH_TYPE >::IterateN | ( | int | step | ) | [inline, virtual] |
Definition at line 102 of file textcoord_optimization.h.
bool vcg::tri::TextureOptimizer< MESH_TYPE >::IterateUntilConvergence | ( | ScalarType | threshold = 0.0001 , |
|
int | maxite = 5000 | |||
) | [inline] |
Definition at line 110 of file textcoord_optimization.h.
MeshType& vcg::tri::TextureOptimizer< MESH_TYPE >::Mesh | ( | ) | [inline] |
Definition at line 85 of file textcoord_optimization.h.
const MeshType& vcg::tri::TextureOptimizer< MESH_TYPE >::Mesh | ( | ) | const [inline] |
Definition at line 84 of file textcoord_optimization.h.
void vcg::tri::TextureOptimizer< MESH_TYPE >::SetBorderAsFixed | ( | ) | [inline] |
Definition at line 124 of file textcoord_optimization.h.
void vcg::tri::TextureOptimizer< MESH_TYPE >::SetNothingAsFixed | ( | ) | [inline] |
Definition at line 132 of file textcoord_optimization.h.
virtual void vcg::tri::TextureOptimizer< MESH_TYPE >::TargetCurrentGeometry | ( | ) | [pure virtual] |
Implemented in vcg::tri::AreaPreservingTextureOptimizer< MESH_TYPE >.
SimpleTempData<typename MESH_TYPE::VertContainer, int > vcg::tri::TextureOptimizer< MESH_TYPE >::isFixed [protected] |
Definition at line 71 of file textcoord_optimization.h.
MESH_TYPE& vcg::tri::TextureOptimizer< MESH_TYPE >::m [protected] |
Definition at line 70 of file textcoord_optimization.h.