]> Creatis software - gdcm.git/blobdiff - vtk/testvtkGdcmReader.cxx
Sorry, didn't realize named had changed .c -> 12.c
[gdcm.git] / vtk / testvtkGdcmReader.cxx
index 6fc520b10ad7fa800d7860796e698a967261e24d..6dbbff7db9c11dba499889127ba9123def136cdd 100644 (file)
@@ -1,30 +1,30 @@
-// $Header: /cvs/public/gdcm/vtk/Attic/testvtkGdcmReader.cxx,v 1.2 2003/05/12 14:32:43 frog Exp $
+// $Header: /cvs/public/gdcm/vtk/Attic/testvtkGdcmReader.cxx,v 1.5 2003/07/08 09:48:43 regrain Exp $
 
-#include "vtkRenderer.h"
-#include "vtkRenderWindow.h"
-#include "vtkRenderWindowInteractor.h"
-#include "vtkPolyDataMapper.h"
-#include "vtkActor.h"
-#include "vtkImageMapper.h"
-#include "vtkImageViewer.h"
-#include "vtkMatrix4x4.h"
-#include "vtkLookupTable.h"
-#include "vtkMatrixToLinearTransform.h"
-#include "vtkTexture.h"
-#include "vtkPlaneSource.h"
-#include "vtkTextureMapToPlane.h"
-#include "vtkDataSetMapper.h"
-#include "vtkActor.h"
-#include "vtkImageCast.h"
-#include "vtkPNGWriter.h"
-#include "vtkTexture.h"
+#include <vtkRenderer.h>
+#include <vtkRenderWindow.h>
+#include <vtkRenderWindowInteractor.h>
+#include <vtkPolyDataMapper.h>
+#include <vtkActor.h>
+#include <vtkImageMapper.h>
+#include <vtkImageData.h>
+#include <vtkImageViewer.h>
+#include <vtkMatrix4x4.h>
+#include <vtkLookupTable.h>
+#include <vtkMatrixToLinearTransform.h>
+#include <vtkTexture.h>
+#include <vtkPlaneSource.h>
+#include <vtkTextureMapToPlane.h>
+#include <vtkDataSetMapper.h>
+#include <vtkActor.h>
+#include <vtkImageCast.h>
+#include <vtkPNGWriter.h>
+#include <vtkTexture.h>
 
 #include "vtkGdcmReader.h"
 
   
 int main( int argc, char *argv[] )
 {
-   char a;
    int *taille;
    int x,y;
 
@@ -49,7 +49,8 @@ int main( int argc, char *argv[] )
    vtkImageData *ima = reader->GetOutput();
    taille=ima->GetDimensions();
    x = taille[0];  y = taille[1];
-   cout << "Taille de l'image en X=" << x << " et en Y=" << y << endl;
+   cout << "Dimensions of the picture as read with gdcm: "
+        << x << " x " << y << endl;
 
    vtkLookupTable *VTKtable = vtkLookupTable::New();
    VTKtable->SetNumberOfColors(1000);