18#ifndef itkEllipseSpatialObject_h
19#define itkEllipseSpatialObject_h
37template <
unsigned int TDimension = 3>
50 using typename Superclass::TransformType;
51 using typename Superclass::BoundingBoxType;
57 static constexpr unsigned int ObjectDimension = TDimension;
83 itkGetConstReferenceMacro(RadiusInObjectSpace,
ArrayType);
89 itkGetConstReferenceMacro(CenterInObjectSpace,
PointType);
100 using Superclass::IsInsideInObjectSpace;
102#if !defined(ITK_LEGACY_REMOVE)
103 itkLegacyMacro(
void SetRadius(
double radius))
105 this->SetRadiusInObjectSpace(radius);
108 itkLegacyMacro(
void SetRadius(ArrayType radii))
110 this->SetRadiusInObjectSpace(radii);
113 itkLegacyMacro(ArrayType GetRadius()
const)
115 return this->GetRadiusInObjectSpace();
118 itkLegacyMacro(
void SetRadiiInObjectSpace(ArrayType radii))
120 this->SetRadiusInObjectSpace(radii);
147#ifndef ITK_MANUAL_INSTANTIATION
148# include "itkEllipseSpatialObject.hxx"
Base class for all data objects in ITK.
void PrintSelf(std::ostream &os, Indent indent) const override
void SetRadiusInObjectSpace(double radius)
bool IsInsideInObjectSpace(const PointType &point) const override
~EllipseSpatialObject() override=default
LightObject::Pointer InternalClone() const override
void ComputeMyBoundingBox() override
Simulate a standard C array with copy semantics.
Control indentation during Print() invocation.
Base class for most ITK classes.
A templated class holding a geometric point in n-Dimensional space.
Implementation of the composite pattern.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
ImageBaseType::PointType PointType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents