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);
00067
00069 itkSetMacro(EndIndex,unsigned long);
00070 itkGetMacro(EndIndex,unsigned long);
00072
00075 itkSetMacro(IncrementIndex,unsigned long);
00076 itkGetMacro(IncrementIndex,unsigned long);
00078
00083 itkSetStringMacro(SeriesFormat);
00084 itkGetStringMacro(SeriesFormat);
00086
00089 const std::vector<std::string> &GetFileNames ();
00090
00091 protected:
00092 NumericSeriesFileNames();
00093 ~NumericSeriesFileNames() {};
00094 void PrintSelf(std::ostream& os, Indent indent) const;
00095
00096 private:
00097 NumericSeriesFileNames(const Self&);
00098 void operator=(const Self&);
00099
00100 unsigned long m_StartIndex;
00101 unsigned long m_EndIndex;
00102 unsigned long m_IncrementIndex;
00103
00105 std::string m_SeriesFormat;
00106
00107 std::vector<std::string> m_FileNames;
00108 };
00109
00110 }
00111
00112 #endif // __itkNumericSeriesFileNames_h
00113