OverlapEstimation< MESH_TYPE >::Parameters Class Reference

Public class to hold parameters. Used to avoid endless list of parameters inside functions. More...

#include <overlap_estimation.h>

List of all members.

Public Member Functions

 Parameters ()

Public Attributes

int bestScore
 Score to overcome to paint mMov . If overlap estimation is called many times inside a loop, you can set this value in each iteration to paint mMov and see only the best overlap achived.
float consensusDist
 Consensus distance. Lower values should gat more accurancy; high values can lead to performance hit.
float consensusNormalsAngle
 Holds the the consensus angle for normals, in gradients. Lower values decrease accurancy, particulary for range maps with many peaks and high frequencies.
void(* log )(int level, const char *f,...)
 Pointer to a log function.
bool normalEqualization
 Allows to use normal equalization sampling in consensus. If set to false uniform sampling is used instead. Uniform sampling is faster but less accurate.
bool paint
 Allows painting of mMov according to consensus. See Paint() for details.
int samples
 Number of samples to check to compute the overlap. Higher values get more accurancy but requires more time.
float threshold
 Consensus percentage requested to win consensus. Used to paint mMov. If the overlap overcames the threshold (and bestScore), mMov is painted.

Detailed Description

template<class MESH_TYPE>
class OverlapEstimation< MESH_TYPE >::Parameters

Public class to hold parameters. Used to avoid endless list of parameters inside functions.

Author:
Francesco Tonarelli

Definition at line 84 of file overlap_estimation.h.


Constructor & Destructor Documentation

template<class MESH_TYPE >
OverlapEstimation< MESH_TYPE >::Parameters::Parameters (  )  [inline]

Constructor with default values.

Definition at line 97 of file overlap_estimation.h.


Member Data Documentation

template<class MESH_TYPE >
int OverlapEstimation< MESH_TYPE >::Parameters::bestScore

Score to overcome to paint mMov . If overlap estimation is called many times inside a loop, you can set this value in each iteration to paint mMov and see only the best overlap achived.

Definition at line 88 of file overlap_estimation.h.

template<class MESH_TYPE >
float OverlapEstimation< MESH_TYPE >::Parameters::consensusDist

Consensus distance. Lower values should gat more accurancy; high values can lead to performance hit.

Definition at line 89 of file overlap_estimation.h.

template<class MESH_TYPE >
float OverlapEstimation< MESH_TYPE >::Parameters::consensusNormalsAngle

Holds the the consensus angle for normals, in gradients. Lower values decrease accurancy, particulary for range maps with many peaks and high frequencies.

Definition at line 90 of file overlap_estimation.h.

template<class MESH_TYPE >
void(* OverlapEstimation< MESH_TYPE >::Parameters::log)(int level, const char *f,...)

Pointer to a log function.

Definition at line 94 of file overlap_estimation.h.

template<class MESH_TYPE >
bool OverlapEstimation< MESH_TYPE >::Parameters::normalEqualization

Allows to use normal equalization sampling in consensus. If set to false uniform sampling is used instead. Uniform sampling is faster but less accurate.

Definition at line 92 of file overlap_estimation.h.

template<class MESH_TYPE >
bool OverlapEstimation< MESH_TYPE >::Parameters::paint

Allows painting of mMov according to consensus. See Paint() for details.

Definition at line 93 of file overlap_estimation.h.

template<class MESH_TYPE >
int OverlapEstimation< MESH_TYPE >::Parameters::samples

Number of samples to check to compute the overlap. Higher values get more accurancy but requires more time.

Definition at line 87 of file overlap_estimation.h.

template<class MESH_TYPE >
float OverlapEstimation< MESH_TYPE >::Parameters::threshold

Consensus percentage requested to win consensus. Used to paint mMov. If the overlap overcames the threshold (and bestScore), mMov is painted.

Definition at line 91 of file overlap_estimation.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:17 2013