18#ifndef itkEllipseSpatialObject_h
19#define itkEllipseSpatialObject_h
37template <
unsigned int TDimension = 3>
83 itkGetConstReferenceMacro(RadiusInObjectSpace,
ArrayType);
89 itkGetConstReferenceMacro(CenterInObjectSpace,
PointType);
102#if !defined(ITK_LEGACY_REMOVE)
103 itkLegacyMacro(
void SetRadius(
double 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"
void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< const Self > ConstPointer
FixedArray< double, TDimension > ArrayType
SmartPointer< Self > Pointer
VectorContainer< PointType > PointContainerType
SmartPointer< Superclass > SuperclassPointer
static constexpr unsigned int ObjectDimension
ArrayType m_RadiusInObjectSpace
void SetRadiusInObjectSpace(double radius)
PointType m_CenterInObjectSpace
bool IsInsideInObjectSpace(const PointType &point) const override
SpatialObject< TDimension > Superclass
Point< ScalarType, VDimension > PointType
~EllipseSpatialObject() override=default
LightObject::Pointer InternalClone() const override
EllipseSpatialObject Self
void ComputeMyBoundingBox() override
SmartPointer< PointContainerType > PointContainerPointer
Simulate a standard C array with copy semantics.
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
Implements transparent reference counting.
BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType > BoundingBoxType
bool IsInsideInObjectSpace(const PointType &point, unsigned int depth, const std::string &name="") const
Point< ScalarType, VDimension > PointType
AffineTransform< ScalarType, VDimension > TransformType
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
detail::VectorContainer< std::conditional_t< std::is_void_v< T2 >, SizeValueType, T1 >, std::conditional_t< std::is_void_v< T2 >, T1, T2 > > VectorContainer