Developer Documentation
HoleInfo< MeshT > Class Template Reference
Inheritance diagram for HoleInfo< MeshT >:
PerObjectData

Public Types

typedef std::vector< typename MeshT::EdgeHandle > Hole
 

Public Member Functions

 HoleInfo (MeshT *_mesh)
 Konstruktor. More...
 
 ~HoleInfo ()
 Destruktor. More...
 
void getHoles ()
 get all holes and store them internally More...
 
void fillHole (int _index, int _stages=3)
 fill hole with given index
 
void fillHole (typename MeshT::EdgeHandle _eh, int _stages=3)
 fill hole with given boundary edgeHandle More...
 
void fillAllHoles (int _stages=3)
 fill all holes More...
 
void selectHole (int _index)
 select a hole with given index
 
void getHolePostitionInfo (const int _index, typename MeshT::Normal &_holeNormal, typename MeshT::Point &_holeCenter) const
 Collect information to fly to a hole.
 
void getHoleInfo (const unsigned int _index, size_t &_edges, typename MeshT::Scalar &_diagonal, typename MeshT::Scalar &_boundaryLength) const
 
std::vector< std::vector< typename MeshT::EdgeHandle > > * holes ()
 get the holes vector
 
- Public Member Functions inherited from PerObjectData
 PerObjectData ()
 You have to provide your own constructor for your object.
 
virtual PerObjectDatacopyPerObjectData ()
 Copy Function. More...
 

Private Attributes

MeshT * mesh_
 
std::vector< Hole > holes_
 
HoleFiller< MeshT > * filler_
 

Detailed Description

template<class MeshT>
class HoleInfo< MeshT >

Definition at line 60 of file HoleInfoT.hh.

Constructor & Destructor Documentation

template<class MeshT >
HoleInfo< MeshT >::HoleInfo ( MeshT *  _mesh)

Konstruktor.

Constructor.

Definition at line 60 of file HoleInfoT.cc.

template<class MeshT >
HoleInfo< MeshT >::~HoleInfo ( )

Destruktor.

Destructor.

Definition at line 67 of file HoleInfoT.cc.

Member Function Documentation

template<class MeshT >
void HoleInfo< MeshT >::fillAllHoles ( int  _stages = 3)

fill all holes

fill all holes of the mesh

Definition at line 215 of file HoleInfoT.cc.

template<class MeshT >
void HoleInfo< MeshT >::fillHole ( typename MeshT::EdgeHandle  _eh,
int  _stages = 3 
)

fill hole with given boundary edgeHandle

fill hole with given edgeHandle on the boundary

Definition at line 199 of file HoleInfoT.cc.

template<class MeshT >
void HoleInfo< MeshT >::getHoleInfo ( const unsigned int  _index,
size_t &  _edges,
typename MeshT::Scalar &  _diagonal,
typename MeshT::Scalar &  _boundaryLength 
) const

Collect bounding box size and boundary length of holes

Parameters
_indexIndex of the hole
_edgesCount of boundary edges
_diagonalLength of the hole bounding box diagonal
_boundary_LengthBoundary length of the hole

Definition at line 264 of file HoleInfoT.cc.

template<class MeshT >
void HoleInfo< MeshT >::getHoles ( )

get all holes and store them internally

Find all holes in the mesh and store them in the internal list of holes.

Definition at line 75 of file HoleInfoT.cc.


The documentation for this class was generated from the following files: