<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 20, 2016 at 8:06 AM, Magnus Elden <span dir="ltr"><<a href="mailto:magnus_elden@hotmail.com" target="_blank">magnus_elden@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">HI,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I downloaded and built the XDMF source from <a href="http://www.xdmf.org" target="_blank">www.xdmf.org</a> by cloning <code><span style="font-size:9pt;color:black">git clone git://<a href="http://xdmf.org/Xdmf.git" target="_blank">xdmf.org/Xdmf.git</a>.<u></u><u></u></span></code></p><p class="MsoNormal">I then went to CMake and enabled Module_vtkxdmf2 and VTK_USE_SYSTEM_XDMF2 and set the directory path. I tried building it and after some hassle I managed to get it done. However, I was unable to include any XDMF reader headers so I guessed that I also needed to enable the Module_vtkIOXdmf2 so I did that. Configured and built again, but not I was not able to build the IO module because XDMFArray was ambiguous and several functions and types were not defined. <u></u><u></u></p><p class="MsoNormal"><u></u> </p></div></div></blockquote><div><br></div><div>I recommend against VTK_USE_SYSTEM_XDMF* since that capability is largely unproven/untested. Instead, let VTK use the version of XDMF in XDMF. As of a month ago the version in VTK is the same as the tip of the master branch of xdmf with extraneous things that VTK doesn't use removed. Prior to that there was much more divergence.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal"><u></u></p><p class="MsoNormal">I am building this on windows 10 using Visual Studio 2015. I am using Cmake 3.6.0. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">What is the difference between XDMF, XDMF2 and XDMF3?</p></div></div></blockquote><div><br></div><div>Different revisions of the same library/format. See <a href="http://xdmf.org">xdmf.org</a> for details. VTK has two revisions of the same library because of technical differences between them the most important of which is that 3 requires boost headers which VTK does not provide. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><p class="MsoNormal"><u></u><u></u></p></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal"> How can I read an .xdmf file to volume render it?</p></div></div></blockquote><div><br></div><div>You might want to just download a ParaView binary and open the xdmf file. But you can do the same from VTK starting with any volume rendering example and switching the source/reader to vtkXdmf*Reader.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">What version of VTK do I need?</p></div></div></blockquote><div><br></div><div>XDMF was promoted from ParaView to VTK in VTK version 5.10 as I recall. Anything after that should be fine.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">What version of XDMF do I need?</p></div></div></blockquote><div><br></div><div>I recommend xdmf3, which is as of a few months ago the tip of the one true xdmf repo. Xdmf2 is back in the history if you need it.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Where can I get these libraries?</p></div></div></blockquote><div><br></div><div>See <a href="http://xdmf.org">xdmf.org</a> for instructions on how to get and build any of the versions. But as I said, just use VTK's version for simplicity.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Anything else I should know?<u></u><u></u></p><p class="MsoNormal"><u></u></p></div></div></blockquote><div><br></div><div>For xdmf3 you need to download and untar boost somewhere on your system and tell cmake where it is.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal"> <u></u></p><p class="MsoNormal">I have been wrestling with this for about a week now and I must be doing something wrong. <u></u><u></u></p><p class="MsoNormal">I was also unable to find any tutorials or guides on how to achieve this. If there are any, please point me in the right direction.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Yours,<u></u><u></u></p><p class="MsoNormal">Magnus Elden<u></u><u></u></p></div></div><br></blockquote><div><br></div><div>good luck</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">_______________________________________________<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/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div></div>