Public Member Functions | Private Attributes
vcg::Distribution< ScalarType > Class Template Reference

#include <histogram.h>

List of all members.

Public Member Functions

void Add (const ScalarType v)
ScalarType Avg ()
void Clear ()
ScalarType Cnt () const
void DirtyCheck ()
 Distribution ()
ScalarType Max () const
ScalarType Min () const
ScalarType Percentile (ScalarType perc)
ScalarType RMS ()
 Returns the Root Mean Square of the data.
ScalarType StandardDeviation ()
 Returns the standard deviation of the data.
ScalarType Sum ()
ScalarType Variance ()
 Returns the variance of the data. the average of the squares less the square of the average.

Private Attributes

double avg
bool dirty
double max_v
double min_v
double rms
double sqrdAvg
double sqrdValSum
double valSum
std::vector< ScalarTypevec

Detailed Description

template<class ScalarType>
class vcg::Distribution< ScalarType >

Definition at line 37 of file histogram.h.


Constructor & Destructor Documentation

template<class ScalarType>
vcg::Distribution< ScalarType >::Distribution ( ) [inline]

Definition at line 53 of file histogram.h.


Member Function Documentation

template<class ScalarType>
void vcg::Distribution< ScalarType >::Add ( const ScalarType  v) [inline]

Definition at line 63 of file histogram.h.

template<class ScalarType>
ScalarType vcg::Distribution< ScalarType >::Avg ( ) [inline]

Definition at line 76 of file histogram.h.

template<class ScalarType>
void vcg::Distribution< ScalarType >::Clear ( ) [inline]

Definition at line 55 of file histogram.h.

template<class ScalarType>
ScalarType vcg::Distribution< ScalarType >::Cnt ( ) const [inline]

Definition at line 73 of file histogram.h.

template<class ScalarType>
void vcg::Distribution< ScalarType >::DirtyCheck ( ) [inline]

Definition at line 87 of file histogram.h.

template<class ScalarType>
ScalarType vcg::Distribution< ScalarType >::Max ( ) const [inline]

Definition at line 72 of file histogram.h.

template<class ScalarType>
ScalarType vcg::Distribution< ScalarType >::Min ( ) const [inline]

Definition at line 71 of file histogram.h.

template<class ScalarType>
ScalarType vcg::Distribution< ScalarType >::Percentile ( ScalarType  perc) [inline]

Definition at line 105 of file histogram.h.

template<class ScalarType>
ScalarType vcg::Distribution< ScalarType >::RMS ( ) [inline]

Returns the Root Mean Square of the data.

Definition at line 78 of file histogram.h.

template<class ScalarType>
ScalarType vcg::Distribution< ScalarType >::StandardDeviation ( ) [inline]

Returns the standard deviation of the data.

Definition at line 85 of file histogram.h.

template<class ScalarType>
ScalarType vcg::Distribution< ScalarType >::Sum ( ) [inline]

Definition at line 75 of file histogram.h.

template<class ScalarType>
ScalarType vcg::Distribution< ScalarType >::Variance ( ) [inline]

Returns the variance of the data. the average of the squares less the square of the average.

Definition at line 82 of file histogram.h.


Member Data Documentation

template<class ScalarType>
double vcg::Distribution< ScalarType >::avg [private]

Definition at line 44 of file histogram.h.

template<class ScalarType>
bool vcg::Distribution< ScalarType >::dirty [private]

Definition at line 41 of file histogram.h.

template<class ScalarType>
double vcg::Distribution< ScalarType >::max_v [private]

Definition at line 48 of file histogram.h.

template<class ScalarType>
double vcg::Distribution< ScalarType >::min_v [private]

Definition at line 47 of file histogram.h.

template<class ScalarType>
double vcg::Distribution< ScalarType >::rms [private]

Definition at line 46 of file histogram.h.

template<class ScalarType>
double vcg::Distribution< ScalarType >::sqrdAvg [private]

Definition at line 45 of file histogram.h.

template<class ScalarType>
double vcg::Distribution< ScalarType >::sqrdValSum [private]

Definition at line 43 of file histogram.h.

template<class ScalarType>
double vcg::Distribution< ScalarType >::valSum [private]

Definition at line 42 of file histogram.h.

template<class ScalarType>
std::vector<ScalarType> vcg::Distribution< ScalarType >::vec [private]

Definition at line 40 of file histogram.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:41:10