Program: gdcm
Module: $RCSfile: vtkGdcmWriter.cxx,v $
Language: C++
- Date: $Date: 2005/08/20 22:29:46 $
- Version: $Revision: 1.23 $
+ Date: $Date: 2005/08/22 12:23:26 $
+ Version: $Revision: 1.24 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#define vtkFloatingPointType float
#endif
-vtkCxxRevisionMacro(vtkGdcmWriter, "$Revision: 1.23 $")
+vtkCxxRevisionMacro(vtkGdcmWriter, "$Revision: 1.24 $")
vtkStandardNewMacro(vtkGdcmWriter)
//-----------------------------------------------------------------------------
// FIXME : what do we do when the ScalarType is
// VTK_UNSIGNED_INT or VTK_UNSIGNED_LONG
str.str("");
- if( image->GetScalarType() == VTK_UNSIGNED_CHAR ||
+ if( image->GetScalarType() == VTK_UNSIGNED_CHAR ||
image->GetScalarType() == VTK_UNSIGNED_SHORT ||
- image->GetScalarType() == VTK_UNSIGNED_INT ||
+ image->GetScalarType() == VTK_UNSIGNED_INT ||
image->GetScalarType() == VTK_UNSIGNED_LONG )
{
str << "0"; // Unsigned
vtkFloatingPointType *sp = image->GetSpacing();
str.str("");
- // We are about to enter floating point value. By default ostringstream are smart and don't do fixed point
+ // We are about to enter floating point value.
+ // By default ostringstream are smart and don't do fixed point
// thus forcing to fixed point value
str.setf( std::ios::fixed );
str << sp[1] << "\\" << sp[0];