18#ifndef itkTorusInteriorExteriorSpatialFunction_h
19#define itkTorusInteriorExteriorSpatialFunction_h
21#include "vnl/vnl_vector.h"
39template <
unsigned int VDimension = 3,
typename TInput = Po
int<
double, VDimension>>
59 using typename Superclass::InputType;
62 using typename Superclass::OutputType;
75 itkGetConstMacro(MajorRadius,
double);
76 itkSetMacro(MajorRadius,
double);
80 itkGetConstMacro(MinorRadius,
double);
81 itkSetMacro(MinorRadius,
double);
92 double m_MajorRadius{ 3.0 };
93 double m_MinorRadius{ 1.0 };
97#ifndef ITK_MANUAL_INSTANTIATION
98# include "itkTorusInteriorExteriorSpatialFunction.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 torus symmetric about the z-axis in 3D.
OutputType Evaluate(const InputType &position) const override
~TorusInteriorExteriorSpatialFunction() override=default
TorusInteriorExteriorSpatialFunction()=default
void PrintSelf(std::ostream &os, Indent indent) const override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....