X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FvtkGdcmReader.cxx;h=584305bcebb3b4a66b685c567227178a90232bba;hb=4caa0694570fdecca63e745c25471edc4272aad1;hp=538462a6f348d680e43ca6055910ff8d4ebb5653;hpb=8afcac16f1406492a512a14845b6234bc9fee5ed;p=gdcm.git diff --git a/vtk/vtkGdcmReader.cxx b/vtk/vtkGdcmReader.cxx index 538462a6..584305bc 100644 --- a/vtk/vtkGdcmReader.cxx +++ b/vtk/vtkGdcmReader.cxx @@ -58,7 +58,7 @@ #include #include -vtkCxxRevisionMacro(vtkGdcmReader, "$Revision: 1.58 $"); +vtkCxxRevisionMacro(vtkGdcmReader, "$Revision: 1.61 $"); vtkStandardNewMacro(vtkGdcmReader); //----------------------------------------------------------------------------- @@ -214,7 +214,7 @@ void vtkGdcmReader::ExecuteInformation() else if ( ImageType == "32U" ) { vtkDebugMacro(<< "32 bits unsigned image"); - vtkDebugMacro("WARNING: forced to signed int !"); + vtkDebugMacro(<< "WARNING: forced to signed int !"); this->SetDataScalarTypeToInt(); } else if ( ImageType == "32S" ) @@ -460,10 +460,10 @@ int vtkGdcmReader::CheckFileCoherence() && (type != "16U") && (type != "16S") && (type != "32U") && (type != "32S") ) { - vtkErrorMacro(<< "Bad File Type for file" << filename->c_str()); - vtkErrorMacro(<< " " << type.c_str()); - vtkErrorMacro(<< "Removing this file from readed files " - << filename->c_str()); + vtkErrorMacro(<< "Bad File Type for file " << filename->c_str() << "\n" + << " File type found : " << type.c_str() + << " (might be 8U, 8S, 16U, 16S, 32U, 32S) \n" + << " Removing this file from readed files"); *filename = "GDCM_UNREADABLE"; continue; }