#include <advancing_front.h>
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< FrontEdge > | deads |
std::list< FrontEdge > | front |
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 () |
Definition at line 39 of file advancing_front.h.
typedef MESH::FaceIterator vcg::tri::AdvancingFront< MESH >::FaceIterator |
Reimplemented in vcg::tri::AdvancingTest< MESH >.
Definition at line 44 of file advancing_front.h.
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.
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.
typedef std::pair< ListID,std::list<FrontEdge>::iterator > vcg::tri::AdvancingFront< MESH >::ResultIterator [protected] |
Definition at line 100 of file advancing_front.h.
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.
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.
enum vcg::tri::AdvancingFront::ListID [protected] |
Definition at line 99 of file advancing_front.h.
vcg::tri::AdvancingFront< MESH >::AdvancingFront | ( | MESH & | _mesh | ) | [inline] |
Definition at line 65 of file advancing_front.h.
virtual vcg::tri::AdvancingFront< MESH >::~AdvancingFront | ( | ) | [inline, virtual] |
Definition at line 76 of file advancing_front.h.
bool vcg::tri::AdvancingFront< MESH >::AddFace | ( | ) | [inline] |
Definition at line 181 of file advancing_front.h.
void vcg::tri::AdvancingFront< MESH >::AddFace | ( | int | v0, |
int | v1, | ||
int | v2 | ||
) | [inline, protected] |
Definition at line 344 of file advancing_front.h.
std::list<FrontEdge>::iterator vcg::tri::AdvancingFront< MESH >::addNewEdge | ( | FrontEdge | e | ) | [inline, protected] |
Definition at line 414 of file advancing_front.h.
void vcg::tri::AdvancingFront< MESH >::AddVertex | ( | VertexType & | vertex | ) | [inline, protected] |
Definition at line 359 of file advancing_front.h.
void vcg::tri::AdvancingFront< MESH >::BuildMesh | ( | CallBackPos | call = NULL , |
int | interval = 512 |
||
) | [inline] |
Definition at line 78 of file advancing_front.h.
bool vcg::tri::AdvancingFront< MESH >::CheckEdge | ( | int | v0, |
int | v1 | ||
) | [inline, protected] |
Definition at line 380 of file advancing_front.h.
void vcg::tri::AdvancingFront< MESH >::CreateLoops | ( | ) | [inline, protected] |
Definition at line 107 of file advancing_front.h.
void vcg::tri::AdvancingFront< MESH >::Detach | ( | int | v | ) | [inline, protected] |
Definition at line 467 of file advancing_front.h.
void vcg::tri::AdvancingFront< MESH >::Erase | ( | std::list< FrontEdge >::iterator | e | ) | [inline, protected] |
Definition at line 433 of file advancing_front.h.
bool vcg::tri::AdvancingFront< MESH >::Glue | ( | std::list< FrontEdge >::iterator | e | ) | [inline, protected] |
Definition at line 448 of file advancing_front.h.
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.
void vcg::tri::AdvancingFront< MESH >::KillEdge | ( | std::list< FrontEdge >::iterator | e | ) | [inline, protected] |
Definition at line 419 of file advancing_front.h.
void vcg::tri::AdvancingFront< MESH >::MoveBack | ( | std::list< FrontEdge >::iterator | e | ) | [inline, protected] |
Definition at line 439 of file advancing_front.h.
void vcg::tri::AdvancingFront< MESH >::MoveFront | ( | std::list< FrontEdge >::iterator | e | ) | [inline, protected] |
Definition at line 443 of file advancing_front.h.
virtual int vcg::tri::AdvancingFront< MESH >::Place | ( | FrontEdge & | e, |
ResultIterator & | touch | ||
) | [protected, pure virtual] |
virtual bool vcg::tri::AdvancingFront< MESH >::Seed | ( | int & | v0, |
int & | v1, | ||
int & | v2 | ||
) | [protected, pure virtual] |
Implemented in vcg::tri::AdvancingTest< MESH >, and vcg::tri::BallPivoting< MESH >.
bool vcg::tri::AdvancingFront< MESH >::SeedFace | ( | ) | [inline, protected] |
Definition at line 143 of file advancing_front.h.
std::list<FrontEdge> vcg::tri::AdvancingFront< MESH >::deads |
Definition at line 56 of file advancing_front.h.
std::list<FrontEdge> vcg::tri::AdvancingFront< MESH >::front |
Definition at line 55 of file advancing_front.h.
MESH& vcg::tri::AdvancingFront< MESH >::mesh |
Definition at line 63 of file advancing_front.h.
std::vector<int> vcg::tri::AdvancingFront< MESH >::nb |
Definition at line 57 of file advancing_front.h.