64 bit problems (again)

Bill Lorensen wlorens1 at nycap.rr.com
Thu Jul 1 06:29:21 EDT 1999


We made recent changes to vtk to support 64 bits on 4/28/99.
We build and run 64 bit on an SGI. I'm not sure about vtkXImageMapper. We
mainly use the OpenGL image mapper. Send me you vtkXImageMapper code.

Bill

At 10:05 AM 7/1/99 +0200, Stef Desmet wrote:
>Hi,
>
>We are using VTK on different platforms and also on Digital Unix. I reported
>earlier problems using long type variables which are implicitely assumed 
>to have
>a size of 4 bytes in the VTKXImageMapper.
>
>Same problem now in the vtkTIFF{Reader and Writer}...
>e.g. the function Swap4 get a long (==8 bytes) as input but only swaps 4
>fread is done with sizeof(long) to read info from TIFF header which is stored
>as a 4 byte int.
>
>Is there any chance that VTK will be 64 bit compliant ??
>What's the reason of this "overwhelming" use of long type variables ?
>
>I can provide you with the adapted versions of vtkXImageMapper, 
>vtkTIFFReader and vtkTIFFWriter.
>I assume comparable problems in vtkBMP{Reader, Writer}  but till now never 
>had to use this code.
>
>Bye
>--
>Stef Desmet
>Katholieke Universiteit Leuven                      Tel. +32-16-321041
>Departement Elektrotechniek - ESAT                  Fax. +32-16-321986
>Centrum voor Beeld- en Spraakverwerking - PSI       Telex 25914 ELEKUL
>Kardinaal Mercierlaan 94         eMail stef.desmet at esat.kuleuven.ac.be
>B-3001 Heverlee Leuven    URL <http://www.esat.kuleuven.ac.be/~desmet>
>B E L G I U M
>----------------------------------------------------------------------
>
>
>-----------------------------------------------------------------------------
>This is the private VTK discussion list.  Please keep messages on-topic.
>Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
>To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
><majordomo at gsao.med.ge.com>.  For help, send message body containing
>"info vtkusers" to the same address.     Live long and prosper.
>-----------------------------------------------------------------------------




-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list