18 #ifndef itkNeighborhoodOperator_h
19 #define itkNeighborhoodOperator_h
64 template<
typename TPixel,
unsigned int VDimension,
65 typename TAllocator = NeighborhoodAllocator< TPixel > >
92 { m_Direction = orig.m_Direction; }
97 Superclass::operator=(orig);
98 m_Direction = orig.m_Direction;
105 { m_Direction = direction; }
109 {
return m_Direction; }
115 virtual void CreateDirectional();
121 virtual void CreateToRadius(
const SizeType &);
131 virtual void FlipAxes();
136 os << i <<
"NeighborhoodOperator { this=" <<
this
137 <<
" Direction = " << m_Direction <<
" }" << std::endl;
138 Superclass::PrintSelf( os, i.GetNextIndent() );
171 for (
unsigned int i = 0; i < this->
Size(); ++i )
184 #ifndef ITK_MANUAL_INSTANTIATION
185 #include "itkNeighborhoodOperator.hxx"
Superclass::SizeType SizeType
Neighborhood< TPixel, VDimension, TAllocator > Superclass
Represent the size (bounds) of a n-dimensional image.
A light-weight container object for storing an N-dimensional neighborhood of values.
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.
NeighborhoodOperator Self
A flexible iterator for itk containers(i.e. itk::Neighborhood) that support pixel access through oper...
SliceIterator< TPixel, Self > SliceIteratorType
Self & operator=(const Self &orig)
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
NeighborhoodOperator(const Self &orig)