Public Types | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions
vcg::tri::AdvancingFront< MESH > Class Template Reference

#include <advancing_front.h>

Inheritance diagram for vcg::tri::AdvancingFront< MESH >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef MESH::FaceIterator FaceIterator
typedef MESH::FaceType FaceType
typedef MESH::VertexType::CoordType Point3x
typedef MESH::ScalarType ScalarType
typedef MESH::VertexType VertexType

Public Member Functions

bool AddFace ()
 AdvancingFront (MESH &_mesh)
void BuildMesh (CallBackPos call=NULL, int interval=512)
virtual ~AdvancingFront ()

Public Attributes

std::list< FrontEdgedeads
std::list< FrontEdgefront
MESH & mesh
std::vector< int > nb

Protected Types

enum  ListID { FRONT, DEADS }
typedef std::pair< ListID,
std::list< FrontEdge >
::iterator > 
ResultIterator

Protected Member Functions

void AddFace (int v0, int v1, int v2)
std::list< FrontEdge >::iterator addNewEdge (FrontEdge e)
void AddVertex (VertexType &vertex)
bool CheckEdge (int v0, int v1)
void CreateLoops ()
void Detach (int v)
void Erase (std::list< FrontEdge >::iterator e)
bool Glue (std::list< FrontEdge >::iterator e)
bool Glue (std::list< FrontEdge >::iterator a, std::list< FrontEdge >::iterator b)
void KillEdge (std::list< FrontEdge >::iterator e)
void MoveBack (std::list< FrontEdge >::iterator e)
void MoveFront (std::list< FrontEdge >::iterator e)
virtual int Place (FrontEdge &e, ResultIterator &touch)=0
virtual bool Seed (int &v0, int &v1, int &v2)=0
bool SeedFace ()

Detailed Description

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

Definition at line 39 of file advancing_front.h.


Member Typedef Documentation

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

Reimplemented in vcg::tri::AdvancingTest< MESH >.

Definition at line 44 of file advancing_front.h.

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

Reimplemented in vcg::tri::AdvancingTest< MESH >, and vcg::tri::BallPivoting< MESH >.

Definition at line 43 of file advancing_front.h.

template<class MESH>
typedef MESH::VertexType::CoordType vcg::tri::AdvancingFront< MESH >::Point3x

Reimplemented in vcg::tri::AdvancingTest< MESH >, and vcg::tri::BallPivoting< MESH >.

Definition at line 46 of file advancing_front.h.

template<class MESH>
typedef std::pair< ListID,std::list<FrontEdge>::iterator > vcg::tri::AdvancingFront< MESH >::ResultIterator [protected]

Definition at line 100 of file advancing_front.h.

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

Reimplemented in vcg::tri::AdvancingTest< MESH >, and vcg::tri::BallPivoting< MESH >.

Definition at line 45 of file advancing_front.h.

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

Reimplemented in vcg::tri::AdvancingTest< MESH >, and vcg::tri::BallPivoting< MESH >.

Definition at line 42 of file advancing_front.h.


Member Enumeration Documentation

template<class MESH>
enum vcg::tri::AdvancingFront::ListID [protected]
Enumerator:
FRONT 
DEADS 

Definition at line 99 of file advancing_front.h.


Constructor & Destructor Documentation

template<class MESH>
vcg::tri::AdvancingFront< MESH >::AdvancingFront ( MESH &  _mesh) [inline]

Definition at line 65 of file advancing_front.h.

template<class MESH>
virtual vcg::tri::AdvancingFront< MESH >::~AdvancingFront ( ) [inline, virtual]

Definition at line 76 of file advancing_front.h.


Member Function Documentation

template<class MESH>
bool vcg::tri::AdvancingFront< MESH >::AddFace ( ) [inline]

Definition at line 181 of file advancing_front.h.

template<class MESH>
void vcg::tri::AdvancingFront< MESH >::AddFace ( int  v0,
int  v1,
int  v2 
) [inline, protected]

Definition at line 344 of file advancing_front.h.

template<class MESH>
std::list<FrontEdge>::iterator vcg::tri::AdvancingFront< MESH >::addNewEdge ( FrontEdge  e) [inline, protected]

Definition at line 414 of file advancing_front.h.

template<class MESH>
void vcg::tri::AdvancingFront< MESH >::AddVertex ( VertexType vertex) [inline, protected]

Definition at line 359 of file advancing_front.h.

template<class MESH>
void vcg::tri::AdvancingFront< MESH >::BuildMesh ( CallBackPos  call = NULL,
int  interval = 512 
) [inline]

Definition at line 78 of file advancing_front.h.

template<class MESH>
bool vcg::tri::AdvancingFront< MESH >::CheckEdge ( int  v0,
int  v1 
) [inline, protected]

Definition at line 380 of file advancing_front.h.

template<class MESH>
void vcg::tri::AdvancingFront< MESH >::CreateLoops ( ) [inline, protected]

Definition at line 107 of file advancing_front.h.

template<class MESH>
void vcg::tri::AdvancingFront< MESH >::Detach ( int  v) [inline, protected]

Definition at line 467 of file advancing_front.h.

template<class MESH>
void vcg::tri::AdvancingFront< MESH >::Erase ( std::list< FrontEdge >::iterator  e) [inline, protected]

Definition at line 433 of file advancing_front.h.

template<class MESH>
bool vcg::tri::AdvancingFront< MESH >::Glue ( std::list< FrontEdge >::iterator  e) [inline, protected]

Definition at line 448 of file advancing_front.h.

template<class MESH>
bool vcg::tri::AdvancingFront< MESH >::Glue ( std::list< FrontEdge >::iterator  a,
std::list< FrontEdge >::iterator  b 
) [inline, protected]

Definition at line 453 of file advancing_front.h.

template<class MESH>
void vcg::tri::AdvancingFront< MESH >::KillEdge ( std::list< FrontEdge >::iterator  e) [inline, protected]

Definition at line 419 of file advancing_front.h.

template<class MESH>
void vcg::tri::AdvancingFront< MESH >::MoveBack ( std::list< FrontEdge >::iterator  e) [inline, protected]

Definition at line 439 of file advancing_front.h.

template<class MESH>
void vcg::tri::AdvancingFront< MESH >::MoveFront ( std::list< FrontEdge >::iterator  e) [inline, protected]

Definition at line 443 of file advancing_front.h.

template<class MESH>
virtual int vcg::tri::AdvancingFront< MESH >::Place ( FrontEdge e,
ResultIterator touch 
) [protected, pure virtual]
template<class MESH>
virtual bool vcg::tri::AdvancingFront< MESH >::Seed ( int &  v0,
int &  v1,
int &  v2 
) [protected, pure virtual]
template<class MESH>
bool vcg::tri::AdvancingFront< MESH >::SeedFace ( ) [inline, protected]

Definition at line 143 of file advancing_front.h.


Member Data Documentation

template<class MESH>
std::list<FrontEdge> vcg::tri::AdvancingFront< MESH >::deads

Definition at line 56 of file advancing_front.h.

template<class MESH>
std::list<FrontEdge> vcg::tri::AdvancingFront< MESH >::front

Definition at line 55 of file advancing_front.h.

template<class MESH>
MESH& vcg::tri::AdvancingFront< MESH >::mesh

Definition at line 63 of file advancing_front.h.

template<class MESH>
std::vector<int> vcg::tri::AdvancingFront< MESH >::nb

Definition at line 57 of file advancing_front.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:41:52