- Jan 28, 2014
-
-
Sean McBride authored
Also made some const correctness improvements, which cascaded to clients of this class. Other misc cleanup too. Change-Id: Ic7688a12949a9b8cc752afb957e13317e50ba085
-
- Nov 10, 2013
-
-
Sean McBride authored
Fixes -Wmissing-prototypes warnings. Change-Id: I577917ab639f522849731dd5023b2b3f6557387a
-
- Sep 01, 2013
-
-
Sean McBride authored
In other words, changed from the C to the C++ header name. Did this only in .cxx files, and not in ThirdParty. Change-Id: I81e2b2c7f2db00e98b37d507232fbc84022e8d8f
-
- Aug 18, 2013
-
-
Sean McBride authored
Change-Id: I94935b6fe4d5e76e453507f9387b5ca357286cab
-
- Jun 11, 2013
-
-
Dave DeMarle authored
Change-Id: I3e519825e71c5f4400ad869bda624a7399989d11
-
- Jun 04, 2013
-
-
Brad King authored
Add to the Testing/Data directory ExternalData content links mirroring the content and layout we use from the VTKData/Data directory. Add a CMake/vtkLegacyData.cmake module, included from CMakeLists.txt and Testing/External/CMakeLists.txt, to call ExternalData_Expand_Arguments for all data directories added from VTKData/Data. This will bulk-fetch all test input data currently used by tests of any module, enabled or not. We can make the DATA{} references more granular later. Add a VTK_TEST_DATA_DIR variable to refer to the directory we tell the ExternalData module to populate the real data files. Replace references to VTK_DATA_ROOT in test command lines (after -D) with references to VTK_TEST_DATA_DIR. Drop the VTK_DATA_ROOT CMake option and stop using the VTKData repository. Remove the TESTING_DATA option from the vtk_add_test_cxx API and remove the VTK_DATA_ROOT option from the vtk_add_test_mpi API since all test input data are now handled through ExternalData and Testing/Data content links. Change-Id: Id02490b76ea2e161b9038188264a4830485039d8
-
- May 17, 2013
-
-
Brad King authored
Baseline images are now referenced by ExternalData content links stored directly in each module source tree. Drop the old VTKData baseline subdirectory name from the vtk_add_test_* signatures. Change-Id: I5bdc7a5bf87fc7c8fa77dcd50b79f2f54d6eba31
-
Brad King authored
Change-Id: I7c6ab523d022f28256bb9d29e23ebacbcf6eafdd
-
- May 14, 2013
-
-
Brad King authored
Refactor */*/Testing/Cxx/CMakeLists.txt to use the vtk_add_test_cxx function instead of direct add_test calls. Change-Id: I73dee627fa87a399c48b409af046b116fc75a0fd
-
Brad King authored
Use shell code: git grep -Elz '\<add_test_(mpi|python|tcl)' | xargs -0 sed -ri 's/\<add_test_(mpi|python|tcl)/vtk_add_test_\1/g' Change-Id: I6d076e2483209a83231fb1c96053f0389a3fcdf2
-
- Apr 28, 2013
-
-
Andrew Maclean authored
This has been done by removing the "tcl-isms" and making the code more readable. In some cases redundant code has been removed (often a result of copy/paste operations). The code has also been checked to ensure each line is 80 characters or less. The code can now be run using vtkpython or by using the appropriate Python environment. Originally these were TCL scripts that were converted using vtkTclTestToPy.py and they they needed to be run through the rtImageTest.py driver which defines a few needed functions/variables for their operation. To this end backdrop.py has been added where it is needed. Change-Id: I50d6505628c140ea4551f74f7f3e85df907567e1 Signed-off-by:
Andrew Maclean <andrew.amaclean@gmail.com>
-
- Apr 22, 2013
-
-
Bill Lorensen authored
When tests are run with -I they must be linked with InteractionStyle. On the Mac, tests must be linked with MACOSX_BUNDLE to get keyboard focus. Change-Id: I938c4b6a5a44ca5792f5eeaaa946cc9fb27e1110
-
- Apr 01, 2013
-
-
Sean McBride authored
A few places were reinterpreting byte aligned memory as larger types like int, float, or double. Use memcpy, which can do this kind of thing safely. Fixes -Wcast-align warnings. Change-Id: I93cdb897384f70c568a9a7ca8afbd3983ca502b9
-
Sean McBride authored
Removed unnecessary cast of malloc's result (void*) to char*. Change-Id: I715bfcd16ca314ec2d47a2d7a7e43bd091b3a8de
-
- Mar 15, 2013
-
-
Sean McBride authored
vtkType.h says that VTK_LARGE_INTEGER is a 'compatibility name'. There were many uses of the old name, which I updated. The find-replace should be quite safe as it's basically what the preprocessor does anyway. Change-Id: Ic82bfec6d706dbcd68af70f2d4a31cdd51f7b497
-
- Mar 07, 2013
-
-
Bill Lorensen authored
vtkPLY allocates a list of vertices for each face. That list was not freed after it was used in vtkPLYReader. To further compilate things, vtkPLY::ascii_get_element and vtkPLY::binary_get_element used two different forms of heap allocation. Change-Id: Ic92d3b9dd3291576a8ce285e905db760cbf7f23b
-
- Feb 15, 2013
-
-
Bill Lorensen authored
A test should run without VTK_DATA_ROOT unless it needs input data from VTK_DATA_ROOT. Tests that have image baselines should still run unless they need input data. rtImage.tcl is modified to skip baseline comparisons if VTK_DATA_ROOT is not defined. CMakeLists.txt files are converted to use add_test_tcl macro for consistency. CMakeLists.txt files are changed to isolate tests that need input data. This was tested as follows: 1) configured a build with VTK_DATA_ROOT undefine ctest -R Tcl- 154 tests passed 2) configured a build with VTK_DATA_ROOT defined ctest -R Tcl- 390 tests passed This means that 390-154 = 236 tcl tests require input data Change-Id: I9067a3e3e2a710ddf353f0181cc7b22a85b5ef10
-
- Oct 11, 2012
-
-
Nikhil Shetty authored
Change-Id: I40f1c2985891a923e116aea1fe07dfee3695082a
-
- Sep 20, 2012
-
-
Joachim Pouderoux authored
Change-Id: Ia2f31e44a3e519a59567ee7828320f5083d3c7a5
-
Joachim Pouderoux authored
Change-Id: Ibf2a195180d5c84936a787ab580ae7b1309ba597
-
- Aug 31, 2012
-
-
The legacy readers and writers somehow ended up in the IO/Geometry module. I moved them to their own: IO/Legacy. I also cleaned up dependencies. Some writers somewhat incorrectly subclasses from the legacy writers even though they supported completely different formats. They did this to just use things like FileName. Change-Id: I603753bc7145b317bd71e7798cd2ea8a6c5c56c1
-
- May 18, 2012
-
-
Bill Lorensen authored
Change-Id: I1f7460182a3530d462476e5c8e31d64d420054ed
-
- Apr 10, 2012
-
-
Brad King authored
Replace all references to ${VTK_BINARY_DIR}/Testing/Temporary with ${VTK_TEST_OUTPUT_DIR} and set the variable accordingly. The latter is shorter and will also be useful to build module tests as an external application that does not have VTK_BINARY_DIR available. Change-Id: I5159077c10dd2eab23365e9ac917bc6cbd806589
-
- Apr 09, 2012
-
-
Brad King authored
Add a comment to the bottom of each header that used to be excluded from kit HeaderTesting tests in monolithic VTK. Format the comment in a way that cannot be accidentally copied into another header without modification. This comment will tell HeaderTesting.py to exclude a header from testing so we do not have to separately list every excluded header in every module. Change-Id: I9d7ae607125459a6527843c8c15ac463a20f6812
-
Exclude ThirdParty, Utilities/MetaIO, and Utilities/KWSys as these are maintained outside VTK. Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com> Co-Author: Chris Harris <chris.harris@kitware.com> Co-Author: Brad King <brad.king@kitware.com>
-
Include the module-wide header from every header in each module. Reference the export/visibility macro for the module. Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com> Co-Author: Chris Harris <chris.harris@kitware.com>
-
Add module.cmake, CMakeLists.txt, and other build system files. The modular VTK build system is not yet mature. The monolithic build files had a lot of infrastructure. The modular build files reproduce much of the functionality but some features will need to be restored later. Document status and tasks in "TODO-Modularization.txt". Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com> Co-Author: Chris Harris <chris.harris@kitware.com> Co-Author: Brad King <brad.king@kitware.com> Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>
-
Move source files from their former monolithic VTK location to their new location in modular VTK without modification. This preserves enough information for "git blame -M" and "git log --follow" to connect modularized VTK files to their original location and history. Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com> Co-Author: Chris Harris <chris.harris@kitware.com> Co-Author: Brad King <brad.king@kitware.com> Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>
-