[vtkusers] How to SetSampleDistance for ray casting?

Lisa Sobierajski Avila lisa.avila at kitware.com
Wed Feb 21 00:09:47 EST 2001

Hello Wolfram,

The comment is wrong - the sample distance is set in world coordinates. You 
should look at the spacing of the data and compute your distance from that.

By the way, that looks like an odd SLC header line - do you really have a 
spacing of 81 by 1 by 1.01?


At 04:36 PM 2/20/2001, Wolfram H Volpi wrote:
>I am ray casting a slc file and I want to SetSampleDistance to 1/4 of a
>In vtkVolumeRayCastMapper it says "SetSampleDistance is in volume
>The slc file header is: 11111256 256 128 81.0 1.0 1.01 5 0 050 50 X
>What are the volume coordinates of a slc file?
>Thank you,
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
>Follow this link to subscribe/unsubscribe:

More information about the vtkusers mailing list