18#ifndef itkSphereSpatialFunction_h
19#define itkSphereSpatialFunction_h
34template <
unsigned int VImageDimension = 3,
typename TInput = Po
int<
double, VImageDimension>>
53 using typename Superclass::InputType;
56 using typename Superclass::OutputType;
68 itkGetConstMacro(Radius,
double);
69 itkSetMacro(Radius,
double);
83 double m_Radius{ 1.0 };
87#ifndef ITK_MANUAL_INSTANTIATION
88# include "itkSphereSpatialFunction.hxx"
Control indentation during Print() invocation.
Returns whether or not a location is "inside" or "outside" a function.
Light weight base class for most itk classes.
Spatial function implementation of a sphere.
OutputType Evaluate(const InputType &position) const override
SphereSpatialFunction()=default
void PrintSelf(std::ostream &os, Indent indent) const override
~SphereSpatialFunction() override=default
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....