18 #ifndef itkGDCMSeriesFileNames_h
19 #define itkGDCMSeriesFileNames_h
25 #include "gdcmSerieHelper.h"
26 #include "ITKIOGDCMExport.h"
79 void SetInputDirectory(
const char *name);
82 void SetInputDirectory(std::string
const & name);
87 SetInputDirectory(name);
93 const FileNamesContainerType & GetInputFileNames();
98 m_OutputDirectory = name;
108 const FileNamesContainerType & GetOutputFileNames();
116 const FileNamesContainerType & GetFileNames(
const std::string serie);
123 const SeriesUIDContainerType & GetSeriesUIDs();
126 itkSetMacro(Recursive,
bool);
127 itkGetConstMacro(Recursive,
bool);
128 itkBooleanMacro(Recursive);
135 void SetUseSeriesDetails(
bool useSeriesDetails);
143 return m_UseSeriesDetails;
153 itkLegacyMacro(gdcm::SerieHelper * GetSeriesHelper(
void));
163 m_SerieHelper->AddRestriction(tag);
170 itkSetMacro(LoadSequences,
bool);
171 itkGetConstMacro(LoadSequences,
bool);
172 itkBooleanMacro(LoadSequences);
179 itkSetMacro(LoadPrivateTags,
bool);
180 itkGetConstMacro(LoadPrivateTags,
bool);
181 itkBooleanMacro(LoadPrivateTags);
187 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
193 std::
string m_InputDirectory;
196 std::
string m_OutputDirectory;
203 gdcm::SerieHelper *m_SerieHelper;
208 bool m_UseSeriesDetails;
210 bool m_LoadSequences;
211 bool m_LoadPrivateTags;
215 #endif // itkGDCMSeriesFileNames_h
std::vector< std::string > FilenamesContainer
Light weight base class for most itk classes.
void SetDirectory(std::string const &name)
void AddSeriesRestriction(const std::string &tag)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
SmartPointer< Self > Pointer
std::vector< std::string > SerieUIDContainer
void SetOutputDirectory(std::string const &name)
SerieUIDContainer SeriesUIDContainerType
bool GetUseSeriesDetails(void)
FilenamesContainer FileNamesContainerType
Generate a sequence of filenames from a DICOM series.
Control indentation during Print() invocation.