]> Creatis software - gdcm.git/blob - vtk/vtkGdcmWriter.h
592daec1cef3ac359b4676bf063f30e4e24ac7f0
[gdcm.git] / vtk / vtkGdcmWriter.h
1 // vtkGdcmWriter.h
2 //-----------------------------------------------------------------------------
3 #ifndef __vtkGdcmWriter_h
4 #define __vtkGdcmWriter_h
5
6 #include "gdcmCommon.h" // To avoid warnings concerning the std
7
8 #include <vtkImageWriter.h>
9 #include <vtkLookupTable.h>
10 #include <list>
11 #include <string>
12
13 //-----------------------------------------------------------------------------
14 class VTK_EXPORT vtkGdcmWriter : public vtkImageWriter
15 {
16 public:
17    static vtkGdcmWriter *New();
18    vtkTypeRevisionMacro(vtkGdcmWriter, vtkImageWriter);
19
20    void PrintSelf(ostream& os, vtkIndent indent);
21
22    vtkSetObjectMacro(LookupTable,vtkLookupTable);
23    vtkGetObjectMacro(LookupTable,vtkLookupTable);
24
25 protected:
26    vtkGdcmWriter();
27    ~vtkGdcmWriter();
28
29   virtual void RecursiveWrite(int dim, vtkImageData *region, ofstream *file);
30
31 private:
32 // Variables
33    vtkLookupTable *LookupTable;
34 };
35
36 //-----------------------------------------------------------------------------
37 #endif
38