18 #ifndef __itkNeighborhoodOperator_h
19 #define __itkNeighborhoodOperator_h
64 template<
class TPixel,
unsigned int VDimension,
65 class TAllocator = NeighborhoodAllocator< TPixel > >
75 typedef typename Superclass::SizeType
SizeType;
90 { m_Direction = orig.m_Direction; }
95 Superclass::operator=(orig);
96 m_Direction = orig.m_Direction;
102 void SetDirection(
const unsigned long & direction)
103 { m_Direction = direction; }
106 unsigned long GetDirection()
const
107 {
return m_Direction; }
113 virtual void CreateDirectional();
119 virtual void CreateToRadius(
const SizeType &);
129 virtual void FlipAxes();
132 virtual void PrintSelf(std::ostream & os,
Indent i)
const
134 os << i <<
"NeighborhoodOperator { this=" <<
this
135 <<
" Direction = " << m_Direction <<
" }" << std::endl;
167 void InitializeToZero()
169 for (
unsigned int i = 0; i < this->
Size(); ++i )
182 #ifndef ITK_MANUAL_INSTANTIATION
183 #include "itkNeighborhoodOperator.hxx"