]> Creatis software - gdcm.git/commitdiff
* vtk/vtkGdcmReader.cxx : compilation bug fix for the vtk part
authorregrain <regrain>
Thu, 25 Nov 2004 10:45:05 +0000 (10:45 +0000)
committerregrain <regrain>
Thu, 25 Nov 2004 10:45:05 +0000 (10:45 +0000)
   -- BeNours

ChangeLog
vtk/vtkGdcmReader.cxx

index 532ab0bdcfa9e6217761a310719f52ff8c54b688..f582ac92377ef91cbf0592b38894286b385a3e9c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2004-11-25 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
+   * vtk/vtkGdcmReader.cxx : compilation bug fix for the vtk part
+
 2004-11-25 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
    * src/gdcmDocument.cxx : fix bug... test if the fp is opened to use it
    * src/gdcmPixelConvert.cxx : calculate the image size when while the grab of
index 550f94141db5ba551b5a012ccf843689a7c26b76..632cca7b1cda1958e60be4ab3b94f978c7569ede 100644 (file)
@@ -58,7 +58,7 @@
 #include <vtkPointData.h>
 #include <vtkLookupTable.h>
 
-vtkCxxRevisionMacro(vtkGdcmReader, "$Revision: 1.54 $");
+vtkCxxRevisionMacro(vtkGdcmReader, "$Revision: 1.55 $");
 vtkStandardNewMacro(vtkGdcmReader);
 
 //-----------------------------------------------------------------------------
@@ -631,7 +631,7 @@ size_t vtkGdcmReader::LoadImageInMemory(
    
    if( file.GetHeader()->HasLUT() && AllowLookupTable )
    {
-      size               = file.GetImageDataSizeRaw();
+      size               = file.GetImageDataSize();
       source             = (unsigned char*) file.GetImageDataRaw();
       unsigned char *lut = (unsigned char*) file.GetLutRGBA();