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 ()
void DirtyCheck ()
 Distribution ()
ScalarType Max ()
ScalarType Min ()
ScalarType Percentile (ScalarType perc)
ScalarType RMS ()
 Returns the Root Mean Square of the data.
ScalarType StandardDeviation ()
 Returns the standard deviation of the data.
ScalarType Variance ()
 Returns the variance of the data.

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 101 of file histogram.h.


Constructor & Destructor Documentation

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

Definition at line 117 of file histogram.h.


Member Function Documentation

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

Definition at line 127 of file histogram.h.

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

Definition at line 138 of file histogram.h.

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

Definition at line 119 of file histogram.h.

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

Definition at line 148 of file histogram.h.

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

Definition at line 136 of file histogram.h.

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

Definition at line 135 of file histogram.h.

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

Definition at line 166 of file histogram.h.

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

Returns the Root Mean Square of the data.

Definition at line 140 of file histogram.h.

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

Returns the standard deviation of the data.

Definition at line 147 of file histogram.h.

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

Returns the variance of the data.

Definition at line 144 of file histogram.h.


Member Data Documentation

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

Definition at line 108 of file histogram.h.

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

Definition at line 105 of file histogram.h.

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

Definition at line 112 of file histogram.h.

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

Definition at line 111 of file histogram.h.

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

Definition at line 110 of file histogram.h.

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

Definition at line 109 of file histogram.h.

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

Definition at line 107 of file histogram.h.

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

Definition at line 106 of file histogram.h.

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

Definition at line 104 of file histogram.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:59 2013