[vtkusers] Why vtkVolume16ReaderGetImage returns only 2D image data

Andreas Fabri andreas.fabri at geometryfactory.com
Fri Jun 22 12:08:39 EDT 2007


Hello,

I've read in several images with a vtkVolume16Reader
and now want to interpolate in voxels.

The reader only has a method

vtkImageData * 	GetImage (int ImageNumber)


so do I have to get the 2D images one by one and
assemble them to a 3D image using the method

virtual void 	
vtkImageData::CopyAndCastFrom (vtkImageData *inData, int extent[6])

thanks in advance,

andreas




More information about the vtkusers mailing list