18 #ifndef itkBinaryThresholdSpatialFunction_h 19 #define itkBinaryThresholdSpatialFunction_h 41 template<
typename TFunction >
44 TFunction::ImageDimension,
45 typename TFunction::InputType >
51 TFunction::ImageDimension,
76 itkSetMacro(LowerThreshold, FunctionOutputType);
77 itkGetConstReferenceMacro(LowerThreshold, FunctionOutputType);
81 itkSetMacro(UpperThreshold, FunctionOutputType);
82 itkGetConstReferenceMacro(UpperThreshold, FunctionOutputType);
86 itkSetObjectMacro(Function, FunctionType);
87 itkGetModifiableObjectMacro(Function, FunctionType);
91 virtual OutputType
Evaluate(
const InputType & point)
const ITK_OVERRIDE;
106 void operator=(const Self &) ITK_DELETE_FUNCTION;
110 #ifndef ITK_MANUAL_INSTANTIATION 111 #include "itkBinaryThresholdSpatialFunction.hxx" void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< Self > Pointer
BinaryThresholdSpatialFunction()
BinaryThresholdSpatialFunction Self
A spatial functions that returns if the internal spatial function is within user specified thresholds...
FunctionOutputType m_UpperThreshold
SmartPointer< const Self > ConstPointer
~BinaryThresholdSpatialFunction()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
virtual OutputType Evaluate(const InputType &point) const override
TFunction::OutputType FunctionOutputType
Superclass::OutputType OutputType
FunctionType::Pointer m_Function
TFunction::InputType InputType
Superclass::OutputType OutputType
Control indentation during Print() invocation.
N-dimensional spatial function class.
FunctionOutputType m_LowerThreshold
SpatialFunction< bool, TFunction::ImageDimension, typename TFunction::InputType > Superclass