18 #ifndef itkEllipseSpatialObject_h
19 #define itkEllipseSpatialObject_h
37 template <
unsigned int TDimension = 3>
50 using typename Superclass::TransformType;
51 using typename Superclass::BoundingBoxType;
57 static constexpr
unsigned int ObjectDimension = TDimension;
77 SetRadiusInObjectSpace(
double radius);
80 itkSetMacro(RadiusInObjectSpace,
ArrayType);
83 itkGetConstReferenceMacro(RadiusInObjectSpace,
ArrayType);
86 itkSetMacro(CenterInObjectSpace,
PointType);
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);
128 ComputeMyBoundingBox()
override;
130 EllipseSpatialObject();
131 ~EllipseSpatialObject()
override =
default;
134 PrintSelf(std::ostream & os, Indent indent)
const override;
137 InternalClone()
const override;
147 #ifndef ITK_MANUAL_INSTANTIATION
148 # include "itkEllipseSpatialObject.hxx"
151 #endif // itkEllipseSpatialObject_h