Class of static functions to smooth and fair meshes and their attributes. More...
#include <smooth.h>
Classes | |
class | ColorSmoothInfo |
class | HCSmoothInfo |
class | LaplacianInfo |
class | PDFaceInfo |
class | PDVertInfo |
class | QualitySmoothInfo |
class | ScaleLaplacianInfo |
Public Types | |
typedef vcg::Box3< ScalarType > | Box3Type |
typedef MeshType::VertexType::CoordType | CoordType |
typedef MeshType::FaceContainer | FaceContainer |
typedef MeshType::FaceIterator | FaceIterator |
typedef MeshType::FacePointer | FacePointer |
typedef MeshType::FaceType | FaceType |
typedef SmoothMeshType | MeshType |
typedef MeshType::ScalarType | ScalarType |
typedef MeshType::VertexIterator | VertexIterator |
typedef MeshType::VertexPointer | VertexPointer |
typedef MeshType::VertexType | VertexType |
typedef vcg::face::VFIterator < FaceType > | VFLocalIterator |
Public Member Functions | |
void | FaceNormalFuzzyVectorSB (MeshType &m, SimpleTempData< typename MeshType::FaceContainer, PDFaceInfo > &TD, ScalarType sigma) |
void | VertexCoordLaplacianCurvatureFlow (MeshType &, int, ScalarType) |
Static Public Member Functions | |
static void | AccumulateLaplacianInfo (MeshType &m, SimpleTempData< typename MeshType::VertContainer, LaplacianInfo > &TD, bool cotangentFlag=false) |
template<class ScalarType > | |
static CoordType | CrossProdGradient (CoordType &p, CoordType &p0, CoordType &p1, CoordType &m) |
static void | FaceColorLaplacian (MeshType &m, int step, bool SmoothSelected=false, vcg::CallBackPos *cb=0) |
static CoordType | FaceErrorGrad (CoordType &p, CoordType &p0, CoordType &p1, CoordType &m) |
static void | FaceNormalAngleThreshold (MeshType &m, SimpleTempData< typename MeshType::FaceContainer, PDFaceInfo > &TD, ScalarType sigma) |
static void | FaceNormalLaplacianFF (MeshType &m, int step=1, bool SmoothSelected=false) |
static void | FaceNormalLaplacianVF (MeshType &m) |
static void | FastFitMesh (MeshType &m, SimpleTempData< typename MeshType::VertContainer, PDVertInfo > &TDV, bool OnlySelected=false) |
static void | FitMesh (MeshType &m, SimpleTempData< typename MeshType::VertContainer, PDVertInfo > &TDV, SimpleTempData< typename MeshType::FaceContainer, PDFaceInfo > &TDF, float lambda) |
static void | PointCloudQualityAverage (MeshType &m, int neighbourSize=8, int iter=1) |
static void | PointCloudQualityMedian (MeshType &m, int medianSize=8) |
static CoordType | TriAreaGradient (CoordType &p, CoordType &p0, CoordType &p1) |
static void | VertexColorLaplacian (MeshType &m, int step, bool SmoothSelected=false, vcg::CallBackPos *cb=0) |
static void | VertexCoordLaplacian (MeshType &m, int step, bool SmoothSelected=false, bool cotangentWeight=false, vcg::CallBackPos *cb=0) |
static void | VertexCoordLaplacianAngleWeighted (MeshType &m, int step, ScalarType delta) |
static void | VertexCoordLaplacianBlend (MeshType &m, int step, float alpha, bool SmoothSelected=false) |
static void | VertexCoordLaplacianHC (MeshType &m, int step, bool SmoothSelected=false) |
static void | VertexCoordLaplacianQuality (MeshType &m, int step, bool SmoothSelected=false) |
template<class GRID , class MeshTypeTri > | |
static void | VertexCoordLaplacianReproject (MeshType &m, GRID &grid, MeshTypeTri &gridmesh) |
Laplacian smoothing with a reprojection on a target surface. | |
template<class GRID , class MeshTypeTri > | |
static void | VertexCoordLaplacianReproject (MeshType &m, GRID &grid, MeshTypeTri &gridmesh, typename MeshType::VertexType *vp) |
static void | VertexCoordPasoDoble (MeshType &m, int NormalSmoothStep, typename MeshType::ScalarType Sigma=0, int FitStep=50, bool SmoothSelected=false) |
static void | VertexCoordPlanarLaplacian (MeshType &m, int step, float AngleThrRad=math::ToRad(1.0), bool SmoothSelected=false, vcg::CallBackPos *cb=0) |
static void | VertexCoordScaleDependentLaplacian_Fujiwara (MeshType &m, int step, ScalarType delta) |
static void | VertexCoordTaubin (MeshType &m, int step, float lambda, float mu, bool SmoothSelected=false, vcg::CallBackPos *cb=0) |
static void | VertexCoordViewDepth (MeshType &m, const CoordType &viewpoint, const ScalarType alpha, int step, bool SmoothBorder=false) |
static void | VertexNormalLaplacian (MeshType &m, int step, bool SmoothSelected=false) |
static void | VertexNormalPointCloud (MeshType &m, int neighborNum, int iterNum, KdTree< ScalarType > *tp=0) |
static void | VertexQualityLaplacian (MeshType &m, int step=1, bool SmoothSelected=false) |
Class of static functions to smooth and fair meshes and their attributes.