#include <ball_pivoting.h>

Public Types | |
| typedef MESH::FaceType | FaceType |
| typedef MESH::VertexType::CoordType | Point3x |
| typedef MESH::ScalarType | ScalarType |
| typedef MESH::VertexIterator | VertexIterator |
| typedef MESH::VertexType | VertexType |
Public Member Functions | |
| BallPivoting (MESH &_mesh, float _radius=0, float minr=0.2, float angle=M_PI/2) | |
| int | Place (FrontEdge &edge, typename AdvancingFront< MESH >::ResultIterator &touch) |
| bool | Seed (int &v0, int &v1, int &v2) |
| ~BallPivoting () | |
Public Attributes | |
| float | max_angle |
| float | max_edge |
| float | min_edge |
| float | radius |
Private Member Functions | |
| bool | FindSphere (const Point3x &p0, const Point3x &p1, const Point3x &p2, Point3x ¢er) |
| void | Mark (VertexType *v) |
| ScalarType | OrientedAngleRad (Point3x p, Point3x q, Point3x &axis) |
Private Attributes | |
| Point3x | baricenter |
| int | last_seed |
| KdTree< ScalarType > * | tree |
| int | usedBit |
Definition at line 19 of file ball_pivoting.h.
| typedef MESH::FaceType vcg::tri::BallPivoting< MESH >::FaceType |
Reimplemented from vcg::tri::AdvancingFront< MESH >.
Definition at line 22 of file ball_pivoting.h.
| typedef MESH::VertexType::CoordType vcg::tri::BallPivoting< MESH >::Point3x |
Reimplemented from vcg::tri::AdvancingFront< MESH >.
Definition at line 25 of file ball_pivoting.h.
| typedef MESH::ScalarType vcg::tri::BallPivoting< MESH >::ScalarType |
Reimplemented from vcg::tri::AdvancingFront< MESH >.
Definition at line 23 of file ball_pivoting.h.
| typedef MESH::VertexIterator vcg::tri::BallPivoting< MESH >::VertexIterator |
Definition at line 24 of file ball_pivoting.h.
| typedef MESH::VertexType vcg::tri::BallPivoting< MESH >::VertexType |
Reimplemented from vcg::tri::AdvancingFront< MESH >.
Definition at line 21 of file ball_pivoting.h.
| vcg::tri::BallPivoting< MESH >::BallPivoting | ( | MESH & | _mesh, |
| float | _radius = 0, |
||
| float | minr = 0.2, |
||
| float | angle = M_PI/2 |
||
| ) | [inline] |
Definition at line 37 of file ball_pivoting.h.
| vcg::tri::BallPivoting< MESH >::~BallPivoting | ( | ) | [inline] |
Definition at line 77 of file ball_pivoting.h.
| bool vcg::tri::BallPivoting< MESH >::FindSphere | ( | const Point3x & | p0, |
| const Point3x & | p1, | ||
| const Point3x & | p2, | ||
| Point3x & | center | ||
| ) | [inline, private] |
Definition at line 334 of file ball_pivoting.h.
| void vcg::tri::BallPivoting< MESH >::Mark | ( | VertexType * | v | ) | [inline, private] |
Definition at line 395 of file ball_pivoting.h.
| ScalarType vcg::tri::BallPivoting< MESH >::OrientedAngleRad | ( | Point3x | p, |
| Point3x | q, | ||
| Point3x & | axis | ||
| ) | [inline, private] |
Definition at line 385 of file ball_pivoting.h.
| int vcg::tri::BallPivoting< MESH >::Place | ( | FrontEdge & | edge, |
| typename AdvancingFront< MESH >::ResultIterator & | touch | ||
| ) | [inline] |
Definition at line 195 of file ball_pivoting.h.
| bool vcg::tri::BallPivoting< MESH >::Seed | ( | int & | v0, |
| int & | v1, | ||
| int & | v2 | ||
| ) | [inline, virtual] |
Implements vcg::tri::AdvancingFront< MESH >.
Definition at line 82 of file ball_pivoting.h.
Point3x vcg::tri::BallPivoting< MESH >::baricenter [private] |
Definition at line 327 of file ball_pivoting.h.
int vcg::tri::BallPivoting< MESH >::last_seed [private] |
Definition at line 325 of file ball_pivoting.h.
| float vcg::tri::BallPivoting< MESH >::max_angle |
Definition at line 30 of file ball_pivoting.h.
| float vcg::tri::BallPivoting< MESH >::max_edge |
Definition at line 29 of file ball_pivoting.h.
| float vcg::tri::BallPivoting< MESH >::min_edge |
Definition at line 28 of file ball_pivoting.h.
| float vcg::tri::BallPivoting< MESH >::radius |
Definition at line 27 of file ball_pivoting.h.
KdTree<ScalarType>* vcg::tri::BallPivoting< MESH >::tree [private] |
Definition at line 328 of file ball_pivoting.h.
int vcg::tri::BallPivoting< MESH >::usedBit [private] |
Definition at line 326 of file ball_pivoting.h.