13 #ifndef mitkImageSource_h
14 #define mitkImageSource_h
42 itkFactorylessNewMacro(
Self);
118 itk::DataObject::Pointer
246 void operator=(
const Self &);
Superclass of all classes generating some kind of mitk::BaseData.
itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
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
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".
itk::DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
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()
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.
Image class for storing images.
itk::ImageRegion< RegionDimension > RegionType
#define mitkBaseDataSourceGetOutputDeclarations
#define mitkClassMacro(className, SuperClassName)
Find image slices visible on a given plane.
Internal structure used for passing image data into the threading library.