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 Mesh::VertexHandle v1
See CollapseInfoT::v1.
Info(const CollapseInfo &_ci)
std::vector< Info > InfoList
Type of the list storing the progressive mesh info Info.
~ModProgMeshT()
Destructor.
void postprocess_collapse(const CollapseInfo &_ci)
Mesh::VertexHandle vl
See CollapseInfoT::vl.
Mesh::VertexHandle v0
See CollapseInfoT::v0.
const InfoList & infolist() const
Reference to collected information.
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
ModProgMeshT(MeshT &_mesh)
Constructor.
Mesh::VertexHandle vr
See CollapseInfoT::vr.
bool write(const std::string &_ofname)