]> Creatis software - gdcm.git/blob - vtk/vtkGdcmReader.h
* vtk/vtkGdcmReader[cxx|h] preparation addons for loading volumes.
[gdcm.git] / vtk / vtkGdcmReader.h
1 // $Header: /cvs/public/gdcm/vtk/vtkGdcmReader.h,v 1.2 2003/05/29 16:58:24 frog Exp $
2
3 #ifndef __vtkGdcmReader_h
4 #define __vtkGdcmReader_h
5
6 #include <list>
7 #include <string>
8 #include "vtkImageReader.h"
9
10 class VTK_EXPORT vtkGdcmReader : public vtkImageReader
11 {
12 public:
13   static vtkGdcmReader *New() {return new vtkGdcmReader;};
14   vtkTypeMacro(vtkGdcmReader, vtkImageReader);
15   void PrintSelf(ostream& os, vtkIndent indent);
16   void AddFileName(const char* name);
17   void SetFileName(const char *name);
18 protected:
19   vtkGdcmReader();
20   ~vtkGdcmReader();
21   virtual void ExecuteInformation();
22   void ExecuteData(vtkDataObject *output);
23   void BuilFileListFromPattern();
24   bool CheckFileCoherence();
25   // List of filenames to be read in order to build a stack of images
26   // or volume. The order in the list shall be the order of the images.
27   //BTX
28   std::list<std::string> FileNameList;
29   //ETX
30 };
31 #endif
32