1 // $Header: /cvs/public/gdcm/vtk/vtkGdcmReader.h,v 1.4 2003/06/02 07:42:17 regrain Exp $
3 #ifndef __vtkGdcmReader_h
4 #define __vtkGdcmReader_h
8 #include "vtkImageReader.h"
10 class VTK_EXPORT vtkGdcmReader : public vtkImageReader
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);
21 virtual void ExecuteInformation();
22 void ExecuteData(vtkDataObject *output);
23 void BuilFileListFromPattern();
24 bool CheckFileCoherence();
26 // List of filenames to be read in order to build a stack of images
27 // or volume. The order in the list shall be the order of the images.
29 std::list<std::string> FileNameList;
30 void LoadImageInMemory(std::string FileName, unsigned char * Dest, size_t size);