Classes | Public Types | Static Public Member Functions
vcg::tri::Hole< MESH > Class Template Reference

#include <hole.h>

List of all members.

Classes

class  EdgeToBeAvoided
class  Info
class  Weight

Public Types

typedef vcg::Box3< ScalarTypeBox3Type
typedef MESH::CoordType CoordType
typedef MESH::FaceIterator FaceIterator
typedef MESH::FacePointer FacePointer
typedef MESH::FaceType FaceType
typedef face::Pos< FaceTypePosType
typedef MESH::ScalarType ScalarType
typedef MESH::VertexPointer VertexPointer
typedef MESH::VertexType VertexType

Static Public Member Functions

static void calculateMinimumWeightTriangulation (MESH &m, FaceIterator f, std::vector< PosType > vv)
static float ComputeDihedralAngle (CoordType p1, CoordType p2, CoordType p3, CoordType p4)
static Weight computeWeight (int i, int j, int k, std::vector< PosType > pv, std::vector< std::vector< int > > v)
template<class EAR >
static int EarCuttingFill (MESH &m, int sizeHole, bool Selected=false, CallBackPos *cb=0)
template<class EAR >
static int EarCuttingIntersectionFill (MESH &m, const int maxSizeHole, bool Selected, CallBackPos *cb=0)
static bool existEdge (PosType pi, PosType pf)
template<class EAR >
static void FillHoleEar (MESH &m, Info &h, std::vector< FacePointer * > &facePointersToBeUpdated)
static void getBoundHole (PosType sp, std::vector< PosType > &ret)
static void GetInfo (MESH &m, bool Selected, std::vector< Info > &VHI)
static void MinimumWeightFill (MESH &m, int holeSize, bool Selected)
static void triangulate (MESH &m, FaceIterator &f, int i, int j, std::vector< std::vector< int > > vi, std::vector< PosType > vv)

Detailed Description

template<class MESH>
class vcg::tri::Hole< MESH >

Definition at line 325 of file hole.h.


Member Typedef Documentation

template<class MESH>
typedef vcg::Box3<ScalarType> vcg::tri::Hole< MESH >::Box3Type

Definition at line 335 of file hole.h.

template<class MESH>
typedef MESH::CoordType vcg::tri::Hole< MESH >::CoordType

Definition at line 334 of file hole.h.

template<class MESH>
typedef MESH::FaceIterator vcg::tri::Hole< MESH >::FaceIterator

Definition at line 333 of file hole.h.

template<class MESH>
typedef MESH::FacePointer vcg::tri::Hole< MESH >::FacePointer

Definition at line 332 of file hole.h.

template<class MESH>
typedef MESH::FaceType vcg::tri::Hole< MESH >::FaceType

Definition at line 331 of file hole.h.

template<class MESH>
typedef face::Pos<FaceType> vcg::tri::Hole< MESH >::PosType

Definition at line 336 of file hole.h.

template<class MESH>
typedef MESH::ScalarType vcg::tri::Hole< MESH >::ScalarType

Definition at line 330 of file hole.h.

template<class MESH>
typedef MESH::VertexPointer vcg::tri::Hole< MESH >::VertexPointer

Definition at line 329 of file hole.h.

template<class MESH>
typedef MESH::VertexType vcg::tri::Hole< MESH >::VertexType

Definition at line 328 of file hole.h.


Member Function Documentation

template<class MESH>
static void vcg::tri::Hole< MESH >::calculateMinimumWeightTriangulation ( MESH &  m,
FaceIterator  f,
std::vector< PosType vv 
) [inline, static]

Definition at line 729 of file hole.h.

template<class MESH>
static float vcg::tri::Hole< MESH >::ComputeDihedralAngle ( CoordType  p1,
CoordType  p2,
CoordType  p3,
CoordType  p4 
) [inline, static]

Definition at line 645 of file hole.h.

template<class MESH>
static Weight vcg::tri::Hole< MESH >::computeWeight ( int  i,
int  j,
int  k,
std::vector< PosType pv,
std::vector< std::vector< int > >  v 
) [inline, static]

Definition at line 674 of file hole.h.

template<class MESH>
template<class EAR >
static int vcg::tri::Hole< MESH >::EarCuttingFill ( MESH &  m,
int  sizeHole,
bool  Selected = false,
CallBackPos cb = 0 
) [inline, static]

Definition at line 489 of file hole.h.

template<class MESH>
template<class EAR >
static int vcg::tri::Hole< MESH >::EarCuttingIntersectionFill ( MESH &  m,
const int  maxSizeHole,
bool  Selected,
CallBackPos cb = 0 
) [inline, static]

Main Hole Filling function. Given a mesh search for all the holes smaller than a given size and fill them It returns the number of filled holes.

Definition at line 518 of file hole.h.

template<class MESH>
static bool vcg::tri::Hole< MESH >::existEdge ( PosType  pi,
PosType  pf 
) [inline, static]

Definition at line 652 of file hole.h.

template<class MESH>
template<class EAR >
static void vcg::tri::Hole< MESH >::FillHoleEar ( MESH &  m,
Info h,
std::vector< FacePointer * > &  facePointersToBeUpdated 
) [inline, static]

Main Single Hole Filling Function Given a specific hole (identified by the Info h) it fills it It also update a vector of face pointers It uses an heap to choose the best ear to be closed

Definition at line 408 of file hole.h.

template<class MESH>
static void vcg::tri::Hole< MESH >::getBoundHole ( PosType  sp,
std::vector< PosType > &  ret 
) [inline, static]

Definition at line 862 of file hole.h.

template<class MESH>
static void vcg::tri::Hole< MESH >::GetInfo ( MESH &  m,
bool  Selected,
std::vector< Info > &  VHI 
) [inline, static]

IsD()

Definition at line 567 of file hole.h.

template<class MESH>
static void vcg::tri::Hole< MESH >::MinimumWeightFill ( MESH &  m,
int  holeSize,
bool  Selected 
) [inline, static]

Definition at line 809 of file hole.h.

template<class MESH>
static void vcg::tri::Hole< MESH >::triangulate ( MESH &  m,
FaceIterator f,
int  i,
int  j,
std::vector< std::vector< int > >  vi,
std::vector< PosType vv 
) [inline, static]

Definition at line 789 of file hole.h.


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


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:42:37