28 #ifndef itkImageSource_h
29 #define itkImageSource_h
66 template<
typename TOutputImage >
95 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
204 virtual void GraftNthOutput(
unsigned int idx,
DataObject *output);
242 void GenerateData()
override;
300 virtual void AllocateOutputs();
363 unsigned int SplitRequestedRegion(
unsigned int i,
unsigned int pieces, OutputImageRegionType & splitRegion);
376 void PrintSelf(std::ostream & os,
Indent indent)
const override;
381 itkGetConstMacro(DynamicMultiThreading,
bool);
382 itkSetMacro(DynamicMultiThreading,
bool);
383 itkBooleanMacro(DynamicMultiThreading);
390 #ifndef ITK_MANUAL_INSTANTIATION
391 #include "itkImageSource.hxx"
void(* ThreadFunctionType)(void *)
DataObject::DataObjectIdentifierType DataObjectIdentifierType
static const ImageRegionSplitterBase * GetGlobalDefaultSplitter()
typename OutputImageType::Pointer OutputImagePointer
Light weight base class for most itk classes.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
virtual void BeforeThreadedGenerateData()
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
itk::ITK_THREAD_RETURN_TYPE ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION
bool m_DynamicMultiThreading
Base class for all process objects that output image data.
class ITK_FORWARD_EXPORT ProcessObject
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
TIntensityImage OutputImageType
Divide an image region into several pieces.
Secondary base class of ImageSource common between templates.
static const ImageRegionSplitterBase * GetGlobalDefaultSplitter()
Returns the default image region splitter.
unsigned int ThreadIdType
virtual void AfterThreadedGenerateData()
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
SmartPointer< Self > Pointer
Base class for all data objects in ITK.