Developer Documentation
|
Public Types | |
enum | Selection { VERTEX_SELECTION , FACE_SELECTION } |
typedef Mesh::Scalar | Scalar |
typedef Mesh::Point | Point |
typedef Mesh::EdgeHandle | EdgeHandle |
typedef Mesh::HalfedgeHandle | HalfedgeHandle |
typedef Mesh::VertexHandle | VertexHandle |
Public Member Functions | |
BaseRemesherT (Mesh &_mesh, ProgressEmitter *_progress=NULL) | |
void | remesh (unsigned int _iters, unsigned int _area_iters, bool _use_projection=true, Selection _selection=VERTEX_SELECTION) |
Protected Types | |
typedef OpenMeshTriangleBSPT< Mesh > | BSP |
Protected Member Functions | |
void | prepare_vertex_selection () |
prepare for remeshing only selected vertices (if no vertex was selected, remesh whole mesh) More... | |
void | prepare_face_selection () |
prepare for remeshing only vertices which are fully surrounded by selected faces (if no face was selected, remesh whole mesh) More... | |
void | remeshh (unsigned int _iters, unsigned int _aiters, bool _proj) |
void | cleanup () |
virtual void | init_reference () |
virtual void | delete_reference () |
virtual void | project_to_reference (VertexHandle _vh) const |
void | split_long_edges () |
void | collapse_short_edges () |
void | flip_edges () |
void | tangential_smoothing (bool _use_projection) |
void | balanace_area (unsigned int _iters, bool _use_projection) |
void | remove_caps () |
virtual bool | is_too_long (VertexHandle _v0, VertexHandle _v1) const =0 |
virtual bool | is_too_short (VertexHandle _v0, VertexHandle _v1) const =0 |
bool | edge_flip_flips_normal (EdgeHandle _eh) |
bool | collapse_flips_normal (HalfedgeHandle _heh) |
Protected Attributes | |
Mesh & | mesh_ |
Mesh * | refmesh_ |
BSP * | bsp_ |
bool | nothing_selected_ |
OpenMesh::VPropHandleT< int > | valences_ |
OpenMesh::VPropHandleT< Point > | update_ |
OpenMesh::VPropHandleT< Scalar > | area_ |
ProgressEmitter * | progress_ |
Definition at line 79 of file BaseRemesherT.hh.
|
protected |
Definition at line 135 of file BaseRemesherT.hh.
typedef Mesh::EdgeHandle Remeshing::BaseRemesherT< Mesh >::EdgeHandle |
Definition at line 91 of file BaseRemesherT.hh.
typedef Mesh::HalfedgeHandle Remeshing::BaseRemesherT< Mesh >::HalfedgeHandle |
Definition at line 92 of file BaseRemesherT.hh.
typedef Mesh::Point Remeshing::BaseRemesherT< Mesh >::Point |
Definition at line 90 of file BaseRemesherT.hh.
typedef Mesh::Scalar Remeshing::BaseRemesherT< Mesh >::Scalar |
Definition at line 89 of file BaseRemesherT.hh.
typedef Mesh::VertexHandle Remeshing::BaseRemesherT< Mesh >::VertexHandle |
Definition at line 93 of file BaseRemesherT.hh.
enum Remeshing::BaseRemesherT::Selection |
Definition at line 83 of file BaseRemesherT.hh.
Remeshing::BaseRemesherT< Mesh >::BaseRemesherT | ( | Mesh & | _mesh, |
ProgressEmitter * | _progress = NULL |
||
) |
Definition at line 76 of file BaseRemesherT_impl.hh.
|
virtual |
Definition at line 87 of file BaseRemesherT_impl.hh.
|
protected |
Definition at line 1016 of file BaseRemesherT_impl.hh.
|
protected |
Definition at line 497 of file BaseRemesherT_impl.hh.
|
protected |
Definition at line 1233 of file BaseRemesherT_impl.hh.
|
protected |
Definition at line 628 of file BaseRemesherT_impl.hh.
|
protectedvirtual |
Definition at line 172 of file BaseRemesherT_impl.hh.
|
protected |
Definition at line 1200 of file BaseRemesherT_impl.hh.
|
protected |
Definition at line 791 of file BaseRemesherT_impl.hh.
|
protectedvirtual |
Definition at line 100 of file BaseRemesherT_impl.hh.
|
protected |
prepare for remeshing only vertices which are fully surrounded by selected faces (if no face was selected, remesh whole mesh)
Definition at line 340 of file BaseRemesherT_impl.hh.
|
protected |
prepare for remeshing only selected vertices (if no vertex was selected, remesh whole mesh)
Definition at line 257 of file BaseRemesherT_impl.hh.
|
protectedvirtual |
Definition at line 185 of file BaseRemesherT_impl.hh.
void Remeshing::BaseRemesherT< Mesh >::remesh | ( | unsigned int | _iters, |
unsigned int | _area_iters, | ||
bool | _use_projection = true , |
||
Selection | _selection = VERTEX_SELECTION |
||
) |
Definition at line 230 of file BaseRemesherT_impl.hh.
|
protected |
Definition at line 445 of file BaseRemesherT_impl.hh.
|
protected |
Definition at line 1128 of file BaseRemesherT_impl.hh.
|
protected |
Definition at line 552 of file BaseRemesherT_impl.hh.
|
protected |
Definition at line 897 of file BaseRemesherT_impl.hh.
|
protected |
Definition at line 144 of file BaseRemesherT.hh.
|
protected |
Definition at line 139 of file BaseRemesherT.hh.
|
protected |
Definition at line 137 of file BaseRemesherT.hh.
|
protected |
Definition at line 140 of file BaseRemesherT.hh.
|
protected |
Definition at line 146 of file BaseRemesherT.hh.
|
protected |
Definition at line 138 of file BaseRemesherT.hh.
|
protected |
Definition at line 143 of file BaseRemesherT.hh.
|
protected |
Definition at line 142 of file BaseRemesherT.hh.