19 #ifndef itkGenerateImageSource_h
20 #define itkGenerateImageSource_h
39 template<
typename TOutputImage >
52 typedef typename OutputImageType::PixelType
PixelType;
55 typedef typename OutputImageType::PointType
PointType;
57 typedef typename OutputImageType::IndexType
IndexType;
62 typedef typename TOutputImage::SizeType
SizeType;
66 itkStaticConstMacro(NDimensions,
unsigned int, TOutputImage::ImageDimension);
71 itkSetMacro(UseReferenceImage,
bool);
72 itkBooleanMacro(UseReferenceImage);
73 itkGetConstMacro(UseReferenceImage,
bool);
88 itkSetVectorMacro(Spacing,
const float, NDimensions);
96 itkGetConstReferenceMacro(Origin,
PointType);
97 itkSetVectorMacro(Origin,
const float, NDimensions);
113 itkGetConstReferenceMacro(StartIndex,
IndexType);
133 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
135 virtual void GenerateOutputInformation() ITK_OVERRIDE;
145 bool m_UseReferenceImage;
151 #ifndef ITK_MANUAL_INSTANTIATION
152 #include "itkGenerateImageSource.hxx"
155 #endif //itkGenerateImageSource_h
OutputImageType::RegionType RegionType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Represent the size (bounds) of a n-dimensional image.
TOutputImage::SizeType SizeType
OutputImageType::PixelType PixelType
OutputImageType::DirectionType DirectionType
Base class for all process objects that output image data.
OutputImageType::Pointer OutputImagePointer
unsigned long SizeValueType
SmartPointer< Self > Pointer
OutputImageType::SpacingType SpacingType
a Base class for image sources which need to have image size, and other meta-data set...
SmartPointer< Self > Pointer
Base class for templated image classes.
Control indentation during Print() invocation.
TOutputImage OutputImageType
ImageSource< TOutputImage > Superclass
SmartPointer< const Self > ConstPointer
TOutputImage::SizeValueType SizeValueType
ImageBase< TOutputImage::ImageDimension > ReferenceImageBaseType
OutputImageType::IndexType IndexType
OutputImageType::PointType PointType