18#ifndef itkNeighborhoodOperator_h
19#define itkNeighborhoodOperator_h
71template <
typename TPixel,
unsigned int VDimension,
typename TAllocator = NeighborhoodAllocator<TPixel>>
96 if (direction >= VDimension)
98 itkExceptionMacro(<<
" Can not set direction " << direction <<
" greater than dimensionality of neighborhood "
143 os << indent <<
"Direction: " <<
m_Direction << std::endl;
177 for (
unsigned int i = 0; i < this->
Size(); ++i)
190#ifndef ITK_MANUAL_INSTANTIATION
191# include "itkNeighborhoodOperator.hxx"
Control indentation during Print() invocation.
Virtual class that defines a common interface to all neighborhood operator subtypes.
void SetDirection(const unsigned int direction)
Neighborhood< TPixel, VDimension, TAllocator > Superclass
virtual void FillCenteredDirectional(const CoefficientVector &)
virtual CoefficientVector GenerateCoefficients()=0
SliceIterator< TPixel, Self > SliceIteratorType
typename NumericTraits< TPixel >::RealType PixelRealType
virtual void Fill(const CoefficientVector &)=0
void ScaleCoefficients(PixelRealType)
virtual void CreateToRadius(const SizeValueType)
NeighborhoodOperator Self
typename std::vector< PixelRealType > CoefficientVector
virtual void CreateDirectional()
virtual void CreateToRadius(const SizeType &)
unsigned int GetDirection() const
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void PrintSelf(std::ostream &, Indent) const
itk::Size< VDimension > SizeType
TPixel & operator[](NeighborIndexType i)
NeighborIndexType Size() const
typename SizeType::SizeValueType SizeValueType
A flexible iterator for itk containers(i.e. itk::Neighborhood) that support pixel access through oper...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....