Public Member Functions | Private Attributes

cmtk::Accumulators::Max< TDataType > Class Template Reference

Maximum-value accumulator. More...

#include <cmtkAccumulatorMax.h>

List of all members.

Public Member Functions

 Max ()
 Default constructor.
void Reset ()
 Reset.
void AddValue (const TDataType &value)
 Add a value.
const TDataType GetResult () const
 Retrive accumulated result.

Private Attributes

bool m_Valid
 Flag whether there is a valid accumulated value.
TDataType m_Maximum
 Current maximum.

Detailed Description

template<class TDataType>
class cmtk::Accumulators::Max< TDataType >

Maximum-value accumulator.

Definition at line 48 of file cmtkAccumulatorMax.h.


Constructor & Destructor Documentation

template<class TDataType >
cmtk::Accumulators::Max< TDataType >::Max (  ) [inline]

Default constructor.

Definition at line 52 of file cmtkAccumulatorMax.h.


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