2 //-----------------------------------------------------------------------------
3 #ifndef __vtkGdcmWriter_h
4 #define __vtkGdcmWriter_h
6 #include "gdcmCommon.h" // To avoid warnings concerning the std
8 #include <vtkImageWriter.h>
9 #include <vtkLookupTable.h>
13 //-----------------------------------------------------------------------------
14 class VTK_EXPORT vtkGdcmWriter : public vtkImageWriter
17 static vtkGdcmWriter *New();
18 vtkTypeRevisionMacro(vtkGdcmWriter, vtkImageWriter);
20 void PrintSelf(ostream& os, vtkIndent indent);
22 vtkSetObjectMacro(LookupTable,vtkLookupTable);
23 vtkGetObjectMacro(LookupTable,vtkLookupTable);
29 virtual void RecursiveWrite(int axis, vtkImageData *image, ofstream *file);
30 void WriteFile(char *fileName,vtkImageData *image);
34 vtkLookupTable *LookupTable;
37 //-----------------------------------------------------------------------------