<br><font size=2 face="sans-serif">Jonathan, Yes this is quite straightforward...here's a TCL example out of some of my code</font>
<br>
<br><font size=2 face="sans-serif">vtkImageReader reader</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;reader DebugOn </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;reader SetFileName &quot;data_vv.vox&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;reader SetFileDimensionality 3</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;reader SetDataExtent 0 255 0 199 0 255 </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;reader SetDataOrigin 0 0 0</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;reader SetDataScalarTypeToUnsignedChar</font>
<br><font size=2 face="sans-serif"># &nbsp;reader SetDataMask 0x7fff</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;reader SetDataSpacing 18.88 17.76 18.88</font>
<br><font size=2 face="sans-serif"># &nbsp;reader SetDataByteOrderToBigEndian</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;reader SetHeaderSize 280</font>
<br>
<br>
<br>
<br>
<table>
<tr valign=top>
<td><font size=6 color=red face="Times New Roman"><b>Internet Mail Message</b></font>
<br><font size=2 color=red face="sans-serif">Received from host: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=2 face="sans-serif"><b>public.kitware.com [24.97.130.19]</b></font>
<td></table>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Jonathan Bailleul &lt;Jonathan.Bailleul@greyc.ismra.fr&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: vtkusers-admin@public.kitware.com</font>
<p><font size=1 face="sans-serif">03/10/2003 10:43 AM</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;VTK-User &lt;vtkusers@public.kitware.com&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;(bcc: John Anast-JM/PGI)</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;[vtkusers] Is it possible to read a volume from a single volume file?</font></table>
<br>
<br>
<br><font size=2 face="Courier New"><br>
Dear All,<br>
<br>
I downloaded a script reading a raw volume through its separate slice<br>
files, and since my volumes are stocked as single raw files, I'd prefer<br>
to read them directly, thus avoiding a time/space-consuming conversion<br>
process.<br>
<br>
I took time to examine the online documentation, but I didn't notice any<br>
other mean to perform that reading! Could you give me any advice?<br>
<br>
<br>
Thanks in advance.<br>
<br>
<br>
-- <br>
-----------------------------------<br>
Jonathan BAILLEUL, Doctorant<br>
GREYC Image - Université de Caen <br>
http://www.greyc.ismra.fr/~bailleul<br>
_______________________________________________<br>
This is the private VTK discussion list. <br>
Please keep messages on-topic. Check the FAQ at: &lt;http://public.kitware.com/cgi-bin/vtkfaq&gt;<br>
Follow this link to subscribe/unsubscribe:<br>
http://public.kitware.com/mailman/listinfo/vtkusers<br>
</font>
<br>
<br>