50 #include "HoleFillerT.hh" 52 template<
class MeshT >
57 typedef std::vector< typename MeshT::EdgeHandle > 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 MeshT::EdgeHandle > >*
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 selectHole(int _index)
select a hole with given index
void fillAllHoles(int _stages=3)
fill all holes
void fillHole(int _index, int _stages=3)
fill hole with given index
void getHoles()
get all holes and store them internally
void getHolePostitionInfo(const int _index, typename MeshT::Normal &_holeNormal, typename MeshT::Point &_holeCenter) const
Collect information to fly to a hole.
std::vector< std::vector< typename MeshT::EdgeHandle > > * holes()
get the holes vector
HoleInfo(MeshT *_mesh)
Konstruktor.