18 #ifndef itkImageMaskSpatialObject_h
19 #define itkImageMaskSpatialObject_h
46 template <
unsigned int TDimension = 3,
typename TPixel =
unsigned char>
57 using typename Superclass::ScalarType;
58 using typename Superclass::PixelType;
59 using typename Superclass::ImageType;
60 using typename Superclass::ImagePointer;
64 using typename Superclass::TransformType;
66 using typename Superclass::BoundingBoxType;
67 using typename Superclass::InterpolatorType;
93 itkGetConstReferenceMacro(MaskValue,
PixelType);
96 itkBooleanMacro(UseMaskValue);
97 itkSetMacro(UseMaskValue,
bool);
98 itkGetConstReferenceMacro(UseMaskValue,
bool);
101 using Superclass::IsInsideInObjectSpace;
114 ComputeMyBoundingBoxInIndexSpace()
const;
116 #if !defined(ITK_LEGACY_REMOVE)
120 itkLegacyMacro(
RegionType GetAxisAlignedBoundingBoxRegion()
const;)
129 ComputeMyBoundingBox()
override;
135 InternalClone()
const override;
138 bool m_UseMaskValue{
false };
143 #ifndef ITK_MANUAL_INSTANTIATION
144 # include "itkImageMaskSpatialObject.hxx"
147 #endif // itkImageMaskSpatialObject_h