18 #ifndef itkNeighborhoodOperator_h
19 #define itkNeighborhoodOperator_h
64 template<
typename TPixel,
unsigned int VDimension,
65 typename TAllocator = NeighborhoodAllocator< TPixel > >
136 os << i <<
"NeighborhoodOperator { this=" <<
this
137 <<
" Direction = " <<
m_Direction <<
" }" << std::endl;
171 for (
unsigned int i = 0; i < this->
Size(); ++i )
184 #ifndef ITK_MANUAL_INSTANTIATION
185 #include "itkNeighborhoodOperator.hxx"
Superclass::SizeType SizeType
void ScaleCoefficients(PixelRealType)
Neighborhood< TPixel, VDimension, TAllocator > Superclass
virtual void CreateDirectional()
virtual CoefficientVector GenerateCoefficients()=0
A light-weight container object for storing an N-dimensional neighborhood of values.
virtual void Fill(const CoefficientVector &)=0
Self & operator=(const Self &other)
TPixel & operator[](NeighborIndexType i)
virtual void PrintSelf(std::ostream &os, Indent i) const override
unsigned long GetDirection() const
unsigned long SizeValueType
void SetDirection(const unsigned long &direction)
NumericTraits< TPixel >::RealType PixelRealType
std::vector< PixelRealType > CoefficientVector
unsigned long m_Direction
Virtual class that defines a common interface to all neighborhood operator subtypes.
NeighborIndexType Size() const
virtual void PrintSelf(std::ostream &, Indent) const
typedef::itk::Size< VDimension > SizeType
virtual void CreateToRadius(const SizeType &)
NeighborhoodOperator Self
A flexible iterator for itk containers(i.e. itk::Neighborhood) that support pixel access through oper...
SliceIterator< TPixel, Self > SliceIteratorType
virtual void FillCenteredDirectional(const CoefficientVector &)
Self & operator=(const Self &orig)
Control indentation during Print() invocation.
NeighborhoodOperator(const Self &orig)