28 #ifndef itkRandomImageSource_h
29 #define itkRandomImageSource_h
53 template<
typename TOutputImage >
76 typedef typename TOutputImage::SizeType
SizeType;
137 outputRegionForThread,
ThreadIdType threadId) ITK_OVERRIDE;
150 typename TOutputImage::PixelType
m_Min;
151 typename TOutputImage::PixelType
m_Max;
160 #ifndef ITK_MANUAL_INSTANTIATION
161 #include "itkRandomImageSource.hxx"
virtual void SetSize(SizeType _arg)
virtual void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
virtual void SetSpacing(SpacingType _arg)
SizeType::SizeValueType SizeValueType
PointValueType PointValueArrayType[TOutputImage::ImageDimension]
Represent the size (bounds) of a n-dimensional image.
SpacingValueType SpacingValueArrayType[TOutputImage::ImageDimension]
TOutputImage::PointValueType PointValueType
void PrintSelf(std::ostream &os, Indent indent) const override
virtual const SpacingValueType * GetSpacing() const
DirectionType m_Direction
SmartPointer< const Self > ConstPointer
Base class for all process objects that output image data.
unsigned long SizeValueType
TOutputImage::PixelType m_Max
TOutputImage::PixelType OutputImagePixelType
virtual const PointValueType * GetOrigin() const
SizeValueType SizeValueArrayType[TOutputImage::ImageDimension]
SpacingValueArrayType m_SpacingArray
TOutputImage::SizeType SizeType
TOutputImage::IndexType IndexType
OutputImageType::PixelType OutputImagePixelType
unsigned int ThreadIdType
Generate an n-dimensional image of random pixel values.
virtual void SetOrigin(PointType _arg)
OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
TOutputImage::PixelType m_Min
ImageSource< TOutputImage > Superclass
virtual const SizeValueType * GetSize() const
TOutputImage::PointType PointType
TOutputImage::SpacingType SpacingType
PointValueArrayType m_OriginArray
Define additional traits for native types such as int or float.
TOutputImage::RegionType OutputImageRegionType
virtual void GenerateOutputInformation() override
TOutputImage::DirectionType DirectionType
SmartPointer< Self > Pointer
TOutputImage::SpacingValueType SpacingValueType