<html><div style='background-color:'><P>hi,</P>
<P>I am using Visual C++ &amp;VTK on Windows platform to realize volume 
rendering. but when I use the following code to read volume data(*.raw,eg, 
a file named CTCalf178_212_100.RAW).It said that the code followed is used 
to read a series of 2D slices (images) that compose the volume, not used to 
read 3D volume data, is that riht?</P>
<P>&nbsp; vtkVolume16Reader *v16 = 
vtkVolume16Reader::New();<BR>&nbsp;&nbsp;&nbsp; 
v16-&gt;SetDataDimensions(64,64);<BR>&nbsp;&nbsp;&nbsp; 
v16-&gt;SetDataByteOrderToLittleEndian();<BR>&nbsp;&nbsp;&nbsp; 
v16-&gt;SetFilePrefix ("CTCalf178_212_100.RAW");<BR>&nbsp;&nbsp;&nbsp; 
v16-&gt;SetImageRange(1, 1);<BR>&nbsp;&nbsp;&nbsp; v16-&gt;SetDataSpacing 
(3.2, 3.2, 1.5);<BR></P>
<P>the code is linked correctly, but when I run it, there are something 
wrong,like this:</P>
<P>ERROR: In C:\martink\vtk42\VTK\IO\vtkVolume16Reader.cxx, line 
269<BR>vtkVolume16Reader (0x013AD3B0): Can't open file: 
CTCalf178_212_100.RAW.1</P>
<P>why? And could you tell me how to read volume data just like the file 
CTCalf178_212_100.RAW?<BR><BR></P><BR><BR><BR>
<DIV><FONT color=#0000ff>V</FONT><FONT color=#ff3300>ee</FONT><FONT 
color=#0000ff>lion</FONT> <FONT color=#0000ff>Chong</FONT></DIV></div><br 
clear=all><hr>使用 <a href="http://g.msn.com/8HMACN/2731??PS=47575" 
target="_top">MSN Messenger</a> 与联机的朋友进行交流</html>