Developer Documentation
|
Public Types | |
typedef BaseRemesherT< Mesh > | Base |
typedef Mesh::Scalar | Scalar |
typedef Mesh::Point | Point |
typedef Mesh::EdgeHandle | EdgeHandle |
typedef Mesh::VertexHandle | VertexHandle |
![]() | |
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 | |
AdaptiveRemesherT (Mesh &_mesh, ProgressEmitter *_progress=NULL) | |
void | remesh (Scalar _error, Scalar _min_edge_length, Scalar _max_edge_length, unsigned int _iters, bool _use_projection=true, Selection _selection=BaseRemesherT< Mesh >::VERTEX_SELECTION) |
![]() | |
BaseRemesherT (Mesh &_mesh, ProgressEmitter *_progress=NULL) | |
void | remesh (unsigned int _iters, unsigned int _area_iters, bool _use_projection=true, Selection _selection=VERTEX_SELECTION) |
Protected Member Functions | |
virtual void | init_reference () override |
virtual void | project_to_reference (VertexHandle _vh) const override |
void | compute_curvature (Mesh &_mesh, OpenMesh::VPropHandleT< Scalar > _ph) |
virtual bool | is_too_long (VertexHandle _v0, VertexHandle _v1) const override |
virtual bool | is_too_short (VertexHandle _v0, VertexHandle _v1) const override |
![]() | |
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 | |
Scalar | error_ |
Scalar | emax_ |
Scalar | emin_ |
OpenMesh::VPropHandleT< Scalar > | refcurv_ |
OpenMesh::VPropHandleT< Scalar > | curvature_ |
![]() | |
Mesh & | mesh_ |
Mesh * | refmesh_ |
BSP * | bsp_ |
bool | nothing_selected_ |
OpenMesh::VPropHandleT< int > | valences_ |
OpenMesh::VPropHandleT< Point > | update_ |
OpenMesh::VPropHandleT< Scalar > | area_ |
ProgressEmitter * | progress_ |
Private Types | |
typedef BaseRemesherT< Mesh >::Selection | Selection |
Additional Inherited Members | |
![]() | |
typedef OpenMeshTriangleBSPT< Mesh > | BSP |
Definition at line 71 of file AdaptiveRemesherT.hh.
typedef BaseRemesherT<Mesh> Remeshing::AdaptiveRemesherT< Mesh >::Base |
Definition at line 76 of file AdaptiveRemesherT.hh.
typedef Mesh::EdgeHandle Remeshing::AdaptiveRemesherT< Mesh >::EdgeHandle |
Definition at line 79 of file AdaptiveRemesherT.hh.
typedef Mesh::Point Remeshing::AdaptiveRemesherT< Mesh >::Point |
Definition at line 78 of file AdaptiveRemesherT.hh.
typedef Mesh::Scalar Remeshing::AdaptiveRemesherT< Mesh >::Scalar |
Definition at line 77 of file AdaptiveRemesherT.hh.
|
private |
Definition at line 73 of file AdaptiveRemesherT.hh.
typedef Mesh::VertexHandle Remeshing::AdaptiveRemesherT< Mesh >::VertexHandle |
Definition at line 80 of file AdaptiveRemesherT.hh.
|
inline |
Definition at line 83 of file AdaptiveRemesherT.hh.
|
protected |
Definition at line 146 of file AdaptiveRemesherT_impl.hh.
|
overrideprotectedvirtual |
Reimplemented from Remeshing::BaseRemesherT< Mesh >.
Definition at line 69 of file AdaptiveRemesherT_impl.hh.
|
overrideprotectedvirtual |
Implements Remeshing::BaseRemesherT< Mesh >.
Definition at line 190 of file AdaptiveRemesherT_impl.hh.
|
overrideprotectedvirtual |
Implements Remeshing::BaseRemesherT< Mesh >.
Definition at line 214 of file AdaptiveRemesherT_impl.hh.
|
overrideprotectedvirtual |
Reimplemented from Remeshing::BaseRemesherT< Mesh >.
Definition at line 87 of file AdaptiveRemesherT_impl.hh.
void Remeshing::AdaptiveRemesherT< Mesh >::remesh | ( | Scalar | _error, |
Scalar | _min_edge_length, | ||
Scalar | _max_edge_length, | ||
unsigned int | _iters, | ||
bool | _use_projection = true , |
||
Selection | _selection = BaseRemesherT<Mesh>::VERTEX_SELECTION |
||
) |
Definition at line 164 of file AdaptiveRemesherT_impl.hh.
|
protected |
Definition at line 109 of file AdaptiveRemesherT.hh.
|
protected |
Definition at line 107 of file AdaptiveRemesherT.hh.
|
protected |
Definition at line 107 of file AdaptiveRemesherT.hh.
|
protected |
Definition at line 107 of file AdaptiveRemesherT.hh.
|
protected |
Definition at line 109 of file AdaptiveRemesherT.hh.