X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FtestvtkGdcmReader.cxx;h=6208088342f727571a14fdcf16f2125b3a96da1b;hb=c9cba2121fd1226c229ae97686ee2f2d8b158647;hp=6fc520b10ad7fa800d7860796e698a967261e24d;hpb=6cf458fe8d13f8b577a62802650afc6f67c720a0;p=gdcm.git diff --git a/vtk/testvtkGdcmReader.cxx b/vtk/testvtkGdcmReader.cxx index 6fc520b1..62080883 100644 --- a/vtk/testvtkGdcmReader.cxx +++ b/vtk/testvtkGdcmReader.cxx @@ -1,23 +1,24 @@ -// $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.4 2003/05/21 16:26:29 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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include "vtkGdcmReader.h" @@ -49,7 +50,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);