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: 2004/10/18 21:55:18 $
00007   Version:   $Revision: 1.5 $
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 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   /* -------- Define the API for NumericSeriesFileNames ----------- */
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&); //purposely not implemented
00094   void operator=(const Self&); //purposely not implemented
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 } //namespace ITK
00107 
00108 #endif // __itkNumericSeriesFileNames_h

Generated at Wed May 24 23:47:49 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000