<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Xdmf is a standalone library providing vtk readers and writers which
are also integrated in Paraview. I don't know exactly what you want to
do but if you generate hdf files already, you have to write an xdmf xml
file by hand (or using like in the example a program/script generating
text) describing your hdf structure so that you can then read it from
Paraview or from another vis software using a vtkXdmfReader. In this
case, I don't see why you would have to compile Xdmf by yourself since
it's already included in Paraview/Visit.<br>
If you have your own app though, use the vtkXdmfReader, include the
necessary header files for using the vtkXdmfReader, link to the Xdmf
library and that's it. There is no gcc/mpicc wrapper to compile
programs using Xdmf like hdf5 does with h5pcc.<br>
<br>
About something to generate xdmf files from hdf, we're currently
working on something to help this.<br>
<br>
I hope this helps you a bit.<br>
<br>
Jerome<br>
<br>
<br>
Le 27/11/2009 00:07, winthan a écrit :
<blockquote
cite="mid:9247a3360911261507q4454482eje11b459c75ff53e9@mail.gmail.com"
type="cite"><span class="Apple-style-span"
style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">
<div><u><font color="#0066cc">when i include "#include
<xdmf.h> in c code ,will it work?is xdmf part of vtk?</font></u></div>
<div><em><br>
</em><br>
>><i> use Xdmf with existing HDF5 data you just have to write an
XML file <br>
</i>>><i> which describes the topology and geometry of the data
set, and then <br>
</i>>><i> within that XML you can refer to the spot in the HDF5
file where the<br>
</i><br>
>><i> data resides. So, it's a pretty easy way to quickly get up
and going<br>
</i><br>
>><i> with viewing your data.<br>
</i>as shown below <a moz-do-not-send="true"
href="http://www.visitusers.org/index.php?title=Using_XDMF_to_read_HDF5"
target="_blank" style="color: rgb(42, 93, 176);">http://www.visitusers.org/index.php?title=Using_XDMF_to_read_HDF5</a> .
it wrote into xmf file (xml wrapper of xdmf which has hdf read).</div>
<div>any built in function rather than the one in the above website
to convert hdf to xdmf for visualization in vtk?(it read xmf format)</div>
<div>any help?</div>
<div>there is an xdmf source at <a moz-do-not-send="true"
href="http://www.xdmf.org">http://www.xdmf.org</a>. </div>
<span class="Apple-style-span"
style="border-collapse: separate; font-family: sans-serif; line-height: 19px;">
<ol
style="margin: 0.3em 0px 0px 3.2em; padding: 0px; line-height: 1.5em; list-style-image: none;">
<li style="margin-bottom: 0.1em;">mkdir MyXdmf</li>
<li style="margin-bottom: 0.1em;">cd MyXdmf</li>
<li style="margin-bottom: 0.1em;">cvs -d ... login</li>
<li style="margin-bottom: 0.1em;">cvs -d ... co Xdmf This creates
an Xdmf directory of the source code</li>
<li style="margin-bottom: 0.1em;">mkdir Linux</li>
<li style="margin-bottom: 0.1em;">cd Linux</li>
<li style="margin-bottom: 0.1em;">cmake ../Xdmf</li>
<li style="margin-bottom: 0.1em;">make</li>
</ol>
<div>right now i'm completely under water about whether we need to
install the xdmf? how do i compile xdmf? for hdf we just use h5pcc to
compile it. how aboutxdmf? </div>
<div>help</div>
<div><br>
</div>
</span>
<div>i compiled as below.</div>
</span>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Jérôme Soumagne
CSCS, Swiss National Supercomputing Centre
Galleria 2, Via Cantonale | Tel: +41 (0)91 610 8258
CH-6928 Manno, Switzerland | Fax: +41 (0)91 610 8282
</pre>
</body>
</html>