18 #ifndef __itkLimiterFunctionBase_h 19 #define __itkLimiterFunctionBase_h 21 #include "itkFunctionBase.h" 22 #include "itkExceptionObject.h" 49 template<
class TInput,
unsigned int NDimension >
51 public FunctionBase< TInput, typename NumericTraits< TInput >::RealType >
71 typedef CovariantVector<
76 virtual OutputType
Evaluate(
const InputType & input )
const = 0;
83 itkSetMacro( UpperBound, OutputType );
84 itkGetConstMacro( UpperBound, OutputType );
88 itkSetMacro( LowerBound, OutputType );
89 itkGetConstMacro( LowerBound, OutputType );
93 itkSetMacro( UpperThreshold, InputType );
94 itkGetConstMacro( UpperThreshold, InputType );
98 itkSetMacro( LowerThreshold, InputType );
99 itkGetConstMacro( LowerThreshold, InputType );
109 = itk::NumericTraits< OutputType >::One
110 + itk::NumericTraits< OutputType >::One;
111 this->
m_LowerBound = itk::NumericTraits< OutputType >::Zero;
itkStaticConstMacro(Dimension, unsigned int, NDimension)
CovariantVector< DerivativeValueType, itkGetStaticConstMacro(Dimension) > DerivativeType
virtual void Initialize(void)
SmartPointer< Self > Pointer
InputType m_UpperThreshold
InputType m_LowerThreshold
virtual OutputType Evaluate(const InputType &input) const =0
FunctionBase< TInput, typename NumericTraits< TInput >::RealType > Superclass
Base class for all ITK limiter function objects.
Superclass::InputType InputType
SmartPointer< const Self > ConstPointer
Superclass::OutputType OutputType
OutputType DerivativeValueType
void operator=(const Self &)