Average-value accumulator. More...
#include <cmtkAccumulatorAvg.h>
Public Member Functions | |
Avg () | |
Default constructor. | |
void | Reset () |
Reset. | |
void | AddValue (const TDataType &value) |
Add a value. | |
const TDataType | GetResult () const |
Retrive accumulated result. | |
Private Attributes | |
TDataType | m_Sum |
Current sum of values. | |
unsigned int | m_Count |
Counter. |
Average-value accumulator.
Definition at line 48 of file cmtkAccumulatorAvg.h.
cmtk::Accumulators::Avg< TDataType >::Avg | ( | ) | [inline] |
Default constructor.
Definition at line 52 of file cmtkAccumulatorAvg.h.