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 namespace itk
00030 {
00031
00046 class ITK_EXPORT NumericSeriesFileNames : public Object
00047 {
00048 public:
00050 typedef NumericSeriesFileNames Self;
00051 typedef Object Superclass;
00052 typedef SmartPointer<Self> Pointer;
00053
00055 itkNewMacro(Self);
00056
00058 itkTypeMacro(NumericSeriesFileNames, Object);
00059
00060
00061
00064 itkSetMacro(StartIndex,unsigned long);
00065 itkGetMacro(StartIndex,unsigned long);
00066
00068 itkSetMacro(EndIndex,unsigned long);
00069 itkGetMacro(EndIndex,unsigned long);
00070
00073 itkSetMacro(IncrementIndex,unsigned long);
00074 itkGetMacro(IncrementIndex,unsigned long);
00075
00080 itkSetStringMacro(SeriesFormat);
00081 itkGetStringMacro(SeriesFormat);
00082
00085 const std::vector<std::string> &GetFileNames ();
00086
00087 protected:
00088 NumericSeriesFileNames();
00089 ~NumericSeriesFileNames() {};
00090 void PrintSelf(std::ostream& os, Indent indent) const;
00091
00092 private:
00093 NumericSeriesFileNames(const Self&);
00094 void operator=(const Self&);
00095
00096 unsigned long m_StartIndex;
00097 unsigned long m_EndIndex;
00098 unsigned long m_IncrementIndex;
00099
00101 std::string m_SeriesFormat;
00102
00103 std::vector<std::string> m_FileNames;
00104 };
00105
00106 }
00107
00108 #endif // __itkNumericSeriesFileNames_h