50 #ifndef BASE_REMESHERT_HH 51 #define BASE_REMESHERT_HH 62 #include <OpenMesh/Core/Utils/Property.hh> 63 #include <ACG/Geometry/bsp/TriangleBSPT.hh> 65 #include "../ProgressEmitter.hh" 91 typedef typename Mesh::EdgeHandle EdgeHandle;
98 void remesh(
unsigned int _iters,
99 unsigned int _area_iters,
100 bool _use_projection =
true,
101 Selection _selection=VERTEX_SELECTION);
111 void remeshh(
unsigned int _iters,
unsigned int _aiters,
bool _proj);
114 virtual void init_reference();
115 virtual void delete_reference();
116 virtual void project_to_reference(VertexHandle _vh)
const;
118 void split_long_edges();
119 void collapse_short_edges();
121 void tangential_smoothing(
bool _use_projection);
122 void balanace_area(
unsigned int _iters,
bool _use_projection);
125 virtual bool is_too_long (VertexHandle _v0, VertexHandle _v1)
const = 0;
126 virtual bool is_too_short (VertexHandle _v0, VertexHandle _v1)
const = 0;
137 bool nothing_selected_;
150 #if defined(INCLUDE_TEMPLATES) && !defined(BASE_REMESHERT_C) 151 #define BASE_REMESHERT_TEMPLATES 152 #include "BaseRemesherT_impl.hh" 155 #endif // BASE_REMESHERT_HH defined
Kernel::Point Point
Coordinate type.
void prepare_vertex_selection()
prepare for remeshing only selected vertices (if no vertex was selected, remesh whole mesh) ...
Kernel::Scalar Scalar
Scalar type.
void prepare_face_selection()
prepare for remeshing only vertices which are fully surrounded by selected faces (if no face was sele...
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.