#include <cmtkAccumulatorSum.h>
Public Member Functions | |
Sum () | |
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. |
Sum accumulator.
Definition at line 50 of file cmtkAccumulatorSum.h.
cmtk::Accumulators::Sum< TDataType >::Sum | ( | ) | [inline] |
Default constructor.
Definition at line 54 of file cmtkAccumulatorSum.h.