<div dir="ltr"><div>Hi David,</div><div><br></div>I just compiled and ran the example on my laptop (Windows 8.1, VS 2013) using a recent checkout of the VTK Master, and I get the same image as the test image. The data file I used is the one that is downloaded into the build directory, namely the one in: \ExternalData\Testing\Data\Infovis<div>
<br></div><div>When I build VTK, it downloads any test files and the corresponding *.md5-stamp file into this directory. Maybe VTK_DATA_STORE needs to be set to point to the ExternalData directory for CTest to work correctly. It is definitely set when CMake runs on the VTK source.<br>
<div><div class="gmail_extra"><br></div><div class="gmail_extra">I hope this helps.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards</div><div class="gmail_extra"> Andrew<br><br><div class="gmail_quote">
<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>---------- Forwarded message ----------<br>From: David Cole <<a href="mailto:dlrdave@aol.com">dlrdave@aol.com</a>><br>
To: <a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a>, <a href="mailto:jeff.baumes@kitware.com">jeff.baumes@kitware.com</a>, <a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a><br>Cc: <br>
Date: Thu, 31 Jul 2014 14:11:09 -0400 (EDT)<br>Subject: [vtk-developers] More VTK Wiki Examples questions<br>This example:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/XGMLReader" target="_blank">http://www.vtk.org/Wiki/VTK/<u></u>Examples/Cxx/InfoVis/<u></u>XGMLReader</a><br>
<br>
gets an "fsm.gml" data file from "somewhere" (but *NOT* VTKData) and uses it when running the VTK Wiki Examples dashboard on my machine.<br>
<br>
<br>
This example:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/TreeMapView" target="_blank">http://www.vtk.org/Wiki/VTK/<u></u>Examples/Cxx/InfoVis/<u></u>TreeMapView</a><br>
<br>
apparently depends on VTKData, which I do not have, so the test fails on my machine.<br>
<br>
<br>
On the wiki page itself, there's a note saying we should generate an example tree map instead of loading from a data file:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/TreeMapView" target="_blank">http://www.vtk.org/Wiki/VTK/<u></u>Examples/Cxx/InfoVis/<u></u>TreeMapView</a><br>
<br>
<br>
So... we can fix the failing test by making the TreeMapView's data files available (as fsm.gml is already available) to my dashboard build.... or by modifying the TreeMapView example to use some generated data. Which is easier?<br>
<br>
I'm not sure how to do either myself -- I'm hoping Bill L. can easily add some data for this example, or Jeff Baumes can point me to how to generate an example TreeMap easily...<br>
<br>
<br>
Thanks,<br>
David C.<br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: David Cole <<a href="mailto:dlrdave@aol.com">dlrdave@aol.com</a>><br>To: <a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a>, <a href="mailto:jeff.baumes@kitware.com">jeff.baumes@kitware.com</a><br>
Cc: <br>Date: Thu, 31 Jul 2014 14:20:57 -0400 (EDT)<br>Subject: [vtk-developers] InfoVis graph visualization question: vtkGraphLayoutView with a "Simple 2D" layout strategy<br>This VTK wiki example:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/XGMLReader" target="_blank">http://www.vtk.org/Wiki/VTK/<u></u>Examples/Cxx/InfoVis/<u></u>XGMLReader</a><br>
<br>
Yields this different rendering test failure on my dashboard machine:<br>
<a href="http://open.cdash.org/testDetails.php?test=271695203&build=3430870" target="_blank">http://open.cdash.org/<u></u>testDetails.php?test=<u></u>271695203&build=3430870</a><br>
<br>
The graph structure looks the same, and the visual is roughly equivalent, but the expected image clearly shows a perfectly square glyph at each graph node. In my test image, the graph nodes look like they vary from circle to square to polygons in between...<br>
<br>
What determines the shape of the node glyph in a vtkGraphLayoutView with a "Simple 2D" layout strategy? And would the shape difference account entirely for the slight offset and angle between expected image and test image...?<br>
<br>
<br>
Thanks,<br>
David C.<br>
<br>
<br></blockquote></div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________
</div></div></div></div>