28 #ifndef itkImageSource_h
29 #define itkImageSource_h
66 template<
typename TOutputImage >
94 TOutputImage::ImageDimension);
224 virtual ~ImageSource() {}
355 #ifndef ITK_MANUAL_INSTANTIATION
356 #include "itkImageSource.hxx"
static ITK_THREAD_RETURN_TYPE ThreaderCallback(void *arg)
DataObject::DataObjectIdentifierType DataObjectIdentifierType
Superclass::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
static const ImageRegionSplitterBase * GetGlobalDefaultSplitter()
virtual ProcessObject::DataObjectPointer MakeOutput(ProcessObject::DataObjectPointerArraySizeType idx) override
virtual void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
virtual void GenerateData() override
virtual void GraftNthOutput(unsigned int idx, DataObject *output)
virtual void BeforeThreadedGenerateData()
DataObject::Pointer DataObjectPointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
virtual const ImageRegionSplitterBase * GetImageRegionSplitter() const
Get the image splitter to split the image for multi-threading.
Base class for all process objects that output image data.
static const unsigned int OutputImageDimension
#define ITK_THREAD_RETURN_TYPE
virtual void GraftOutput(DataObject *output)
virtual unsigned int SplitRequestedRegion(unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
OutputImageType::Pointer OutputImagePointer
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
void operator=(const Self &)
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 * GetOutput()
OutputImageType::RegionType OutputImageRegionType
SmartPointer< Self > Pointer
TOutputImage OutputImageType
Base class for all data objects in ITK.
virtual void AllocateOutputs()