 |
OpenMesh
|
Go to the documentation of this file.
57 #ifndef OPENMESH_DECIMATER_MODEDGELENGTHT_HH
58 #define OPENMESH_DECIMATER_MODEDGELENGTHT_HH
89 bool _is_binary =
true);
99 sqr_edge_length_ = _f * _f;
115 typename Mesh::Scalar edge_length_, sqr_edge_length_;
122 #if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESH_DECIMATER_MODEDGELENGTHT_C)
123 #define MODEDGELENGTHT_TEMPLATES
127 #endif // OPENMESH_DECIMATER_MODEDGELENGTHT_HH defined
void set_error_tolerance_factor(double _factor)
set the percentage of edge length
Definition: ModEdgeLengthT.cc:89
Martin, 26.12.2004: 1) replaced resize(size()-1) with pop_back(), since the later is more efficient 2...
Definition: MeshItems.hh:64
ModEdgeLengthT(MeshT &_mesh, float _edge_length=FLT_MAX, bool _is_binary=true)
Constructor.
Definition: ModEdgeLengthT.cc:71
Use edge length to control decimation.
Definition: ModEdgeLengthT.hh:81
void set_edge_length(float _f)
set edge_length
Definition: ModEdgeLengthT.hh:97
float collapse_priority(const CollapseInfo &_ci)
Compute priority: Binary mode: Don't collapse edges longer then edge_length_ Cont.
Definition: ModEdgeLengthT.cc:80
#define DECIMATING_MODULE(Classname, MeshT, Name)
Convenience macro, to be used in derived modules The macro defines the types.
Definition: ModBaseT.hh:154
float edge_length() const
get edge_length
Definition: ModEdgeLengthT.hh:92
Base class for all decimation modules.
Definition: ModBaseT.hh:197
Project OpenMesh,
© Computer Graphics Group, RWTH Aachen.
Documentation generated using
doxygen
.