[vtkusers] vtkImageReader - SetDataSpacing - What is it doing?
Sean Larkin
sean.larkin at lickenbrocktech.com
Fri Oct 14 11:15:39 EDT 2011
Hello,
I'm using vtkImageReader to loading a 3D volume and render it with
vtkVolumeMapper. I want to be able to adjust the voxel aspect ratio, so I
decided to use the SetDataSpacing() method of vtkImageReader. Is this the
best way to do this? I ask this because I can get very different looking
rendered images when I use the same aspect ratio, with different values.
For example, when I set the spacing to [.043,.043,1] I get poor resolution
compared to when I use [1,1,23.3] (these are the same ratios). Does
anyone know why this is happening?
Thanks,
Sean Larkin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111014/4666d5d1/attachment.htm>
More information about the vtkusers
mailing list