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)) { this->SetRadiusInObjectSpace(radius); }
105 itkLegacyMacro(
void SetRadius(ArrayType radii)) { this->SetRadiusInObjectSpace(radii); }
107 itkLegacyMacro(ArrayType GetRadius()
const) {
return this->GetRadiusInObjectSpace(); }
109 itkLegacyMacro(
void SetRadiiInObjectSpace(ArrayType radii)) { this->SetRadiusInObjectSpace(radii); }
116 ComputeMyBoundingBox()
override;
118 EllipseSpatialObject();
119 ~EllipseSpatialObject()
override =
default;
122 PrintSelf(std::ostream & os, Indent indent)
const override;
125 InternalClone()
const override;
135 #ifndef ITK_MANUAL_INSTANTIATION
136 # include "itkEllipseSpatialObject.hxx"
139 #endif // itkEllipseSpatialObject_h