Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::HistogramAlgorithmBase< TInputHistogram > Class Template Reference

base class for algorithms operating on histograms More...

#include <itkHistogramAlgorithmBase.h>

Inheritance diagram for itk::HistogramAlgorithmBase< TInputHistogram >:

Inheritance graph
[legend]
Collaboration diagram for itk::HistogramAlgorithmBase< TInputHistogram >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef HistogramAlgorithmBase Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputHistogram InputHistogramType

Public Member Functions

virtual const char * GetNameOfClass () const
const TInputHistogram * GetInputHistogram () const
void Update ()
void SetInputHistogram (const TInputHistogram *histogram)

Protected Member Functions

 HistogramAlgorithmBase ()
virtual ~HistogramAlgorithmBase ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual void GenerateData ()=0

Detailed Description

template<class TInputHistogram>
class itk::HistogramAlgorithmBase< TInputHistogram >

base class for algorithms operating on histograms

You plug in the target sample data using SetInputHistogram method. Then call the GenerateData method to run the alogithm.

Definition at line 37 of file itkHistogramAlgorithmBase.h.


Member Typedef Documentation

template<class TInputHistogram>
typedef SmartPointer< const Self > itk::HistogramAlgorithmBase< TInputHistogram >::ConstPointer
 

Reimplemented from itk::Object.

Reimplemented in itk::OtsuMultipleThresholdsCalculator< TInputHistogram >.

Definition at line 44 of file itkHistogramAlgorithmBase.h.

template<class TInputHistogram>
typedef TInputHistogram itk::HistogramAlgorithmBase< TInputHistogram >::InputHistogramType
 

Histogram typedefs alias

Definition at line 50 of file itkHistogramAlgorithmBase.h.

template<class TInputHistogram>
typedef SmartPointer< Self > itk::HistogramAlgorithmBase< TInputHistogram >::Pointer
 

Reimplemented from itk::Object.

Reimplemented in itk::OtsuMultipleThresholdsCalculator< TInputHistogram >.

Definition at line 43 of file itkHistogramAlgorithmBase.h.

template<class TInputHistogram>
typedef HistogramAlgorithmBase itk::HistogramAlgorithmBase< TInputHistogram >::Self
 

Standard class typedefs.

Reimplemented from itk::Object.

Reimplemented in itk::OtsuMultipleThresholdsCalculator< TInputHistogram >.

Definition at line 41 of file itkHistogramAlgorithmBase.h.

template<class TInputHistogram>
typedef Object itk::HistogramAlgorithmBase< TInputHistogram >::Superclass
 

Reimplemented from itk::Object.

Reimplemented in itk::OtsuMultipleThresholdsCalculator< TInputHistogram >.

Definition at line 42 of file itkHistogramAlgorithmBase.h.


Constructor & Destructor Documentation

template<class TInputHistogram>
itk::HistogramAlgorithmBase< TInputHistogram >::HistogramAlgorithmBase  )  [protected]
 

template<class TInputHistogram>
virtual itk::HistogramAlgorithmBase< TInputHistogram >::~HistogramAlgorithmBase  )  [inline, protected, virtual]
 

Definition at line 75 of file itkHistogramAlgorithmBase.h.


Member Function Documentation

template<class TInputHistogram>
virtual void itk::HistogramAlgorithmBase< TInputHistogram >::GenerateData  )  [protected, pure virtual]
 

Implemented in itk::OtsuMultipleThresholdsCalculator< TInputHistogram >.

Referenced by itk::HistogramAlgorithmBase< TInputHistogram >::Update().

template<class TInputHistogram>
const TInputHistogram* itk::HistogramAlgorithmBase< TInputHistogram >::GetInputHistogram  )  const [inline]
 

Returns the histogram const pointer

Definition at line 64 of file itkHistogramAlgorithmBase.h.

template<class TInputHistogram>
virtual const char* itk::HistogramAlgorithmBase< TInputHistogram >::GetNameOfClass  )  const [virtual]
 

Standard Macros

Reimplemented from itk::Object.

Reimplemented in itk::OtsuMultipleThresholdsCalculator< TInputHistogram >.

template<class TInputHistogram>
void itk::HistogramAlgorithmBase< TInputHistogram >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Object.

Reimplemented in itk::OtsuMultipleThresholdsCalculator< TInputHistogram >.

template<class TInputHistogram>
void itk::HistogramAlgorithmBase< TInputHistogram >::SetInputHistogram const TInputHistogram *  histogram  )  [inline]
 

Stores the histogram pointer

Definition at line 53 of file itkHistogramAlgorithmBase.h.

References itk::Object::Modified().

template<class TInputHistogram>
void itk::HistogramAlgorithmBase< TInputHistogram >::Update  )  [inline]
 

dummy function that calls the GenerateData() function to generate output. It exists for future compatibility with ProcessObject without streaming

Definition at line 70 of file itkHistogramAlgorithmBase.h.

References itk::HistogramAlgorithmBase< TInputHistogram >::GenerateData().


The documentation for this class was generated from the following file:
Generated at Thu May 25 01:07:54 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000