18 #ifndef itkImageSeriesReader_h
19 #define itkImageSeriesReader_h
20 #include "ITKIOImageBaseExport.h"
44 template <
typename TOutputImage>
86 if (m_FileNames != name)
94 const FileNamesContainer &
106 m_FileNames.push_back(name);
115 m_FileNames.push_back(name);
122 itkSetMacro(ReverseOrder,
bool);
123 itkGetConstMacro(ReverseOrder,
bool);
124 itkBooleanMacro(ReverseOrder);
129 itkSetMacro(ForceOrthogonalDirection,
bool);
130 itkGetConstMacro(ForceOrthogonalDirection,
bool);
131 itkBooleanMacro(ForceOrthogonalDirection);
151 itkSetMacro(MetaDataDictionaryArrayUpdate,
bool);
152 itkGetConstMacro(MetaDataDictionaryArrayUpdate,
bool);
153 itkBooleanMacro(MetaDataDictionaryArrayUpdate);
158 GenerateOutputInformation()
override;
166 EnlargeOutputRequestedRegion(
DataObject * output)
override;
170 DictionaryArrayRawPointer
171 GetMetaDataDictionaryArray()
const;
174 itkSetMacro(UseStreaming,
bool);
175 itkGetConstReferenceMacro(UseStreaming,
bool);
176 itkBooleanMacro(UseStreaming);
180 itkSetMacro(SpacingWarningRelThreshold,
double);
181 itkGetConstMacro(SpacingWarningRelThreshold,
double);
191 PrintSelf(std::ostream & os,
Indent indent)
const override;
195 GenerateData()
override;
201 bool m_ReverseOrder{
false };
204 bool m_ForceOrthogonalDirection{
true };
214 unsigned int m_NumberOfDimensionsInImage{ 0 };
220 bool m_UseStreaming{
true };
222 bool m_SpacingDefined{
false };
224 double m_SpacingWarningRelThreshold{ 1
e-4 };
230 ComputeMovingDimensionIndex(
ReaderType * reader);
236 bool m_MetaDataDictionaryArrayUpdate{
true };
240 #ifndef ITK_MANUAL_INSTANTIATION
241 # include "itkImageSeriesReader.hxx"
244 #endif // itkImageSeriesReader_h