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::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 ScalarType radi ()
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)
void AddVertex (VertexType &vertex)
bool CheckEdge (int v0, int v1)
bool CheckFrontEdge (int v0, int v1)
void CreateLoops ()
void Detach (int v)
void Erase (std::list< FrontEdge >::iterator e)
bool Glue (std::list< FrontEdge >::iterator a, std::list< FrontEdge >::iterator b)
bool Glue (std::list< FrontEdge >::iterator e)
void KillEdge (std::list< FrontEdge >::iterator e)
void MoveBack (std::list< FrontEdge >::iterator e)
void MoveFront (std::list< FrontEdge >::iterator e)
std::list< FrontEdge >::iterator NewEdge (FrontEdge 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 37 of file advancing_front.h.


Member Typedef Documentation

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 41 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 43 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 97 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 42 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 40 of file advancing_front.h.


Member Enumeration Documentation

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

Definition at line 96 of file advancing_front.h.


Constructor & Destructor Documentation

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

Definition at line 62 of file advancing_front.h.

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

Definition at line 73 of file advancing_front.h.


Member Function Documentation

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

Definition at line 360 of file advancing_front.h.

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

Definition at line 197 of file advancing_front.h.

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

Definition at line 371 of file advancing_front.h.

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

Definition at line 76 of file advancing_front.h.

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

Definition at line 388 of file advancing_front.h.

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

Definition at line 101 of file advancing_front.h.

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

Definition at line 124 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  a,
std::list< FrontEdge >::iterator  b 
) [inline, protected]

Definition at line 453 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>
void vcg::tri::AdvancingFront< MESH >::KillEdge ( std::list< FrontEdge >::iterator  e  )  [inline, protected]

Definition at line 418 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>
std::list<FrontEdge>::iterator vcg::tri::AdvancingFront< MESH >::NewEdge ( FrontEdge  e  )  [inline, protected]

Definition at line 413 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 ScalarType vcg::tri::AdvancingFront< MESH >::radi (  )  [inline, virtual]

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

Definition at line 74 of file advancing_front.h.

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 159 of file advancing_front.h.


Member Data Documentation

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

Definition at line 53 of file advancing_front.h.

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

Definition at line 52 of file advancing_front.h.

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

Definition at line 60 of file advancing_front.h.

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

Definition at line 54 of file advancing_front.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:28 2013