18 #ifndef __itkBinaryCrossStructuringElement_h
19 #define __itkBinaryCrossStructuringElement_h
44 template<
class TPixel,
unsigned int VDimension = 2,
45 class TAllocator = NeighborhoodAllocator< TPixel > >
58 itkStaticConstMacro(NeighborhoodDimension,
unsigned int, VDimension);
66 typedef typename AllocatorType::iterator
Iterator;
70 typedef typename Superclass::SizeType
SizeType;
97 Superclass::operator=(other);
103 void CreateStructuringElement();
111 #define ITK_TEMPLATE_BinaryCrossStructuringElement(_, EXPORT, TypeX, TypeY) \
114 _( 2 ( class EXPORT BinaryCrossStructuringElement< ITK_TEMPLATE_2 TypeX > ) ) \
115 namespace Templates \
117 typedef BinaryCrossStructuringElement< ITK_TEMPLATE_2 TypeX > \
118 BinaryCrossStructuringElement##TypeY; \
122 #if ITK_TEMPLATE_EXPLICIT
123 #include "Templates/itkBinaryCrossStructuringElement+-.h"
127 #include "itkBinaryCrossStructuringElement.hxx"