18 #ifndef __itkBinaryBallStructuringElement_h
19 #define __itkBinaryBallStructuringElement_h
57 template<
class TPixel,
unsigned int VDimension = 2,
58 class TAllocator = NeighborhoodAllocator< TPixel > >
71 itkStaticConstMacro(NeighborhoodDimension,
unsigned int, VDimension);
79 typedef typename AllocatorType::iterator
Iterator;
83 typedef typename Superclass::SizeType
SizeType;
106 Superclass::operator=(other);
112 void CreateStructuringElement();
120 #define ITK_TEMPLATE_BinaryBallStructuringElement(_, EXPORT, TypeX, TypeY) \
123 _( 2 ( class EXPORT BinaryBallStructuringElement< ITK_TEMPLATE_2 TypeX > ) ) \
124 namespace Templates \
126 typedef BinaryBallStructuringElement< ITK_TEMPLATE_2 TypeX > \
127 BinaryBallStructuringElement##TypeY; \
131 #if ITK_TEMPLATE_EXPLICIT
132 #include "Templates/itkBinaryBallStructuringElement+-.h"
136 #include "itkBinaryBallStructuringElement.hxx"