Hi<br><br><br>Thanks so much for the reply! My previous post was indeed rather vague, so here are some clarifications:<br><br>1) I would like to read data over the same regular grid from multiple files (at each point in a 3D regular grid I have several physical fields such as temperature, pressure, etc, stored each in a separate file)<br>


<br>2) I am now using vtkImageAppendComponent to construct a multidimensional data object defined over a 3D regular grid:<br>*<br>&nbsp; vtkStructuredPointsReader *reader = vtkStructuredPointsReader::New();<br>&nbsp; reader-&gt;SetFileName(fname);<br>

&nbsp; reader-&gt;Update();<br>&nbsp; vtkStructuredPointsReader *reader1 = vtkStructuredPointsReader::New();<br>&nbsp; reader1-&gt;SetFileName(fname2);<br>&nbsp; reader1-&gt;Update();<br>&nbsp; vtkImageAppendComponents *readerBundle = vtkImageAppendComponents::New ();<br>

&nbsp; readerBundle-&gt;AddInput (reader-&gt;GetOutput ());<br>&nbsp; readerBundle-&gt;AddInput (reader1-&gt;GetOutput ());<br>*<br>However, I don&#39;t know how to access the individual data fields from this object to manipulate them. Any suggestions?<br>

<br>3) This multifield object I want to pass to a class that is subclassed from vtkScalarsToColors that could compute a transfer function for volume rendering based on this data. Is there a way to achieve that via the SetInputPort(myObject-&gt;GetOutputPort()) mechanism? <br>

<br>4) If I were to use vtkPointData or vtkCellData, how can I store the outputs of several vtkStructuredPointsReader (which operate on one file only) into a single vtkPointData object?<br><br>5) Does vtkFixedPointVolumeRayCastMapper accept a vtkPointData-&gt;GetOutputPort() at its input port?<br>
<br>Thanks again for helping!<br><br>Adrian<br><br><div class="gmail_quote">On Mon, Apr 7, 2008 at 9:34 AM, Mathieu Malaterre &lt;<a href="mailto:mathieu.malaterre@gmail.com" target="_blank">mathieu.malaterre@gmail.com</a>&gt; wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Adrian,<br>
<div><br>
On Thu, Apr 3, 2008 at 10:10 AM, Adrian Albert<br>
&lt;<a href="mailto:a.albert@jacobs-university.de" target="_blank">a.albert@jacobs-university.de</a>&gt; wrote:<br>
&gt; Does anyone know how to read data from multiple files into the same<br>
&gt; vtkImageData object?<br>
<br>
</div>what file format are you talking about ?<br>
<br>
<a href="http://www.vtk.org/Wiki/VTK_FAQ#What_image_file_formats_can_VTK_read_and_write.3F" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ#What_image_file_formats_can_VTK_read_and_write.3F</a><br>
<div><br>
&gt; Does VTK even support multi-dimensional fields defined<br>
&gt; over a 3D domain?<br>
<br>
</div>yes, see the vtkPointData / vtkCellData classes.<br>
<br>
&gt; --<br>
<div>&gt; ---------------------------------------------------<br>
&gt; &nbsp;Adrian Albert<br>
&gt; School of Engineering and Science<br>
&gt; Jacobs University Bremen<br>
&gt; Germany<br>
&gt; Tel.: 00494212003258<br>
</div>&gt; _______________________________________________<br>
&gt; &nbsp;This is the private VTK discussion list.<br>
&gt; &nbsp;Please keep messages on-topic. Check the FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt; &nbsp;Follow this link to subscribe/unsubscribe:<br>
&gt; &nbsp;<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
<font color="#888888">Mathieu<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>---------------------------------------------------<br>Adrian Albert<br>School of Engineering and Science<br>Jacobs University Bremen<br>Germany<br>Tel.: 00494212003258