19 #ifndef itkGenerateImageSource_h
20 #define itkGenerateImageSource_h
40 template <
typename TOutputImage>
54 using PixelType =
typename OutputImageType::PixelType;
68 static constexpr
unsigned int NDimensions = TOutputImage::ImageDimension;
73 itkSetMacro(UseReferenceImage,
bool);
74 itkBooleanMacro(UseReferenceImage);
75 itkGetConstMacro(UseReferenceImage,
bool);
90 itkSetVectorMacro(Spacing,
const float, NDimensions);
98 itkGetConstReferenceMacro(Origin,
PointType);
99 itkSetVectorMacro(Origin,
const float, NDimensions);
115 itkGetConstReferenceMacro(StartIndex,
IndexType);
137 PrintSelf(std::ostream & os,
Indent indent)
const override;
140 GenerateOutputInformation()
override;
148 bool m_UseReferenceImage{
false };
153 #ifndef ITK_MANUAL_INSTANTIATION
154 # include "itkGenerateImageSource.hxx"
157 #endif // itkGenerateImageSource_h