<div dir="ltr">Hi Jimmy,<div><br></div><div>Try "Append Attributes". This will yield a single vtkImageData that has several point data arrays, or "attributes". As long as the input vtkImageData have the same dimensions, this filter will do what you like. You can then pick which array you want to view with the Volume representation.</div><div><br></div><div>To extract a vtkImageData with one or a subset of the appended arrays, you can use "Extract Component" or "Pass Arrays", respectively.</div><div><br></div><div>HTH,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 20, 2017 at 7:29 AM, A . <span dir="ltr"><<a href="mailto:super_achie@hotmail.com" target="_blank">super_achie@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_5312685511006341840divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Dear community,</p>
<p><br>
</p>
<p>Is it possible with ParaView to group vtkImageData objects in a single file format? I would like to import a couple of regular grids (i.e. vtkImageData objects) as a single file, rather than as grid_1.pvti, grid_2.pvti, etc... Once imported I would like
 to simply select which grid to visualize (with volume rendering). </p>
<p><br>
</p>
<p>I tried the following structures already:</p>
<p><br>
</p>
<p></p>
<ol style="margin-bottom:0px;margin-top:0px">
<li>vktMultiBlockDataSet containing N vtkImageData objects as child blocks.</li><li>vtkMultiBlockDataSet containing 1 vtkMultiPieceDataSet, which contains N vtkImageData objects as child pieces</li></ol>
<div><br>
</div>
<div>The first structure kind of works, but in order to visualize one vtkImageData I need to "Extract Block" and "Resample to Image", which doesn't result in the exact same image when doing volume rendering.</div>
<div>The second structure mixes my vtkImageData into a single data object. I cannot do something like "Extract Piece".</div>
<div><br>
</div>
<div>The main reason I want to have a single data structure containing all my grids is so that I can pass it to my Python CoProcess Catalyst pipeline. The number of grids can vary so I cannot simply hardcode the pipeline for a fixed number of grids.</div>
<div><br>
</div>
<div>If there is a way to make this work, please let me know!</div>
<div><br>
</div>
<div>Best,</div>
<div>Jimmy</div>
<p></p>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cory Quammen<br>Staff R&D Engineer<br>Kitware, Inc.</div>
</div>