18 #ifndef itkGaussianSpatialObject_h
19 #define itkGaussianSpatialObject_h
43 template <
unsigned int TDimension = 3>
56 using typename Superclass::TransformType;
57 using typename Superclass::BoundingBoxType;
59 static constexpr
unsigned int ObjectDimensions = TDimension;
73 itkGetConstReferenceMacro(RadiusInObjectSpace,
ScalarType);
79 itkGetConstReferenceMacro(SigmaInObjectSpace,
ScalarType);
82 itkSetMacro(CenterInObjectSpace,
PointType);
83 itkGetConstReferenceMacro(CenterInObjectSpace,
PointType);
88 itkGetConstReferenceMacro(Maximum,
ScalarType);
114 using Superclass::IsInsideInObjectSpace;
120 unsigned int depth = 0,
121 const std::string & name =
"")
const override;
126 GetEllipsoid()
const;
128 #if !defined(ITK_LEGACY_REMOVE)
129 itkLegacyMacro(
void SetSigma(
double sigma))
131 return this->SetSigmaInObjectSpace(sigma);
134 itkLegacyMacro(
double GetSigma()
const)
136 return this->GetSigmaInObjectSpace();
143 ComputeMyBoundingBox()
override;
145 GaussianSpatialObject();
146 ~GaussianSpatialObject()
override =
default;
149 PrintSelf(std::ostream & os, Indent indent)
const override;
152 InternalClone()
const override;
162 #ifndef ITK_MANUAL_INSTANTIATION
163 # include "itkGaussianSpatialObject.hxx"
166 #endif // itkGaussianSpatialObject_h