<<
the solution is to write a wrapper which is a collection of grids. Each
item in the collection can itself be a collection of sub-grids. So it is
fully hierarchical.

here is an example, which ParaView will read in a single button click:

&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;VTKFile type=&quot;vtkMultiBlockDataSet&quot; version=&quot;1.0&quot;
byte_order=&quot;LittleEndian&quot;
compressor=&quot;vtkZLibDataCompressor&quot;&gt;
  &lt;vtkMultiBlockDataSet&gt;
    &lt;Block index=&quot;0&quot;&gt;
      &lt;DataSet index=&quot;0&quot;
file=&quot;foo/foo_0.vts&quot;&gt;&lt;/DataSet&gt;
      &lt;DataSet index=&quot;1&quot;
file=&quot;foo/foo_1.vts&quot;&gt;&lt;/DataSet&gt;
    &lt;/Block&gt;
    &lt;Block index=&quot;1&quot;&gt;
      &lt;Block index=&quot;0&quot;&gt;
        &lt;DataSet index=&quot;0&quot;
file=&quot;foo/foo_896.vts&quot;&gt;&lt;/DataSet&gt;
        &lt;DataSet index=&quot;1&quot;
file=&quot;foo/foo_897.vts&quot;&gt;&lt;/DataSet&gt;
        &lt;DataSet index=&quot;2&quot;
file=&quot;foo/foo_898.vts&quot;&gt;&lt;/DataSet&gt;
      &lt;/Block&gt;
      &lt;Block index=&quot;1&quot;&gt;
        &lt;DataSet index=&quot;0&quot;
file=&quot;foo/foo_1397.vts&quot;&gt;&lt;/DataSet&gt;
        &lt;DataSet index=&quot;1&quot;
file=&quot;foo/foo_1398.vts&quot;&gt;&lt;/DataSet&gt;
        &lt;DataSet index=&quot;2&quot;
file=&quot;foo/foo_1399.vts&quot;&gt;&lt;/DataSet&gt;
      &lt;/Block&gt;
    &lt;/Block&gt;
  &lt;/vtkMultiBlockDataSet&gt;
&lt;/VTKFile&gt;  
>>

Hi Jean,

thank you very much for your tip! It works perfectly. 
Just another question: how can I &quot;handle&quot; the single block? It
seems that I
can &quot;play&quot; (applay filters, display ecc...) with only all blocks
together
while in the &quot;information&quot; tab I can see the hierarchical data
with each
block separately. It would be wonderfull if it is possible to maintain the
hierarchical data set and, at the same time, to manage each single block.

Thank you very much.

Stefano 


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to