00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __itkNumericSeriesFileNames_h
00018 #define __itkNumericSeriesFileNames_h
00019
00020 #ifdef _MSC_VER
00021 #pragma warning ( disable : 4786 )
00022 #endif
00023
00024 #include "itkObject.h"
00025 #include "itkObjectFactory.h"
00026 #include "itkExceptionObject.h"
00027 #include <vector>
00028
00029 #include "DICOMParser.h"
00030 #include "DICOMAppHelper.h"
00031
00032 namespace itk
00033 {
00034
00049 class ITK_EXPORT NumericSeriesFileNames : public Object
00050 {
00051 public:
00053 typedef NumericSeriesFileNames Self;
00054 typedef Object Superclass;
00055 typedef SmartPointer<Self> Pointer;
00056
00058 itkNewMacro(Self);
00059
00061 itkTypeMacro(NumericSeriesFileNames, Object);
00062
00063
00064
00067 itkSetMacro(StartIndex,unsigned long);
00068 itkGetMacro(StartIndex,unsigned long);
00069
00071 itkSetMacro(EndIndex,unsigned long);
00072 itkGetMacro(EndIndex,unsigned long);
00073
00076 itkSetMacro(IncrementIndex,unsigned long);
00077 itkGetMacro(IncrementIndex,unsigned long);
00078
00083 itkSetStringMacro(SeriesFormat);
00084 itkGetStringMacro(SeriesFormat);
00085
00088 const std::vector<std::string> &GetFileNames ();
00089
00090 protected:
00091 NumericSeriesFileNames();
00092 ~NumericSeriesFileNames() {};
00093 void PrintSelf(std::ostream& os, Indent indent) const;
00094
00095 private:
00096 NumericSeriesFileNames(const Self&);
00097 void operator=(const Self&);
00098
00099 unsigned long m_StartIndex;
00100 unsigned long m_EndIndex;
00101 unsigned long m_IncrementIndex;
00102
00104 std::string m_SeriesFormat;
00105
00106 std::vector<std::string> m_FileNames;
00107 };
00108
00109 }
00110
00111 #endif // __itkNumericSeriesFileNames_h