]> Creatis software - gdcm.git/blobdiff - vtk/vtkGdcmReader.h
* vtk/vtkGdcmReader[cxx|h] preparation addons for loading volumes.
[gdcm.git] / vtk / vtkGdcmReader.h
index 20eb484ae39be6a701fe9e69bccf4a140f469eca..dbcd0faeb24314f4551f4908402897f4e98c3bb8 100644 (file)
@@ -1,8 +1,10 @@
-// $Header: /cvs/public/gdcm/vtk/vtkGdcmReader.h,v 1.1 2003/05/05 14:13:59 frog Exp $
+// $Header: /cvs/public/gdcm/vtk/vtkGdcmReader.h,v 1.2 2003/05/29 16:58:24 frog Exp $
 
 #ifndef __vtkGdcmReader_h
 #define __vtkGdcmReader_h
 
+#include <list>
+#include <string>
 #include "vtkImageReader.h"
 
 class VTK_EXPORT vtkGdcmReader : public vtkImageReader
@@ -11,11 +13,20 @@ public:
   static vtkGdcmReader *New() {return new vtkGdcmReader;};
   vtkTypeMacro(vtkGdcmReader, vtkImageReader);
   void PrintSelf(ostream& os, vtkIndent indent);
+  void AddFileName(const char* name);
+  void SetFileName(const char *name);
 protected:
   vtkGdcmReader();
   ~vtkGdcmReader();
-  void ExecuteData(vtkDataObject *output);
   virtual void ExecuteInformation();
+  void ExecuteData(vtkDataObject *output);
+  void BuilFileListFromPattern();
+  bool CheckFileCoherence();
+  // List of filenames to be read in order to build a stack of images
+  // or volume. The order in the list shall be the order of the images.
+  //BTX
+  std::list<std::string> FileNameList;
+  //ETX
 };
 #endif