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_FUTURE_LEGACY_REMOVE )
82 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
84 virtual void Compute() = 0;
92 #ifndef ITK_MANUAL_INSTANTIATION
93 #include "itkHistogramAlgorithmBase.hxx"
TInputHistogram::ConstPointer m_InputHistogram
HistogramAlgorithmBase Self
base class for algorithms operating on histograms
SmartPointer< Self > Pointer
virtual ~HistogramAlgorithmBase() override
SmartPointer< const Self > ConstPointer
Control indentation during Print() invocation.
Base class for most ITK classes.
const TInputHistogram * GetInputHistogram() const
TInputHistogram InputHistogramType
void SetInputHistogram(const TInputHistogram *histogram)