]> Creatis software - gdcm.git/blobdiff - vtk/vtkGdcmWriter.h
* Example/WriteDicomSimple.cxx : example to write a dicom file from nothing.
[gdcm.git] / vtk / vtkGdcmWriter.h
index 592daec1cef3ac359b4676bf063f30e4e24ac7f0..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
 
@@ -26,7 +42,10 @@ protected:
    vtkGdcmWriter();
    ~vtkGdcmWriter();
 
-  virtual void RecursiveWrite(int dim, vtkImageData *region, ofstream *file);
+  virtual void RecursiveWrite(int axis, vtkImageData *image, ofstream *file);
+  virtual void RecursiveWrite(int axis, vtkImageData *image, 
+                              vtkImageData *cache, ofstream *file);
+  void WriteDcmFile(char *fileName,vtkImageData *image);
 
 private:
 // Variables