Public Types | Public Member Functions | Public Attributes | Private Types
vcg::tri::HausdorffSampler< MeshType > Class Template Reference

#include <point_sampling.h>

List of all members.

Public Types

typedef tri::FaceTmark< MeshType > MarkerFace

Public Member Functions

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

Public Attributes

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

Private Types

typedef MeshType::CoordType CoordType
typedef MeshType::FaceType FaceType
typedef GridStaticPtr
< FaceType, ScalarType
MetroMeshFaceGrid
typedef GridStaticPtr
< VertexType, ScalarType
MetroMeshVertexGrid
typedef MeshType::ScalarType ScalarType
typedef MeshType::VertexType VertexType

Detailed Description

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

Definition at line 205 of file point_sampling.h.


Member Typedef Documentation

template<class MeshType >
typedef MeshType::CoordType vcg::tri::HausdorffSampler< MeshType >::CoordType [private]

Definition at line 209 of file point_sampling.h.

template<class MeshType >
typedef MeshType::FaceType vcg::tri::HausdorffSampler< MeshType >::FaceType [private]

Definition at line 207 of file point_sampling.h.

template<class MeshType >
typedef tri::FaceTmark<MeshType> vcg::tri::HausdorffSampler< MeshType >::MarkerFace

Definition at line 242 of file point_sampling.h.

template<class MeshType >
typedef GridStaticPtr<FaceType, ScalarType > vcg::tri::HausdorffSampler< MeshType >::MetroMeshFaceGrid [private]

Definition at line 211 of file point_sampling.h.

template<class MeshType >
typedef GridStaticPtr<VertexType, ScalarType > vcg::tri::HausdorffSampler< MeshType >::MetroMeshVertexGrid [private]

Definition at line 212 of file point_sampling.h.

template<class MeshType >
typedef MeshType::ScalarType vcg::tri::HausdorffSampler< MeshType >::ScalarType [private]

Definition at line 210 of file point_sampling.h.

template<class MeshType >
typedef MeshType::VertexType vcg::tri::HausdorffSampler< MeshType >::VertexType [private]

Definition at line 208 of file point_sampling.h.


Constructor & Destructor Documentation

template<class MeshType >
vcg::tri::HausdorffSampler< MeshType >::HausdorffSampler ( MeshType *  _m,
MeshType *  _sampleMesh = 0,
MeshType *  _closestMesh = 0 
) [inline]

Definition at line 216 of file point_sampling.h.


Member Function Documentation

template<class MeshType >
void vcg::tri::HausdorffSampler< MeshType >::AddFace ( const FaceType f,
CoordType  interp 
) [inline]

Definition at line 273 of file point_sampling.h.

template<class MeshType >
float vcg::tri::HausdorffSampler< MeshType >::AddSample ( const CoordType startPt,
const CoordType startN 
) [inline]

Definition at line 286 of file point_sampling.h.

template<class MeshType >
void vcg::tri::HausdorffSampler< MeshType >::AddVert ( VertexType p) [inline]

Definition at line 280 of file point_sampling.h.

template<class MeshType >
float vcg::tri::HausdorffSampler< MeshType >::getMaxDist ( ) const [inline]

Definition at line 248 of file point_sampling.h.

template<class MeshType >
float vcg::tri::HausdorffSampler< MeshType >::getMeanDist ( ) const [inline]

Definition at line 246 of file point_sampling.h.

template<class MeshType >
float vcg::tri::HausdorffSampler< MeshType >::getMinDist ( ) const [inline]

Definition at line 247 of file point_sampling.h.

template<class MeshType >
float vcg::tri::HausdorffSampler< MeshType >::getRMSDist ( ) const [inline]

Definition at line 249 of file point_sampling.h.

template<class MeshType >
void vcg::tri::HausdorffSampler< MeshType >::init ( MeshType *  _sampleMesh = 0,
MeshType *  _closestMesh = 0 
) [inline]

Definition at line 251 of file point_sampling.h.


Member Data Documentation

template<class MeshType >
double vcg::tri::HausdorffSampler< MeshType >::area_S1

Definition at line 235 of file point_sampling.h.

template<class MeshType >
MeshType* vcg::tri::HausdorffSampler< MeshType >::closestPtMesh

the mesh containing the sample points

Definition at line 224 of file point_sampling.h.

template<class MeshType >
ScalarType vcg::tri::HausdorffSampler< MeshType >::dist_upper_bound

Definition at line 241 of file point_sampling.h.

template<class MeshType >
Histogramf vcg::tri::HausdorffSampler< MeshType >::hist

Definition at line 236 of file point_sampling.h.

template<class MeshType >
MeshType* vcg::tri::HausdorffSampler< MeshType >::m

Definition at line 222 of file point_sampling.h.

template<class MeshType >
MarkerFace vcg::tri::HausdorffSampler< MeshType >::markerFunctor

Definition at line 243 of file point_sampling.h.

template<class MeshType >
double vcg::tri::HausdorffSampler< MeshType >::max_dist

Definition at line 231 of file point_sampling.h.

template<class MeshType >
double vcg::tri::HausdorffSampler< MeshType >::mean_dist

Definition at line 232 of file point_sampling.h.

template<class MeshType >
double vcg::tri::HausdorffSampler< MeshType >::min_dist

Definition at line 230 of file point_sampling.h.

template<class MeshType >
int vcg::tri::HausdorffSampler< MeshType >::n_samples

Definition at line 239 of file point_sampling.h.

template<class MeshType >
int vcg::tri::HausdorffSampler< MeshType >::n_total_samples

Definition at line 238 of file point_sampling.h.

template<class MeshType >
double vcg::tri::HausdorffSampler< MeshType >::RMS_dist

Definition at line 233 of file point_sampling.h.

template<class MeshType >
MeshType* vcg::tri::HausdorffSampler< MeshType >::samplePtMesh

the mesh for which we search the closest points.

Definition at line 223 of file point_sampling.h.

template<class MeshType >
MetroMeshFaceGrid vcg::tri::HausdorffSampler< MeshType >::unifGridFace

Definition at line 227 of file point_sampling.h.

template<class MeshType >
MetroMeshVertexGrid vcg::tri::HausdorffSampler< MeshType >::unifGridVert

the mesh containing the corresponding closest points that have been found

Definition at line 226 of file point_sampling.h.

template<class MeshType >
bool vcg::tri::HausdorffSampler< MeshType >::useVertexSampling

Definition at line 240 of file point_sampling.h.

template<class MeshType >
double vcg::tri::HausdorffSampler< MeshType >::volume

from the wikipedia defintion RMS DIST is sqrt(Sum(distances^2)/n), here we store Sum(distances^2)

Definition at line 234 of file point_sampling.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:42:37