18 #ifndef itkHistogramAlgorithmBase_h
19 #define itkHistogramAlgorithmBase_h
36 template<
typename TInputHistogram >
55 if ( m_InputHistogram != histogram )
57 m_InputHistogram = histogram;
65 {
return m_InputHistogram.GetPointer(); }
72 #if ! defined ( ITK_LEGACY_REMOVE )
80 HistogramAlgorithmBase();
81 ~HistogramAlgorithmBase()
override =
default;
82 void PrintSelf(std::ostream & os, Indent indent)
const override;
84 virtual void Compute() = 0;
92 #ifndef ITK_MANUAL_INSTANTIATION
93 #include "itkHistogramAlgorithmBase.hxx"
Light weight base class for most itk classes.
TInputHistogram::ConstPointer m_InputHistogram
THistogram InputHistogramType
base class for algorithms operating on histograms
Base class for most ITK classes.
const TInputHistogram * GetInputHistogram() const
void SetInputHistogram(const TInputHistogram *histogram)