50 #ifndef OPENMESH_DECIMATER_MODEDGELENGTHT_HH
51 #define OPENMESH_DECIMATER_MODEDGELENGTHT_HH
82 bool _is_binary =
true);
92 sqr_edge_length_ = _f * _f;
108 typename Mesh::Scalar edge_length_, sqr_edge_length_;
115 #if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESH_DECIMATER_MODEDGELENGTHT_C)
116 #define MODEDGELENGTHT_TEMPLATES
120 #endif // OPENMESH_DECIMATER_MODEDGELENGTHT_HH defined
#define DECIMATING_MODULE(Classname, MeshT, Name)
Convenience macro, to be used in derived modules The macro defines the types.
Definition: ModBaseT.hh:147
float edge_length() const
get edge_length
Definition: ModEdgeLengthT.hh:85
ModEdgeLengthT(MeshT &_mesh, float _edge_length=FLT_MAX, bool _is_binary=true)
Constructor.
Definition: ModEdgeLengthT.cc:64
Use edge length to control decimation.
Definition: ModEdgeLengthT.hh:74
void set_error_tolerance_factor(double _factor)
set the percentage of edge length
Definition: ModEdgeLengthT.cc:82
Base class for all decimation modules.
Base class for all decimation modules.
Definition: ModBaseT.hh:190
void set_edge_length(float _f)
set edge_length
Definition: ModEdgeLengthT.hh:90
float collapse_priority(const CollapseInfo &_ci)
Compute priority: Binary mode: Don't collapse edges longer then edge_length_ Cont.
Definition: ModEdgeLengthT.cc:73
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:56