Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkNumericSeriesFileNames.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkNumericSeriesFileNames.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:35 $ 00007 Version: $Revision: 1.3 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 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 /* -------- Define the API for NumericSeriesFileNames ----------- */ 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&); //purposely not implemented 00097 void operator=(const Self&); //purposely not implemented 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 } //namespace ITK 00110 00111 #endif // __itkNumericSeriesFileNames_h

Generated at Sat Mar 31 02:26:38 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000