28 #ifndef itkImageSource_h 29 #define itkImageSource_h 66 template<
typename TOutputImage >
94 TOutputImage::ImageDimension);
144 const OutputImageType *
GetOutput()
const;
147 OutputImageType *
GetOutput(
unsigned int idx);
224 virtual ~ImageSource() {}
336 unsigned int SplitRequestedRegion(
unsigned int i,
unsigned int pieces, OutputImageRegionType & splitRegion);
351 void operator=(const Self &) ITK_DELETE_FUNCTION;
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...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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
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()