[vtk-developers] How to apply isosurface rendering on the .slc file

Rizwan606 Rizwan.riz606 at gmail.com
Sun Oct 21 03:28:02 EDT 2012


I have an isosurface rendering program, which takes the input of 93 images
using vtkVolumeReader

vtkVolume16Reader v16
  v16 SetDataDimensions 64 64
  v16 SetDataByteOrderToLittleEndian 
  v16 SetFilePrefix  "$VTK_DATA_ROOT/Data/headsq/quarter"
  v16 SetImageRange 1 93
  v16 SetDataSpacing  3.2 3.2 1.5


I have another program which is a volume rendering program, but it reads
.slc file using

vtkSLCReader reader
    reader SetFileName "$VTK_DATA_ROOT/Data/neghip.slc"


Now I want to apply isosurface rendering on the .slc file.

I had tried like this: (but it doesn'g give any output)

vtkVolume16Reader v16
  v16 SetDataDimensions 64 64
  v16 SetDataByteOrderToLittleEndian 
  v16 SetFilePrefix  **"$VTK_DATA_ROOT/Data/neghip.slc"**
  v16 SetImageRange 1 93
  v16 SetDataSpacing  3.2 3.2 1.5


Can anyone tell me how can I do it? Any help wil be highly appreciated.
Thanks



--
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-apply-isosurface-rendering-on-the-slc-file-tp5716749.html
Sent from the VTK - Dev mailing list archive at Nabble.com.



More information about the vtk-developers mailing list