[vtkusers] Problem with Data in VTK

Jennifer Lee lee_jennifer_82 at yahoo.com
Fri Sep 15 13:47:50 EDT 2017


Hi,   I've the following directory: C:\VTK\VTK-8.0.1\Testing\External;  This contains the following two files: CMakeLists and CMakeConfig.cmake.

   I don't have any C:\VTK\VTK-8.0.1\ExternalData\Testing.    I've also attached some screenshots of some directories just if you need for further clarification.
   I really don't understand  what I'm missing and why it should be so complication to work with current data. Any help will be highly appreciated.
Regards,Jennifer 

   

 On Thursday, September 14, 2017 3:20 PM, David E DeMarle <dave.demarle at kitware.com> wrote:
 

 What is in C:\VTK\VTK-8.0.1\ExternalData\Testing?

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Thu, Sep 14, 2017 at 5:22 PM, Jennifer Lee <lee_jennifer_82 at yahoo.com> wrote:

Hi,   Thanks for the reply. I downloaded the data and set the VTK_DATA_ROOT to C:\VTK\VTKData.    Actually that's what I used to do before. I never built VTKData project. How to do that? I believe the source will be C:\VTK\VTKData; but which one will be the build directory?   Please let  me know.   I've built the VTK project with BUILD_TESTING on. This generated data to the following directory:  
  C:\VTK\VTK-8.0.1\Testing\Data\ headsq. But these are all MD5 files and if VTK_DATA_ROOT is pointed there, it can't find these files.
   Any clarification will be highly appreciated. 

Regards,Jennifer
 

    On Wednesday, September 13, 2017 11:15 PM, Jon Haitz Legarreta <jhlegarreta at vicomtech.org> wrote:
 

 Hi Jennifer,
what does your C:\VTK\VTKData directory contain? Have you built the VTKData project? You must build that project so that the actual testing data files are retrieved.

HTH,
JON HAITZ



|  |

--


On 14 September 2017 at 07:58, Jennifer Lee via vtkusers <vtkusers at vtk.org> wrote:

Hello,     Still I could notmake it work. Setting VTK_DATA_ROOT to ‘C:\VTK\VTK-8.0.1\ ExternalData\Testing’didn’t work for me. It can’t find the data.  I have separate source and build: Source is : C:\VTK\VTK-8.0.1Build is: C:\VTK\VTK-binData is: C:\VTK\VTKData  As I also built with TESTING_ON; so, I’ve MD5 files underTesting directory. C:\VTK\VTK-8.0.1\Testing. I tried to run the tcl script Medical1.tcl. If I set the  data root to ‘C:\VTK\VTK-8.0.1\Testing’, itcan’t find the data (I think because these are MD5 files). If I set the dataroot to C:\VTK\VTKData, it also does not work. I need help to fix the problem.Thanks! Regards,Jennifer 

    On Wednesday, September 13, 2017 7:58 AM, David E DeMarle <dave.demarle at kitware.com> wrote:
 

 On Wed, Sep 13, 2017 at 2:12 AM, Jennifer Lee <lee_jennifer_82 at yahoo.com> wrote:

Hello,   Thanks so much for the reply. 
Please ignore my poor knowledge. I’m really having troublein understanding. 

No worries, this confuses lots of people including me. 

I’ve data in the following directory:
C:\VTK\VTKData-8.0.1\VTK-8.0. 1\.ExternalData\MD5. Now, thefiles look like something below: 
00b6935d399b80e4f9edc1414a4c36 3f00ba7d9399c914edb4a6faa0b10ae7 e500d2efba0581fb7d436bcc45a9aced cb00d49b1746f315992fac476892c681 ae::::I really don’t understand what they mean. It seems tome  these are some encrypted names whichneed to be decrypted. I don’t know how to do that.

These are checksums of the real data files. Cmake and git know that they have to download a different file whenever the data file's checksum doesn't agree with the above. 
I built with TESTING_ON, now data are available in the “Testing”directory too. Suppose I’d like to run the Medical examples. Now, data isavailable in the following directory:



C:\VTK\VTK-8.0.1\Testing\Data\ headsq
With VTK_DATA_ROOT set to C:\VTK\VTK-8.0.1\Testing
But these are all MD5 files. So the following line of thecode does not find the data:
v16 SetFilePrefix "$VTK_DATA_ROOT/Data/headsq/ quarter".
Please help me how to make things work. If I've missed any step, please let me know.Thanks in advance.

Where is you build directory? I highly recommend always keeping your VTK source directory and your VTK build directory separate.
Assuming you've built VTK in C:\VTK\VTK-8.0.1, try setting VTK_DATA_ROOT to C:\VTK\VTK-8.0.1\ExternalData\ Testing. This is where the data file links are. The real data files are elsewhere in files with MD5 names, but for all intents and purposes the data link files that refer to them work as if they were the read data files.
 
Regards,Jennifer

 

    On Tuesday, September 12, 2017 9:32 AM, David E DeMarle <dave.demarle at kitware.com> wrote:
 

 We changed the structure of regression test data in 6.1 to allow developers to make proposed changes to code and data concurrently and ensure that the continuous integration test machines do not fail when they run new tests on old data.
The net result is that a VTK build tree has test data files that are actually symbolic links to the md5 files which live elsewhere. You can generally open and use the symbolic links exactly as you would a normal data file. If you turn on testing in your build, cmake will try to download each one of the files. Alternatively you can untar the source and data packages for a release in the same directory and the default build setup will use them and avoid downloading anything else.



David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Sat, Sep 9, 2017 at 7:43 PM, Jennifer Lee via vtkusers <vtkusers at vtk.org> wrote:

  Hello,     I used VTK in 2013. After that, I installed VTK after more than 4 years. I found some changes in Data in the latest version. How to make those MD5 files work? Please let me know. I didn't find much documentation. I'm really having problem with this.     Thanks in advance!
Regards,Jennifer.
______________________________ _________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/ opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_ FAQ

Search the list archives at: http://markmail.org/search/?q= vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/ mailman/listinfo/vtkusers





   



   
______________________________ _________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/ opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_ FAQ

Search the list archives at: http://markmail.org/search/?q= vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/ mailman/listinfo/vtkusers





   



   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170915/1561e016/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExternalTesting.png
Type: image/png
Size: 31772 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170915/1561e016/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MD5DATA_Testing.png
Type: image/png
Size: 105833 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170915/1561e016/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VTKData.png
Type: image/png
Size: 84118 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170915/1561e016/attachment-0005.png>


More information about the vtkusers mailing list