Classes | Public Types | Static Public Member Functions
vcg::tri::UpdateCurvatureFitting< MeshType > Class Template Reference

Computation of per-vertex directions and values of curvature. More...

#include <vcg/complex/algorithms/update/curvature_fitting.h>

List of all members.

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< CoordTypecomputeReferenceFrames (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< CoordTypegetSecondRing (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)

Detailed Description

template<class MeshType>
class vcg::tri::UpdateCurvatureFitting< MeshType >

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.


Member Typedef Documentation

template<class MeshType >
typedef MeshType::CoordType vcg::tri::UpdateCurvatureFitting< MeshType >::CoordType

Definition at line 74 of file curvature_fitting.h.

template<class MeshType >
typedef MeshType::FaceIterator vcg::tri::UpdateCurvatureFitting< MeshType >::FaceIterator

Definition at line 67 of file curvature_fitting.h.

template<class MeshType >
typedef MeshType::FacePointer vcg::tri::UpdateCurvatureFitting< MeshType >::FacePointer

Definition at line 66 of file curvature_fitting.h.

template<class MeshType >
typedef MeshType::FaceType vcg::tri::UpdateCurvatureFitting< MeshType >::FaceType

Definition at line 65 of file curvature_fitting.h.

template<class MeshType >
typedef CoordType::ScalarType vcg::tri::UpdateCurvatureFitting< MeshType >::ScalarType

Definition at line 75 of file curvature_fitting.h.

template<class MeshType >
typedef MeshType::VertContainer vcg::tri::UpdateCurvatureFitting< MeshType >::VertContainer

Definition at line 69 of file curvature_fitting.h.

template<class MeshType >
typedef MeshType::VertexIterator vcg::tri::UpdateCurvatureFitting< MeshType >::VertexIterator

Definition at line 68 of file curvature_fitting.h.

template<class MeshType >
typedef MeshType::VertexPointer vcg::tri::UpdateCurvatureFitting< MeshType >::VertexPointer

Definition at line 71 of file curvature_fitting.h.

template<class MeshType >
typedef MeshType::VertexType vcg::tri::UpdateCurvatureFitting< MeshType >::VertexType

Definition at line 70 of file curvature_fitting.h.

template<class MeshType >
typedef MeshType::VertexPointer vcg::tri::UpdateCurvatureFitting< MeshType >::VertexTypeP

Definition at line 72 of file curvature_fitting.h.

template<class MeshType >
typedef vcg::face::VFIterator<FaceType> vcg::tri::UpdateCurvatureFitting< MeshType >::VFIteratorType

Definition at line 73 of file curvature_fitting.h.


Member Function Documentation

template<class MeshType >
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.

template<class MeshType >
static void vcg::tri::UpdateCurvatureFitting< MeshType >::computeCurvature ( MeshType &  m) [inline, static]

Definition at line 226 of file curvature_fitting.h.

template<class MeshType >
static std::vector<CoordType> vcg::tri::UpdateCurvatureFitting< MeshType >::computeReferenceFrames ( VertexTypeP  vi) [inline, static]

Definition at line 161 of file curvature_fitting.h.

template<class MeshType >
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.

template<class MeshType >
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.

template<class MeshType >
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.

template<class MeshType >
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.

template<class MeshType >
static Quadric vcg::tri::UpdateCurvatureFitting< MeshType >::fitQuadric ( VertexTypeP  v,
std::vector< CoordType > &  ref 
) [inline, static]

Definition at line 201 of file curvature_fitting.h.

template<class MeshType >
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.

template<class MeshType >
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.

template<class MeshType >
static std::set<CoordType> vcg::tri::UpdateCurvatureFitting< MeshType >::getSecondRing ( VertexTypeP  v) [inline, static]

Definition at line 180 of file curvature_fitting.h.

template<class MeshType >
static CoordType vcg::tri::UpdateCurvatureFitting< MeshType >::project ( VertexType v,
VertexType vp 
) [inline, static]

Definition at line 155 of file curvature_fitting.h.

template<class MeshType >
static CoordType vcg::tri::UpdateCurvatureFitting< MeshType >::projectLocal ( VertexType v,
VertexType vp,
CoordType  ppn 
) [inline, static]

Definition at line 497 of file curvature_fitting.h.

template<class MeshType >
static void vcg::tri::UpdateCurvatureFitting< MeshType >::updateCurvatureLocal ( MeshType &  mesh,
float  radiusSphere 
) [inline, static]

Definition at line 622 of file curvature_fitting.h.


The documentation for this class was generated from the following file:


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:43:41