50#include <OpenMesh/Tools/HoleFiller/HoleFillerT.hh>
52template<
class MeshT >
57 typedef std::vector< typename OpenMesh::SmartEdgeHandle > Hole;
64 std::vector< Hole > holes_;
83 void fillHole(
int _index,
int _stages = 3 );
86 void fillHole(
typename MeshT::EdgeHandle _eh,
int _stages = 3 );
95 void getHolePostitionInfo(
const int _index,
typename MeshT::Normal& _holeNormal,
typename MeshT::Point& _holeCenter)
const;
104 void getHoleInfo(
const unsigned int _index,
size_t& _edges,
typename MeshT::Scalar& _diagonal,
typename MeshT::Scalar& _boundaryLength)
const;
106 std::vector< std::vector< typename OpenMesh::SmartEdgeHandle > >*
holes();
109#if defined(INCLUDE_TEMPLATES) && !defined(HOLEINFO_C)
110#define HOLEINFO_TEMPLATES
111#include "HoleInfoT_impl.hh"
void getHoleInfo(const unsigned int _index, size_t &_edges, typename MeshT::Scalar &_diagonal, typename MeshT::Scalar &_boundaryLength) const
void fillAllHoles(int _stages=3)
fill all holes
void getHolePostitionInfo(const int _index, typename MeshT::Normal &_holeNormal, typename MeshT::Point &_holeCenter) const
Collect information to fly to a hole.
void getHoles()
get all holes and store them internally
void selectHole(int _index)
select a hole with given index
std::vector< std::vector< typename OpenMesh::SmartEdgeHandle > > * holes()
get the holes vector
HoleInfo(MeshT *_mesh)
Konstruktor.
void fillHole(int _index, int _stages=3)
fill hole with given index