OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Attributes
StatMinMaxBase Class Reference

#include <stat_min_max.hh>

Public Member Functions

 StatMinMaxBase ()
template<typename T , class D >
void VisitState (const ImageStateImpl< T, D > &isi)
void VisitFunction (const Function &f)
Real GetMinimum () const
Point GetMinimumPosition () const
void SetMinimum (Real m)
Real GetMaximum () const
Point GetMaximumPosition () const
void SetMaximum (Real m)

Static Public Member Functions

static String GetAlgorithmName ()

Protected Attributes

Real min_
Real max_
Point maxpos_
Point minpos_

Detailed Description

collect statistical information about data this minimal version only calculated min and max

Since this algorithm is implemented as a combined image stage visitor and algorithm, the main workhorse is this class StatMinMaxBase, which will act as the parent class of the actual algorithm class, Stat

Definition at line 45 of file stat_min_max.hh.


Constructor & Destructor Documentation

StatMinMaxBase ( )
inline

Definition at line 48 of file stat_min_max.hh.


Member Function Documentation

static String GetAlgorithmName ( )
inlinestatic

Definition at line 61 of file stat_min_max.hh.

Real GetMaximum ( ) const
inline

Definition at line 68 of file stat_min_max.hh.

Point GetMaximumPosition ( ) const
inline

Definition at line 69 of file stat_min_max.hh.

Real GetMinimum ( ) const
inline

Definition at line 65 of file stat_min_max.hh.

Point GetMinimumPosition ( ) const
inline

Definition at line 66 of file stat_min_max.hh.

void SetMaximum ( Real  m)
inline

Definition at line 70 of file stat_min_max.hh.

void SetMinimum ( Real  m)
inline

Definition at line 67 of file stat_min_max.hh.

void VisitFunction ( const Function f)
void VisitState ( const ImageStateImpl< T, D > &  isi)

Field Documentation

Real max_
protected

Definition at line 72 of file stat_min_max.hh.

Point maxpos_
protected

Definition at line 73 of file stat_min_max.hh.

Real min_
protected

Definition at line 72 of file stat_min_max.hh.

Point minpos_
protected

Definition at line 73 of file stat_min_max.hh.


The documentation for this class was generated from the following file: