19#ifndef itkRectangularImageNeighborhoodShape_h
20#define itkRectangularImageNeighborhoodShape_h
52template <
unsigned int VImageDimension>
80 assert(offsets !=
nullptr);
85 return -static_cast<OffsetValueType>(radiusValue);
92 for (
unsigned int dimensionIndex = 0; dimensionIndex <
ImageDimension; ++dimensionIndex)
121 return (dimension == 0)
constexpr RectangularImageNeighborhoodShape(const Size< ImageDimension > &radius) noexcept
constexpr vcl_size_t GetNumberOfOffsets() const noexcept
constexpr vcl_size_t CalculateNumberOfOffsets(const unsigned int dimension) const noexcept
Size< ImageDimension > m_Radius
void FillOffsets(Offset< ImageDimension > *const offsets) const noexcept
vcl_size_t m_NumberOfOffsets
static constexpr unsigned int ImageDimension
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
constexpr iterator begin()
constexpr iterator begin()
SizeValueType m_InternalArray[VDimension]