28 #ifndef itkImageSource_h
29 #define itkImageSource_h
66 template<
typename TOutputImage >
93 itkStaticConstMacro(OutputImageDimension,
unsigned int,
94 TOutputImage::ImageDimension);
203 virtual void GraftNthOutput(
unsigned int idx,
DataObject *output);
224 virtual ~ImageSource() ITK_OVERRIDE {}
241 virtual void GenerateData() ITK_OVERRIDE;
265 virtual
void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread,
273 virtual
void AllocateOutputs();
285 virtual
void BeforeThreadedGenerateData() {}
336 unsigned int SplitRequestedRegion(
unsigned int i,
unsigned int pieces, OutputImageRegionType & splitRegion);
354 #ifndef ITK_MANUAL_INSTANTIATION
355 #include "itkImageSource.hxx"
DataObject::DataObjectIdentifierType DataObjectIdentifierType
Superclass::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
static const ImageRegionSplitterBase * GetGlobalDefaultSplitter()
DataObject::Pointer DataObjectPointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
#define ITK_THREAD_RETURN_TYPE
OutputImageType::Pointer OutputImagePointer
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
Divide an image region into several pieces.
SmartPointer< const Self > ConstPointer
Secondary base class of ImageSource common between templates.
static const ImageRegionSplitterBase * GetGlobalDefaultSplitter()
Returns the default image region splitter.
OutputImageType::PixelType OutputImagePixelType
unsigned int ThreadIdType
Superclass::DataObjectIdentifierType DataObjectIdentifierType
virtual void AfterThreadedGenerateData()
OutputImageType::RegionType OutputImageRegionType
SmartPointer< Self > Pointer
TOutputImage OutputImageType
Base class for all data objects in ITK.