18 #ifndef itkSphereSpatialFunction_h
19 #define itkSphereSpatialFunction_h
34 template <
unsigned int VImageDimension = 3,
typename TInput = Po
int<
double, VImageDimension>>
53 using typename Superclass::InputType;
56 using typename Superclass::OutputType;
60 Evaluate(
const InputType & position)
const override;
63 itkGetConstMacro(Center, InputType);
64 itkSetMacro(Center, InputType);
68 itkGetConstMacro(Radius,
double);
69 itkSetMacro(Radius,
double);
76 PrintSelf(std::ostream & os,
Indent indent)
const override;
83 double m_Radius{ 1.0 };
87 #ifndef ITK_MANUAL_INSTANTIATION
88 # include "itkSphereSpatialFunction.hxx"