18#ifndef itkImageMaskSpatialObject_h
19#define itkImageMaskSpatialObject_h
46template <
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;
96 itkBooleanMacro(UseMaskValue);
97 itkSetMacro(UseMaskValue,
bool);
98 itkGetConstReferenceMacro(UseMaskValue,
bool);
101 using Superclass::IsInsideInObjectSpace;
116#if !defined(ITK_LEGACY_REMOVE)
120 itkLegacyMacro(
RegionType GetAxisAlignedBoundingBoxRegion()
const;)
138 bool m_UseMaskValue{
false };
143#ifndef ITK_MANUAL_INSTANTIATION
144# include "itkImageMaskSpatialObject.hxx"
Base class for all data objects in ITK.
Implementation of an image mask as spatial object.
~ImageMaskSpatialObject() override=default
LightObject::Pointer InternalClone() const override
bool IsInsideInObjectSpace(const PointType &point) const override
void ComputeMyBoundingBox() override
RegionType ComputeMyBoundingBoxInIndexSpace() const
Multi-dimensional image iterator which only walks a region.
Implementation of an image as spatial object.
Base class for most ITK classes.
A templated class holding a geometric point in n-Dimensional space.
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::PointType PointType
ImageBaseType::SizeType SizeType
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