1 #ifndef clitkWriteDicomSeriesGenericFilter_h
2 #define clitkWriteDicomSeriesGenericFilter_h
4 /* =================================================
5 * @file clitkWriteDicomSeriesGenericFilter.h
11 ===================================================*/
16 #include "clitkImageCommon.h"
17 #include "clitkWriteDicomSeries_ggo.h"
20 #include "itkLightObject.h"
21 #include "itkGDCMImageIO.h"
22 #include "itkMetaDataDictionary.h"
23 #include "itkGDCMSeriesFileNames.h"
24 #include "itkImageSeriesReader.h"
25 #include "itkImageSeriesWriter.h"
27 #include <itksys/SystemTools.hxx>
31 template<class args_info_type>
32 class ITK_EXPORT WriteDicomSeriesGenericFilter : public itk::LightObject
35 //----------------------------------------
37 //----------------------------------------
38 typedef WriteDicomSeriesGenericFilter Self;
39 typedef itk::LightObject Superclass;
40 typedef itk::SmartPointer<Self> Pointer;
41 typedef itk::SmartPointer<const Self> ConstPointer;
43 // Method for creation through the object factory
46 // Run-time type information (and related methods)
47 itkTypeMacro( WriteDicomSeriesGenericFilter, LightObject );
50 //----------------------------------------
52 //----------------------------------------
55 //----------------------------------------
57 //----------------------------------------
58 void SetArgsInfo(const args_info_type & a)
61 m_Verbose=m_ArgsInfo.verbose_flag;
62 m_InputFileName=m_ArgsInfo.input_arg;
66 //----------------------------------------
68 //----------------------------------------
73 //----------------------------------------
74 // Constructor & Destructor
75 //----------------------------------------
76 WriteDicomSeriesGenericFilter();
77 ~WriteDicomSeriesGenericFilter() {};
80 //----------------------------------------
82 //----------------------------------------
83 template <unsigned int Dimension> void UpdateWithDim(std::string PixelType);
84 template <unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType();
87 //----------------------------------------
89 //----------------------------------------
90 args_info_type m_ArgsInfo;
92 std::string m_InputFileName;
97 } // end namespace clitk
99 #ifndef ITK_MANUAL_INSTANTIATION
100 #include "clitkWriteDicomSeriesGenericFilter.txx"
103 #endif // #define clitkWriteDicomSeriesGenericFilter_h