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

Public Types

typedef std::vector< typename OpenMesh::SmartEdgeHandleHole
 

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 More...
 
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 More...
 
void getHolePostitionInfo (const int _index, typename MeshT::Normal &_holeNormal, typename MeshT::Point &_holeCenter) const
 Collect information to fly to a hole. More...
 
void getHoleInfo (const unsigned int _index, size_t &_edges, typename MeshT::Scalar &_diagonal, typename MeshT::Scalar &_boundaryLength) const
 
std::vector< std::vector< typename OpenMesh::SmartEdgeHandle > > * holes ()
 get the holes vector More...
 
- Public Member Functions inherited from PerObjectData
 PerObjectData ()
 You have to provide your own constructor for your object. More...
 
virtual PerObjectDatacopyPerObjectData ()
 Copy Function. More...
 

Private Attributes

MeshTmesh_
 
std::vector< Hole > holes_
 
OpenMesh::HoleFiller::HoleFillerT< MeshT > * filler_
 

Detailed Description

template<class MeshT>
class HoleInfo< MeshT >

Definition at line 53 of file HoleInfoT.hh.

Member Typedef Documentation

◆ Hole

template<class MeshT >
typedef std::vector< typename OpenMesh::SmartEdgeHandle > HoleInfo< MeshT >::Hole

Definition at line 57 of file HoleInfoT.hh.

Constructor & Destructor Documentation

◆ HoleInfo()

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

Konstruktor.

Constructor.

Definition at line 53 of file HoleInfoT_impl.hh.

◆ ~HoleInfo()

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

Destruktor.

Destructor.

Definition at line 60 of file HoleInfoT_impl.hh.

Member Function Documentation

◆ fillAllHoles()

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

fill all holes

fill all holes of the mesh

Definition at line 207 of file HoleInfoT_impl.hh.

◆ fillHole() [1/2]

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

fill hole with given index

Definition at line 169 of file HoleInfoT_impl.hh.

◆ fillHole() [2/2]

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 191 of file HoleInfoT_impl.hh.

◆ getHoleInfo()

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 256 of file HoleInfoT_impl.hh.

◆ getHolePostitionInfo()

template<class MeshT >
void HoleInfo< MeshT >::getHolePostitionInfo ( const int  _index,
typename MeshT::Normal &  _holeNormal,
typename MeshT::Point &  _holeCenter 
) const

Collect information to fly to a hole.

Definition at line 234 of file HoleInfoT_impl.hh.

◆ getHoles()

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 68 of file HoleInfoT_impl.hh.

◆ holes()

template<class MeshT >
std::vector< std::vector< typename OpenMesh::SmartEdgeHandle > > * HoleInfo< MeshT >::holes

get the holes vector

Definition at line 290 of file HoleInfoT_impl.hh.

◆ selectHole()

template<class MeshT >
void HoleInfo< MeshT >::selectHole ( int  _index)

select a hole with given index

Definition at line 219 of file HoleInfoT_impl.hh.

Member Data Documentation

◆ filler_

template<class MeshT >
OpenMesh::HoleFiller::HoleFillerT< MeshT >* HoleInfo< MeshT >::filler_
private

Definition at line 67 of file HoleInfoT.hh.

◆ holes_

template<class MeshT >
std::vector< Hole > HoleInfo< MeshT >::holes_
private

Definition at line 64 of file HoleInfoT.hh.

◆ mesh_

template<class MeshT >
MeshT* HoleInfo< MeshT >::mesh_
private

Definition at line 61 of file HoleInfoT.hh.


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