X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FtestvtkGdcmReader.cxx;h=6dbbff7db9c11dba499889127ba9123def136cdd;hb=5e2d2ceb4eeffa692668c16e69b9e62ddaa16be8;hp=6fc520b10ad7fa800d7860796e698a967261e24d;hpb=6cf458fe8d13f8b577a62802650afc6f67c720a0;p=gdcm.git diff --git a/vtk/testvtkGdcmReader.cxx b/vtk/testvtkGdcmReader.cxx index 6fc520b1..6dbbff7d 100644 --- a/vtk/testvtkGdcmReader.cxx +++ b/vtk/testvtkGdcmReader.cxx @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #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);