18 #ifndef __itkNeighborhoodOperator_h
19 #define __itkNeighborhoodOperator_h
64 template<
typename TPixel,
unsigned int VDimension,
65 typename TAllocator = NeighborhoodAllocator< TPixel > >
134 os << i <<
"NeighborhoodOperator { this=" <<
this
135 <<
" Direction = " <<
m_Direction <<
" }" << std::endl;
169 for (
unsigned int i = 0; i < this->
Size(); ++i )
182 #ifndef ITK_MANUAL_INSTANTIATION
183 #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)
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
virtual void PrintSelf(std::ostream &os, Indent i) 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.
Define additional traits for native types such as int or float.
NeighborhoodOperator(const Self &orig)