[vtk-developers] More VTK Wiki Examples questions

Andrew Maclean andrew.amaclean at gmail.com
Fri Aug 1 01:22:01 EDT 2014


Hi David,

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

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.

I hope this helps.

Regards
   Andrew


> ---------- Forwarded message ----------
> From: David Cole <dlrdave at aol.com>
> To: vtk-developers at vtk.org, jeff.baumes at kitware.com,
> bill.lorensen at gmail.com
> Cc:
> Date: Thu, 31 Jul 2014 14:11:09 -0400 (EDT)
> Subject: [vtk-developers] More VTK Wiki Examples questions
> This example:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/XGMLReader
>
> gets an "fsm.gml" data file from "somewhere" (but *NOT* VTKData) and uses
> it when running the VTK Wiki Examples dashboard on my machine.
>
>
> This example:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/TreeMapView
>
> apparently depends on VTKData, which I do not have, so the test fails on
> my machine.
>
>
> On the wiki page itself, there's a note saying we should generate an
> example tree map instead of loading from a data file:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/TreeMapView
>
>
> 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?
>
> 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...
>
>
> Thanks,
> David C.
>
>
>
>
> ---------- Forwarded message ----------
> From: David Cole <dlrdave at aol.com>
> To: vtk-developers at vtk.org, jeff.baumes at kitware.com
> Cc:
> Date: Thu, 31 Jul 2014 14:20:57 -0400 (EDT)
> Subject: [vtk-developers] InfoVis graph visualization question:
> vtkGraphLayoutView with a "Simple 2D" layout strategy
> This VTK wiki example:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/XGMLReader
>
> Yields this different rendering test failure on my dashboard machine:
> http://open.cdash.org/testDetails.php?test=271695203&build=3430870
>
> 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...
>
> 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...?
>
>
> Thanks,
> David C.
>
>
> --
___________________________________________
Andrew J. P. Maclean

___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20140801/3a1b9455/attachment.html>


More information about the vtk-developers mailing list