vcg::tri::Pivot< MESH > Class Template Reference
#include <pivot.h>
List of all members.
Public Types |
typedef GridStaticPtr
< typename MESH::VertexType,
typename MESH::ScalarType > | StaticGrid |
Public Member Functions |
int | addFace () |
bool | pivot (Hinge &Hinge, int &candidate, Point3f &end_pivot, std::vector< int > &targets) |
| Pivot (MESH &_mesh, float _radius, float _mindist=0.05, float _crease=-0.5) |
bool | seed (bool outside=true, int start=-1) |
Public Attributes |
Box3f | box |
float | crease |
std::list< Hinge > | deads |
std::list< Hinge > | front |
StaticGrid | grid |
MESH & | mesh |
float | mindist |
std::vector< int > | nb |
float | radius |
Private Member Functions |
void | addFace (int a, int b, int c) |
float | angle (Point3f p, Point3f q, Point3f &axis) |
bool | checkHinge (int v0, int v1) |
float | distance (int v0, int v1, Point3f ¢er) |
bool | findSphere (Point3f &p0, Point3f &p1, Point3f &p2, Point3f ¢er) |
unsigned int | getInSphere (vcg::Point3f &p, float distance, std::vector< int > &results, std::vector< float > &dists) |
bool | intersect (int v0, int v1, Point3f ¢er) |
void | killHinge (std::list< Hinge >::iterator e) |
void | moveBack (std::list< Hinge >::iterator e) |
void | moveFront (std::list< Hinge >::iterator e) |
std::list< Hinge >::iterator | newHinge (Hinge e) |
void | Pivot::cluster (int v) |
void | Pivot::detach (int v) |
bool | Pivot::glue (std::list< Hinge >::iterator a, std::list< Hinge >::iterator b) |
void | Pivot::trovamiunnome (std::list< Hinge >::iterator e) |
std::list< Hinge >::iterator | touches (int v, std::list< Hinge >::iterator e) |
Detailed Description
template<class MESH>
class vcg::tri::Pivot< MESH >
Definition at line 35 of file pivot.h.
Member Typedef Documentation
Constructor & Destructor Documentation
template<class MESH >
vcg::tri::Pivot< MESH >::Pivot |
( |
MESH & |
_mesh, |
|
|
float |
_radius, |
|
|
float |
_mindist = 0.05 , |
|
|
float |
_crease = -0.5 | |
|
) |
| | [inline] |
Member Function Documentation
template<class MESH >
void vcg::tri::Pivot< MESH >::addFace |
( |
int |
a, |
|
|
int |
b, |
|
|
int |
c | |
|
) |
| | [inline, private] |
template<class MESH >
bool vcg::tri::Pivot< MESH >::checkHinge |
( |
int |
v0, |
|
|
int |
v1 | |
|
) |
| | [inline, private] |
template<class MESH >
unsigned int vcg::tri::Pivot< MESH >::getInSphere |
( |
vcg::Point3f & |
p, |
|
|
float |
distance, |
|
|
std::vector< int > & |
results, |
|
|
std::vector< float > & |
dists | |
|
) |
| | [inline, private] |
template<class MESH >
bool vcg::tri::Pivot< MESH >::Pivot::glue |
( |
std::list< Hinge >::iterator |
a, |
|
|
std::list< Hinge >::iterator |
b | |
|
) |
| | [inline, private] |
template<class MESH >
void vcg::tri::Pivot< MESH >::Pivot::trovamiunnome |
( |
std::list< Hinge >::iterator |
e |
) |
[inline, private] |
template<class MESH >
bool vcg::tri::Pivot< MESH >::seed |
( |
bool |
outside = true , |
|
|
int |
start = -1 | |
|
) |
| | [inline] |
Member Data Documentation
The documentation for this class was generated from the following file: