#include <stat.h>
Public Types | |
typedef vcg::Box3< ScalarType > | Box3Type |
typedef MeshType::EdgeIterator | EdgeIterator |
typedef MeshType::FaceContainer | FaceContainer |
typedef MeshType::FaceIterator | FaceIterator |
typedef MeshType::FacePointer | FacePointer |
typedef MeshType::FaceType | FaceType |
typedef StatMeshType | MeshType |
typedef MeshType::ScalarType | ScalarType |
typedef MeshType::VertexIterator | VertexIterator |
typedef MeshType::VertexPointer | VertexPointer |
typedef MeshType::VertexType | VertexType |
Static Public Member Functions | |
static Point3< ScalarType > | ComputeCloudBarycenter (MeshType &m, bool useQualityAsWeight=false) |
compute the pointcloud barycenter. E.g. it assume each vertex has a mass. If useQualityAsWeight is true, vertex quality is the mass of the vertices | |
static ScalarType | ComputeEdgeLengthAverage (MeshType &m) |
static void | ComputeEdgeLengthHistogram (MeshType &m, Histogramf &h) |
static ScalarType | ComputeFaceEdgeLengthAverage (MeshType &m) |
static void | ComputeFaceEdgeLengthDistribution (MeshType &m, Distribution< float > &h, bool includeFauxEdge=false) |
static ScalarType | ComputeMeshArea (MeshType &m) |
static ScalarType | ComputeMeshVolume (MeshType &m) |
static std::pair< ScalarType, ScalarType > | ComputePerEdgeQualityMinMax (MeshType &m) |
static void | ComputePerFaceQualityDistribution (MeshType &m, Distribution< typename MeshType::ScalarType > &h, bool selectionOnly=false) |
static void | ComputePerFaceQualityHistogram (MeshType &m, Histogramf &h, bool selectionOnly=false, int HistSize=10000) |
static void | ComputePerFaceQualityMinMax (MeshType &m, float &minV, float &maxV) |
static std::pair< ScalarType, ScalarType > | ComputePerFaceQualityMinMax (MeshType &m) |
static void | ComputePerVertexQualityDistribution (MeshType &m, Distribution< float > &h, bool selectionOnly=false) |
static void | ComputePerVertexQualityHistogram (MeshType &m, Histogramf &h, bool selectionOnly=false, int HistSize=10000) |
static void | ComputePerVertexQualityMinMax (MeshType &m, float &minV, float &maxV) |
static std::pair< float, float > | ComputePerVertexQualityMinMax (MeshType &m) |
static Point3< ScalarType > | ComputeShellBarycenter (MeshType &m) |
compute the barycenter of the surface thin-shell. E.g. it assume a 'empty' model where all the mass is located on the surface and compute the barycenter of that thinshell. Works for any triangulated model (no problem with open, nonmanifold selfintersecting models). Useful for computing the barycenter of 2D planar figures. |
typedef vcg::Box3<ScalarType> vcg::tri::Stat< StatMeshType >::Box3Type |
typedef MeshType::EdgeIterator vcg::tri::Stat< StatMeshType >::EdgeIterator |
typedef MeshType::FaceContainer vcg::tri::Stat< StatMeshType >::FaceContainer |
typedef MeshType::FaceIterator vcg::tri::Stat< StatMeshType >::FaceIterator |
typedef MeshType::FacePointer vcg::tri::Stat< StatMeshType >::FacePointer |
typedef MeshType::FaceType vcg::tri::Stat< StatMeshType >::FaceType |
typedef StatMeshType vcg::tri::Stat< StatMeshType >::MeshType |
typedef MeshType::ScalarType vcg::tri::Stat< StatMeshType >::ScalarType |
typedef MeshType::VertexIterator vcg::tri::Stat< StatMeshType >::VertexIterator |
typedef MeshType::VertexPointer vcg::tri::Stat< StatMeshType >::VertexPointer |
typedef MeshType::VertexType vcg::tri::Stat< StatMeshType >::VertexType |
static Point3<ScalarType> vcg::tri::Stat< StatMeshType >::ComputeCloudBarycenter | ( | MeshType & | m, |
bool | useQualityAsWeight = false |
||
) | [inline, static] |
static ScalarType vcg::tri::Stat< StatMeshType >::ComputeEdgeLengthAverage | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::Stat< StatMeshType >::ComputeEdgeLengthHistogram | ( | MeshType & | m, |
Histogramf & | h | ||
) | [inline, static] |
static ScalarType vcg::tri::Stat< StatMeshType >::ComputeFaceEdgeLengthAverage | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::Stat< StatMeshType >::ComputeFaceEdgeLengthDistribution | ( | MeshType & | m, |
Distribution< float > & | h, | ||
bool | includeFauxEdge = false |
||
) | [inline, static] |
static ScalarType vcg::tri::Stat< StatMeshType >::ComputeMeshArea | ( | MeshType & | m | ) | [inline, static] |
static ScalarType vcg::tri::Stat< StatMeshType >::ComputeMeshVolume | ( | MeshType & | m | ) | [inline, static] |
static std::pair<ScalarType,ScalarType> vcg::tri::Stat< StatMeshType >::ComputePerEdgeQualityMinMax | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::Stat< StatMeshType >::ComputePerFaceQualityDistribution | ( | MeshType & | m, |
Distribution< typename MeshType::ScalarType > & | h, | ||
bool | selectionOnly = false |
||
) | [inline, static] |
static void vcg::tri::Stat< StatMeshType >::ComputePerFaceQualityHistogram | ( | MeshType & | m, |
Histogramf & | h, | ||
bool | selectionOnly = false , |
||
int | HistSize = 10000 |
||
) | [inline, static] |
static void vcg::tri::Stat< StatMeshType >::ComputePerFaceQualityMinMax | ( | MeshType & | m, |
float & | minV, | ||
float & | maxV | ||
) | [inline, static] |
static std::pair<ScalarType,ScalarType> vcg::tri::Stat< StatMeshType >::ComputePerFaceQualityMinMax | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::Stat< StatMeshType >::ComputePerVertexQualityDistribution | ( | MeshType & | m, |
Distribution< float > & | h, | ||
bool | selectionOnly = false |
||
) | [inline, static] |
static void vcg::tri::Stat< StatMeshType >::ComputePerVertexQualityHistogram | ( | MeshType & | m, |
Histogramf & | h, | ||
bool | selectionOnly = false , |
||
int | HistSize = 10000 |
||
) | [inline, static] |
static void vcg::tri::Stat< StatMeshType >::ComputePerVertexQualityMinMax | ( | MeshType & | m, |
float & | minV, | ||
float & | maxV | ||
) | [inline, static] |
static std::pair<float,float> vcg::tri::Stat< StatMeshType >::ComputePerVertexQualityMinMax | ( | MeshType & | m | ) | [inline, static] |
static Point3<ScalarType> vcg::tri::Stat< StatMeshType >::ComputeShellBarycenter | ( | MeshType & | m | ) | [inline, static] |
compute the barycenter of the surface thin-shell. E.g. it assume a 'empty' model where all the mass is located on the surface and compute the barycenter of that thinshell. Works for any triangulated model (no problem with open, nonmanifold selfintersecting models). Useful for computing the barycenter of 2D planar figures.