13 #ifndef mitkImageSource_h
14 #define mitkImageSource_h
45 itkFactorylessNewMacro(Self);
121 itk::DataObject::Pointer
251 void operator=(
const Self &);
Superclass of all classes generating some kind of mitk::BaseData.
itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
Identifier type for named data objects.
Superclass of all classes generating Images (instances of class Image) as output.
itk::DataObject::Pointer MakeOutput(const DataObjectIdentifierType &name) override
virtual const vtkImageData * GetVtkImageData() const
Get the output as VTK image data (const version).
virtual unsigned int SplitRequestedRegion(unsigned int i, unsigned int num, OutputImageRegionType &splitRegion)
Split the output's RequestedRegion into "num" pieces, returning region "i" as "splitRegion".
virtual void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId)
If an imaging filter can be implemented as a multithreaded algorithm, the filter will provide an impl...
virtual void AfterThreadedGenerateData()
If an imaging filter needs to perform processing after all processing threads have completed,...
virtual void AllocateOutputs()
The GenerateData method normally allocates the buffers for all of the outputs of a filter.
static itk::ITK_THREAD_RETURN_TYPE ThreaderCallback(void *arg)
Static function used as a "callback" by the MultiThreader.
void GenerateData() override
A version of GenerateData() specific for image processing filters.
virtual vtkImageData * GetVtkImageData()
Get the output as VTK image data (non-const version).
mitkClassMacro(ImageSource, BaseDataSource)
OutputImageType OutputType
mitk::Image OutputImageType
Some convenient typedefs.
OutputImageType::Pointer OutputImagePointer
SlicedData::RegionType OutputImageRegionType
virtual void BeforeThreadedGenerateData()
If an imaging filter needs to perform processing after the buffer has been allocated but before threa...
void PrepareOutputs() override
This method is intentionally left blank.
mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType idx) override
Get the output data of this image source object.
Image class for storing multi-dimensional medical image data.
itk::ImageRegion< RegionDimension > RegionType
#define mitkBaseDataSourceGetOutputDeclarations
Find image slices visible on a given plane.
Internal structure used for passing image data into the threading library.