#include <ball_pivoting.h>
Public Types | |
typedef MESH::FaceType | FaceType |
typedef MESH::VertexType::CoordType | Point3x |
typedef MESH::ScalarType | ScalarType |
typedef GridStaticPtr < typename MESH::VertexType, typename MESH::ScalarType > | StaticGrid |
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) |
ScalarType | radi () |
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 | |
ScalarType | Angle (Point3x p, Point3x q, Point3x &axis) |
bool | FindSphere (Point3x &p0, Point3x &p1, Point3x &p2, Point3x ¢er) |
void | Mark (VertexType *v) |
Private Attributes | |
Point3x | baricenter |
StaticGrid | grid |
int | last_seed |
int | usedBit |
Definition at line 7 of file ball_pivoting.h.
typedef MESH::FaceType vcg::tri::BallPivoting< MESH >::FaceType |
Reimplemented from vcg::tri::AdvancingFront< MESH >.
Definition at line 8 of file ball_pivoting.h.
typedef MESH::VertexType::CoordType vcg::tri::BallPivoting< MESH >::Point3x |
Reimplemented from vcg::tri::AdvancingFront< MESH >.
Definition at line 11 of file ball_pivoting.h.
typedef MESH::ScalarType vcg::tri::BallPivoting< MESH >::ScalarType |
Reimplemented from vcg::tri::AdvancingFront< MESH >.
Definition at line 9 of file ball_pivoting.h.
typedef GridStaticPtr<typename MESH::VertexType, typename MESH::ScalarType > vcg::tri::BallPivoting< MESH >::StaticGrid |
Definition at line 12 of file ball_pivoting.h.
typedef MESH::VertexIterator vcg::tri::BallPivoting< MESH >::VertexIterator |
Definition at line 10 of file ball_pivoting.h.
typedef MESH::VertexType vcg::tri::BallPivoting< MESH >::VertexType |
Reimplemented from vcg::tri::AdvancingFront< MESH >.
Definition at line 7 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 25 of file ball_pivoting.h.
vcg::tri::BallPivoting< MESH >::~BallPivoting | ( | ) | [inline] |
Definition at line 79 of file ball_pivoting.h.
ScalarType vcg::tri::BallPivoting< MESH >::Angle | ( | Point3x | p, | |
Point3x | q, | |||
Point3x & | axis | |||
) | [inline, private] |
Definition at line 383 of file ball_pivoting.h.
bool vcg::tri::BallPivoting< MESH >::FindSphere | ( | Point3x & | p0, | |
Point3x & | p1, | |||
Point3x & | p2, | |||
Point3x & | center | |||
) | [inline, private] |
Definition at line 332 of file ball_pivoting.h.
void vcg::tri::BallPivoting< MESH >::Mark | ( | VertexType * | v | ) | [inline, private] |
Definition at line 393 of file ball_pivoting.h.
int vcg::tri::BallPivoting< MESH >::Place | ( | FrontEdge & | edge, | |
typename AdvancingFront< MESH >::ResultIterator & | touch | |||
) | [inline] |
Definition at line 190 of file ball_pivoting.h.
ScalarType vcg::tri::BallPivoting< MESH >::radi | ( | ) | [inline, virtual] |
Reimplemented from vcg::tri::AdvancingFront< MESH >.
Definition at line 20 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 83 of file ball_pivoting.h.
Point3x vcg::tri::BallPivoting< MESH >::baricenter [private] |
Definition at line 324 of file ball_pivoting.h.
StaticGrid vcg::tri::BallPivoting< MESH >::grid [private] |
Definition at line 326 of file ball_pivoting.h.
int vcg::tri::BallPivoting< MESH >::last_seed [private] |
Definition at line 322 of file ball_pivoting.h.
float vcg::tri::BallPivoting< MESH >::max_angle |
Definition at line 17 of file ball_pivoting.h.
float vcg::tri::BallPivoting< MESH >::max_edge |
Definition at line 16 of file ball_pivoting.h.
float vcg::tri::BallPivoting< MESH >::min_edge |
Definition at line 15 of file ball_pivoting.h.
float vcg::tri::BallPivoting< MESH >::radius |
Definition at line 14 of file ball_pivoting.h.
int vcg::tri::BallPivoting< MESH >::usedBit [private] |
Definition at line 323 of file ball_pivoting.h.