20 #ifndef __itkImageSource_h
21 #define __itkImageSource_h
51 template <
class TOutputImage>
74 itkStaticConstMacro(OutputImageDimension,
unsigned int,
75 TOutputImage::ImageDimension);
170 virtual void GraftNthOutput(
unsigned int idx,
DataObject *output);
206 virtual void GenerateData();
231 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread,
240 virtual void AllocateOutputs();
272 int SplitRequestedRegion(
int i,
int num, OutputImageRegionType& splitRegion);
287 void operator=(
const Self&);
294 #define ITK_TEMPLATE_ImageSource(_, EXPORT, x, y) namespace itk { \
295 _(1(class EXPORT ImageSource< ITK_TEMPLATE_1 x >)) \
296 namespace Templates { typedef ImageSource< ITK_TEMPLATE_1 x > ImageSource##y; } \
299 #if ITK_TEMPLATE_EXPLICIT
300 # include "Templates/itkImageSource+-.h"