19 #ifndef itkGenerateImageSource_h
20 #define itkGenerateImageSource_h
39 template<
typename TOutputImage >
51 typedef typename OutputImageType::PixelType
PixelType;
54 typedef typename OutputImageType::PointType
PointType;
58 typedef typename TOutputImage::SizeType
SizeType;
62 itkStaticConstMacro(
NDimensions,
unsigned int, TOutputImage::ImageDimension);
80 itkSetVectorMacro(Spacing,
const float,
NDimensions);
88 itkGetConstReferenceMacro(Origin,
PointType);
89 itkSetVectorMacro(Origin,
const float,
NDimensions);
103 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
120 #ifndef ITK_MANUAL_INSTANTIATION
121 #include "itkGenerateImageSource.hxx"
124 #endif //itkGenerateImageSource_h
OutputImageType::RegionType RegionType
Represent the size (bounds) of a n-dimensional image.
TOutputImage::SizeType SizeType
virtual void GenerateOutputInformation() override
OutputImageType::PixelType PixelType
OutputImageType::DirectionType DirectionType
Base class for all process objects that output image data.
unsigned long SizeValueType
OutputImageType::SpacingType SpacingType
a Base class for image sources which need to have image size, and other meta-data set...
DirectionType m_Direction
SmartPointer< Self > Pointer
static const unsigned int NDimensions
Control indentation during Print() invocation.
TOutputImage OutputImageType
ImageSource< TOutputImage > Superclass
SmartPointer< const Self > ConstPointer
TOutputImage::SizeValueType SizeValueType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
OutputImageType::PointType PointType