I think the "Collection" Gridtype is the answer for this. <div><br></div><div>Specify the whole object via the collection grid and the individual pieces as subgrids each covering different portions of the domain.<div>
<br></div><div><font class="Apple-style-span" face="Verdana, Arial, Helvetica, sans-serif"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">Below is a fake example, (I couldn't get parallel paraview git master server to write the wavelet source out correctly, but suspect an earlier version would), but the overall layout should look like this:</span></font></div>
<div><font class="Apple-style-span" face="Verdana, Arial, Helvetica, sans-serif"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"><div><br></div><div><?xml version="1.0" ?></div>
<div><!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []></div><div><Xdmf xmlns:xi="<a href="http://www.w3.org/2003/XInclude">http://www.w3.org/2003/XInclude</a>" Version="2.2"></div><div> <Domain></div>
<div> <Grid Name="Wavelet" GridType="Collection"></div><div> <Grid GridType="Uniform"></div><div> <Topology TopologyType="3DCORECTMesh" Dimensions="11 21 21"/></div>
<div> <Geometry GeometryType="ORIGIN_DXDYDZ"></div><div> <DataItem Name="Origin" Dimensions="3" NumberType="Float" Precision="4" Format="XML"></div>
<div>0 0 0 </div><div></DataItem></div><div> <DataItem Name="Spacing" Dimensions="3" NumberType="Float" Precision="4" Format="XML"></div><div>1 1 1 </div>
<div></DataItem></div><div> </Geometry></div><div> <Attribute Name="RTData" Active="1" AttributeType="Scalar" Center="Node"></div><div> <DataItem Dimensions="11 21 21" NumberType="Float" Precision="4" Format="HDF">/Users/demarle/tmp/wavelet1.h5:/Data0</DataItem></div>
<div> </Attribute></div><div> </Grid></div><div> <Grid GridType="Uniform"></div><div> <Topology TopologyType="3DCORECTMesh" Dimensions="10 21 21"/></div>
<div> <Geometry GeometryType="ORIGIN_DXDYDZ"></div><div> <DataItem Name="Origin" Dimensions="3" NumberType="Float" Precision="4" Format="XML"></div>
<div>10 0 0 </div><div></DataItem></div><div> <DataItem Name="Spacing" Dimensions="3" NumberType="Float" Precision="4" Format="XML"></div><div>1 1 1 </div>
<div></DataItem></div><div> </Geometry></div><div> <Attribute Name="RTData" Active="1" AttributeType="Scalar" Center="Node"></div><div> <DataItem Dimensions="10 21 21" NumberType="Float" Precision="4" Format="HDF">/Users/demarle/tmp/wavelet2.h5:/Data0</DataItem></div>
<div> </Attribute></div><div> </Grid></div><div> </Grid></div><div> </Domain></div><div></Xdmf></div><div><br></div></span></font>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>
28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x109<br>
<br><br><div class="gmail_quote">On Thu, May 26, 2011 at 4:48 AM, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I have realized that Xdmf does not have a concept of "extents", just<br>
as vtkImageData does.<br>
This is a problem for me, because I need to store separate VOI's that<br>
make up one consistent canvas.<br>
What's the best way to accomplish this with Xdmf? I am aware of the<br>
HyperSlab concept, but the examples I saw so far were of the type:<br>
<br>
<DataItem ItemType="HyperSlab"<br>
Dimensions="25 50 75 3"<br>
Type="HyperSlab"><br>
<DataItem<br>
Dimensions="3 4"<br>
Format="XML"><br>
0 0 0 0<br>
2 2 2 1<br>
25 50 75 3<br>
</DataItem><br>
<DataItem<br>
Name="Points"<br>
Dimensions="100 200 300 3"<br>
Format="HDF"><br>
MyData.h5:/XYZ<br>
</DataItem><br>
</DataItem><br>
<br>
e.g. referencing subset of some full, but existing dataset. I do not<br>
have this full dataset, I have multiple ones making up for one full.<br>
How do others deal with this?<br>
<br>
Best regards,<br>
Dominik<br>
_______________________________________________<br>
Xdmf mailing list<br>
<a href="mailto:Xdmf@lists.kitware.com">Xdmf@lists.kitware.com</a><br>
<a href="http://www.kitware.com/cgi-bin/mailman/listinfo/xdmf" target="_blank">http://www.kitware.com/cgi-bin/mailman/listinfo/xdmf</a><br>
</blockquote></div><br></div></div>