19 #ifndef itkGenerateImageSource_h 20 #define itkGenerateImageSource_h 39 template<
typename TOutputImage >
58 typedef typename TOutputImage::SizeType
SizeType;
62 itkStaticConstMacro(
NDimensions,
unsigned int, TOutputImage::ImageDimension);
70 itkSetMacro(
Size, SizeType);
71 itkGetConstReferenceMacro(
Size, SizeType);
78 itkSetMacro(Spacing, SpacingType);
79 itkGetConstReferenceMacro(Spacing, SpacingType);
80 itkSetVectorMacro(Spacing,
const float,
NDimensions);
87 itkSetMacro(Origin, PointType);
88 itkGetConstReferenceMacro(Origin, PointType);
89 itkSetVectorMacro(Origin,
const float,
NDimensions);
96 itkSetMacro(Direction, DirectionType);
97 itkGetConstReferenceMacro(Direction, DirectionType);
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
Superclass::RegionType RegionType
Represent the size (bounds) of a n-dimensional image.
Represent a symmetric tensor of second rank.
Superclass::PointType PointType
TOutputImage::SizeType SizeType
virtual void GenerateOutputInformation() override
OutputImageType::PixelType PixelType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
OutputImageType::DirectionType DirectionType
Base class for all process objects that output image data.
Superclass::SpacingType SpacingType
unsigned long SizeValueType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
OutputImageType::SpacingType SpacingType
a Base class for image sources which need to have image size, and other meta-data set...
Superclass::DirectionType DirectionType
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
OutputImageType::PointType PointType