]> Creatis software - gdcm.git/blobdiff - vtk/vtkGdcmWriter.h
* vtk/vtkGdcm*.[h|cxx] : remove warnings. Add header to files
[gdcm.git] / vtk / vtkGdcmWriter.h
index ff255b2b079fdfa36ff0b3004a3392f6e8b6184e..79e8edb8f1e55d2abd63f57eefb48553c563db8d 100644 (file)
@@ -1,5 +1,21 @@
-// vtkGdcmWriter.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: vtkGdcmWriter.h,v $
+  Language:  C++
+  Date:      $Date: 2004/12/09 10:59:59 $
+  Version:   $Revision: 1.3 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+                                                                                
 #ifndef __vtkGdcmWriter_h
 #define __vtkGdcmWriter_h
 
@@ -27,7 +43,9 @@ protected:
    ~vtkGdcmWriter();
 
   virtual void RecursiveWrite(int axis, vtkImageData *image, ofstream *file);
-  void WriteFile(char *fileName,vtkImageData *image);
+  virtual void RecursiveWrite(int axis, vtkImageData *image, 
+                              vtkImageData *cache, ofstream *file);
+  void WriteDcmFile(char *fileName,vtkImageData *image);
 
 private:
 // Variables