#include <advancing_front.h>
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< 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) |
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 () |
Definition at line 37 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 41 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 43 of file advancing_front.h.
typedef std::pair< ListID,std::list<FrontEdge>::iterator > vcg::tri::AdvancingFront< MESH >::ResultIterator [protected] |
Definition at line 97 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 42 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 40 of file advancing_front.h.
enum vcg::tri::AdvancingFront::ListID [protected] |
Definition at line 96 of file advancing_front.h.
vcg::tri::AdvancingFront< MESH >::AdvancingFront | ( | MESH & | _mesh | ) | [inline] |
Definition at line 62 of file advancing_front.h.
virtual vcg::tri::AdvancingFront< MESH >::~AdvancingFront | ( | ) | [inline, virtual] |
Definition at line 73 of file advancing_front.h.
void vcg::tri::AdvancingFront< MESH >::AddFace | ( | int | v0, | |
int | v1, | |||
int | v2 | |||
) | [inline, protected] |
Definition at line 360 of file advancing_front.h.
bool vcg::tri::AdvancingFront< MESH >::AddFace | ( | ) | [inline] |
Definition at line 197 of file advancing_front.h.
void vcg::tri::AdvancingFront< MESH >::AddVertex | ( | VertexType & | vertex | ) | [inline, protected] |
Definition at line 371 of file advancing_front.h.
void vcg::tri::AdvancingFront< MESH >::BuildMesh | ( | CallBackPos | call = NULL , |
|
int | interval = 512 | |||
) | [inline] |
Definition at line 76 of file advancing_front.h.
bool vcg::tri::AdvancingFront< MESH >::CheckEdge | ( | int | v0, | |
int | v1 | |||
) | [inline, protected] |
Definition at line 388 of file advancing_front.h.
bool vcg::tri::AdvancingFront< MESH >::CheckFrontEdge | ( | int | v0, | |
int | v1 | |||
) | [inline, protected] |
Definition at line 101 of file advancing_front.h.
void vcg::tri::AdvancingFront< MESH >::CreateLoops | ( | ) | [inline, protected] |
Definition at line 124 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 | a, | |
std::list< FrontEdge >::iterator | b | |||
) | [inline, protected] |
Definition at line 453 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.
void vcg::tri::AdvancingFront< MESH >::KillEdge | ( | std::list< FrontEdge >::iterator | e | ) | [inline, protected] |
Definition at line 418 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.
std::list<FrontEdge>::iterator vcg::tri::AdvancingFront< MESH >::NewEdge | ( | FrontEdge | e | ) | [inline, protected] |
Definition at line 413 of file advancing_front.h.
virtual int vcg::tri::AdvancingFront< MESH >::Place | ( | FrontEdge & | e, | |
ResultIterator & | touch | |||
) | [protected, pure virtual] |
virtual ScalarType vcg::tri::AdvancingFront< MESH >::radi | ( | ) | [inline, virtual] |
Reimplemented in vcg::tri::BallPivoting< MESH >.
Definition at line 74 of file advancing_front.h.
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 159 of file advancing_front.h.
std::list<FrontEdge> vcg::tri::AdvancingFront< MESH >::deads |
Definition at line 53 of file advancing_front.h.
std::list<FrontEdge> vcg::tri::AdvancingFront< MESH >::front |
Definition at line 52 of file advancing_front.h.
MESH& vcg::tri::AdvancingFront< MESH >::mesh |
Definition at line 60 of file advancing_front.h.
std::vector<int> vcg::tri::AdvancingFront< MESH >::nb |
Definition at line 54 of file advancing_front.h.