18 #ifndef __itkHistogramAlgorithmBase_h
19 #define __itkHistogramAlgorithmBase_h
36 template<
class TInputHistogram >
53 void SetInputHistogram(
const TInputHistogram *histogram)
55 if ( m_InputHistogram != histogram )
57 m_InputHistogram = histogram;
64 const TInputHistogram * GetInputHistogram()
const
65 {
return m_InputHistogram.GetPointer(); }
71 { this->GenerateData(); }
76 void PrintSelf(std::ostream & os,
Indent indent)
const;
78 virtual void GenerateData() = 0;
86 #ifndef ITK_MANUAL_INSTANTIATION
87 #include "itkHistogramAlgorithmBase.hxx"