[vtkusers] Problem with Data in VTK
lee_jennifer_82 at yahoo.com
Thu Sep 14 01:58:17 EDT 2017
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:
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.
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
21 Corporate Drive
Clifton Park, NY 12065-8662
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!
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers