[vtkusers] Generating a 64 bit version of vtk...

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Jul 28 10:31:47 EDT 2005


C Heinzl wrote:
> Hi,
> 
> I'm working in the area of an industrial CT, especially on exact geometry
> comparison. So precise data is essential but large data files over 2Gb aren't
> easy to handle. Decimating the data would introduce a measurement
> error which my partners don't want to have. Currently I use 32 bit in my
> testapp which is fine till 650 Mb but later on I should think about a
> solution for larger datasets. Therefore I'd like to have a 64 bit version of vtk.
> Does anybody have some experience with generating a 64 bit vtk? 
> A first idea is to replace all the longs by__int64. Would that work?

Christoph,

	How about simply turning: VTK_USE_64BIT_IDS ON ? Isn't it easier ;)
	BTW you may want to use VTK from CVS if you are planning to use 
vtkImageData, David Gobbi recently modify the internals to support 
larger image.

HTH
Mathieu



More information about the vtkusers mailing list