59 #ifndef OPENMESH_TOOLS_MODPROGMESHT_HH
60 #define OPENMESH_TOOLS_MODPROGMESHT_HH
66 #include <OpenMesh/Core/Utils/Property.hh>
84 template <
class MeshT>
118 Base::mesh().add_property( idx_ );
125 Base::mesh().remove_property( idx_ );
128 const InfoList& pmi()
const
140 pmi_.push_back(
Info( _ci ) );
144 bool is_binary(
void)
const {
return true; }
173 bool write(
const std::string& _ofname );
180 void set_binary(
bool _b) {}
191 #if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESH_DECIMATER_MODPROGMESH_CC)
192 #define OSG_MODPROGMESH_TEMPLATES
196 #endif // OPENMESH_TOOLS_PROGMESHT_HH defined
std::vector< Info > InfoList
Type of the list storing the progressive mesh info Info.
Mesh::VertexHandle v1
See CollapseInfoT::v1.
Mesh::VertexHandle vr
See CollapseInfoT::vr.
bool write(const std::string &_ofname)
const InfoList & infolist() const
Reference to collected information.
~ModProgMeshT()
Destructor.
Mesh::VertexHandle v0
See CollapseInfoT::v0.
ModProgMeshT(MeshT &_mesh)
Constructor.
void postprocess_collapse(const CollapseInfo &_ci)
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
Info(const CollapseInfo &_ci)
Mesh::VertexHandle vl
See CollapseInfoT::vl.