Computation of per-vertex directions and values of curvature. More...
#include <vcg/complex/algorithms/update/curvature_fitting.h>
Classes | |
class | Quadric |
class | QuadricLocal |
Public Types | |
typedef MeshType::CoordType | CoordType |
typedef MeshType::FaceIterator | FaceIterator |
typedef MeshType::FacePointer | FacePointer |
typedef MeshType::FaceType | FaceType |
typedef CoordType::ScalarType | ScalarType |
typedef MeshType::VertContainer | VertContainer |
typedef MeshType::VertexIterator | VertexIterator |
typedef MeshType::VertexPointer | VertexPointer |
typedef MeshType::VertexType | VertexType |
typedef MeshType::VertexPointer | VertexTypeP |
typedef vcg::face::VFIterator < FaceType > | VFIteratorType |
Static Public Member Functions | |
static void | applyProjOnPlane (CoordType ppn, std::vector< VertexType * > &vin, std::vector< VertexType * > *vout) |
static void | computeCurvature (MeshType &m) |
static std::vector< CoordType > | computeReferenceFrames (VertexTypeP vi) |
static void | computeReferenceFramesLocal (VertexType *v, CoordType ppn, std::vector< CoordType > *ref) |
static void | expandMaxLocal (MeshType &mesh, VertexType *v, int max, std::vector< VertexType * > *vv) |
static void | expandSphereLocal (MeshType &mesh, VertexType *v, float r, int min, std::vector< VertexType * > *vv) |
static void | finalEigenStuff (VertexType *v, std::vector< CoordType > ref, QuadricLocal q) |
static Quadric | fitQuadric (VertexTypeP v, std::vector< CoordType > &ref) |
static void | fitQuadricLocal (VertexType *v, std::vector< CoordType > ref, std::vector< VertexType * > &vv, QuadricLocal *q) |
static void | getAverageNormal (VertexType *vp, std::vector< VertexType * > &vv, CoordType *ppn) |
static std::set< CoordType > | getSecondRing (VertexTypeP v) |
static CoordType | project (VertexType *v, VertexType *vp) |
static CoordType | projectLocal (VertexType *v, VertexType *vp, CoordType ppn) |
static void | updateCurvatureLocal (MeshType &mesh, float radiusSphere) |
Computation of per-vertex directions and values of curvature.
This class is used to compute the per-vertex directions and values of curvature using a quadric fitting method.
Definition at line 61 of file curvature_fitting.h.
typedef MeshType::CoordType vcg::tri::UpdateCurvatureFitting< MeshType >::CoordType |
Definition at line 74 of file curvature_fitting.h.
typedef MeshType::FaceIterator vcg::tri::UpdateCurvatureFitting< MeshType >::FaceIterator |
Definition at line 67 of file curvature_fitting.h.
typedef MeshType::FacePointer vcg::tri::UpdateCurvatureFitting< MeshType >::FacePointer |
Definition at line 66 of file curvature_fitting.h.
typedef MeshType::FaceType vcg::tri::UpdateCurvatureFitting< MeshType >::FaceType |
Definition at line 65 of file curvature_fitting.h.
typedef CoordType::ScalarType vcg::tri::UpdateCurvatureFitting< MeshType >::ScalarType |
Definition at line 75 of file curvature_fitting.h.
typedef MeshType::VertContainer vcg::tri::UpdateCurvatureFitting< MeshType >::VertContainer |
Definition at line 69 of file curvature_fitting.h.
typedef MeshType::VertexIterator vcg::tri::UpdateCurvatureFitting< MeshType >::VertexIterator |
Definition at line 68 of file curvature_fitting.h.
typedef MeshType::VertexPointer vcg::tri::UpdateCurvatureFitting< MeshType >::VertexPointer |
Definition at line 71 of file curvature_fitting.h.
typedef MeshType::VertexType vcg::tri::UpdateCurvatureFitting< MeshType >::VertexType |
Definition at line 70 of file curvature_fitting.h.
typedef MeshType::VertexPointer vcg::tri::UpdateCurvatureFitting< MeshType >::VertexTypeP |
Definition at line 72 of file curvature_fitting.h.
typedef vcg::face::VFIterator<FaceType> vcg::tri::UpdateCurvatureFitting< MeshType >::VFIteratorType |
Definition at line 73 of file curvature_fitting.h.
static void vcg::tri::UpdateCurvatureFitting< MeshType >::applyProjOnPlane | ( | CoordType | ppn, |
std::vector< VertexType * > & | vin, | ||
std::vector< VertexType * > * | vout | ||
) | [inline, static] |
Definition at line 490 of file curvature_fitting.h.
static void vcg::tri::UpdateCurvatureFitting< MeshType >::computeCurvature | ( | MeshType & | m | ) | [inline, static] |
Definition at line 226 of file curvature_fitting.h.
static std::vector<CoordType> vcg::tri::UpdateCurvatureFitting< MeshType >::computeReferenceFrames | ( | VertexTypeP | vi | ) | [inline, static] |
Definition at line 161 of file curvature_fitting.h.
static void vcg::tri::UpdateCurvatureFitting< MeshType >::computeReferenceFramesLocal | ( | VertexType * | v, |
CoordType | ppn, | ||
std::vector< CoordType > * | ref | ||
) | [inline, static] |
Definition at line 503 of file curvature_fitting.h.
static void vcg::tri::UpdateCurvatureFitting< MeshType >::expandMaxLocal | ( | MeshType & | mesh, |
VertexType * | v, | ||
int | max, | ||
std::vector< VertexType * > * | vv | ||
) | [inline, static] |
Definition at line 431 of file curvature_fitting.h.
static void vcg::tri::UpdateCurvatureFitting< MeshType >::expandSphereLocal | ( | MeshType & | mesh, |
VertexType * | v, | ||
float | r, | ||
int | min, | ||
std::vector< VertexType * > * | vv | ||
) | [inline, static] |
Definition at line 445 of file curvature_fitting.h.
static void vcg::tri::UpdateCurvatureFitting< MeshType >::finalEigenStuff | ( | VertexType * | v, |
std::vector< CoordType > | ref, | ||
QuadricLocal | q | ||
) | [inline, static] |
Definition at line 551 of file curvature_fitting.h.
static Quadric vcg::tri::UpdateCurvatureFitting< MeshType >::fitQuadric | ( | VertexTypeP | v, |
std::vector< CoordType > & | ref | ||
) | [inline, static] |
Definition at line 201 of file curvature_fitting.h.
static void vcg::tri::UpdateCurvatureFitting< MeshType >::fitQuadricLocal | ( | VertexType * | v, |
std::vector< CoordType > | ref, | ||
std::vector< VertexType * > & | vv, | ||
QuadricLocal * | q | ||
) | [inline, static] |
Definition at line 522 of file curvature_fitting.h.
static void vcg::tri::UpdateCurvatureFitting< MeshType >::getAverageNormal | ( | VertexType * | vp, |
std::vector< VertexType * > & | vv, | ||
CoordType * | ppn | ||
) | [inline, static] |
Definition at line 479 of file curvature_fitting.h.
static std::set<CoordType> vcg::tri::UpdateCurvatureFitting< MeshType >::getSecondRing | ( | VertexTypeP | v | ) | [inline, static] |
Definition at line 180 of file curvature_fitting.h.
static CoordType vcg::tri::UpdateCurvatureFitting< MeshType >::project | ( | VertexType * | v, |
VertexType * | vp | ||
) | [inline, static] |
Definition at line 155 of file curvature_fitting.h.
static CoordType vcg::tri::UpdateCurvatureFitting< MeshType >::projectLocal | ( | VertexType * | v, |
VertexType * | vp, | ||
CoordType | ppn | ||
) | [inline, static] |
Definition at line 497 of file curvature_fitting.h.
static void vcg::tri::UpdateCurvatureFitting< MeshType >::updateCurvatureLocal | ( | MeshType & | mesh, |
float | radiusSphere | ||
) | [inline, static] |
Definition at line 622 of file curvature_fitting.h.