$darkmode
VCG Library
Public Types | Public Member Functions | Public Attributes | List of all members
vcg::tri::HausdorffSampler< MeshType > Class Template Reference

Public Types

typedef tri::FaceTmark< MeshType > MarkerFace
 

Public Member Functions

 HausdorffSampler (MeshType *_m, MeshType *_sampleMesh=0, MeshType *_closestMesh=0)
 
float getMeanDist () const
 
float getMinDist () const
 
float getMaxDist () const
 
float getRMSDist () const
 
void init (MeshType *_sampleMesh=0, MeshType *_closestMesh=0)
 
void AddFace (const FaceType &f, CoordType interp)
 
void AddVert (VertexType &p)
 
float AddSample (const CoordType &startPt, const CoordType &startN)
 

Public Attributes

MeshType * m
 
MeshType * samplePtMesh
 the mesh for which we search the closest points.
 
MeshType * closestPtMesh
 the mesh containing the sample points
 
MetroMeshVertexGrid unifGridVert
 the mesh containing the corresponding closest points that have been found
 
MetroMeshFaceGrid unifGridFace
 
double min_dist
 
double max_dist
 
double mean_dist
 
double RMS_dist
 
double volume
 from the wikipedia defintion RMS DIST is sqrt(Sum(distances^2)/n), here we store Sum(distances^2)
 
double area_S1
 
Histogramf hist
 
int n_total_samples
 
int n_samples
 
bool useVertexSampling
 
ScalarType dist_upper_bound
 
MarkerFace markerFunctor
 

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