1. 26 Mar, 2015 1 commit
  2. 18 Dec, 2014 1 commit
  3. 09 Oct, 2014 1 commit
  4. 03 Oct, 2014 1 commit
    • Bill Lorensen's avatar
      BUG14527: Subdivision fails for non-manifold data · 901e7e60
      Bill Lorensen authored
      The subdivision filters were not checking for non-manifold data. If
      the data was non-manifold, the filters crashed. Now, if a non-manifold
      triangle is found, the filters report an error and do not produce any
      output.
      
      Change-Id: I07ab5b63e15325948bda2a8284281339b524de68
      901e7e60
  5. 03 Jul, 2014 1 commit
    • Ben Boeckel's avatar
      modules: add modules to "kits" · e5203447
      Ben Boeckel authored
      The main kits are:
      
          vtkCommon
          vtkFilters
          vtkIO
          vtkImaging
          vtkInteraction
          vtkOpenGL (required due to a dependency cycle from
                     vtkRenderingOpenGL on vtkImagingHybrid)
          vtkParallel
          vtkRendering
          vtkViews
          vtkWrapping
      
      Modules which deal with a specialization of another module belong to the
      kit related to the specialization (i.e., FiltersParallel and
      IOParallelXML both belong to the vtkParallel kit) to avoid circular
      dependencies that arise when put into the same kit as the "lesser"
      module.
      
      Change-Id: Icae0baa78d62cc0dcce84546541df600d4f311dd
      e5203447
  6. 16 Jun, 2014 1 commit
    • Marcus D. Hanwell's avatar
      Added a concept of backends, added OpenGL and OpenGL2 · cf406e96
      Marcus D. Hanwell authored
      This adds a concept of a rendering backend to the module API, with
      an OpenGL and OpenGL2 backend. They are mutually exclusive and one
      or the other should be selected (or None in the case when rendering
      is not requested). This needs a little more work as the default
      backend enables rendering when the group is disabled at this point.
      
      Change-Id: I98d660e063ef58d52698e08ab06dd45601bea9cd
      cf406e96
  7. 06 May, 2014 1 commit
  8. 16 Apr, 2014 3 commits
  9. 22 Jan, 2014 1 commit
    • Sean McBride's avatar
      Misc cleanup of code nearby clang analyzer warnings. · 5ff4c6b0
      Sean McBride authored
      No warnings were actually fixed.  Removed some unnecessary checks for null before delete(), changed some variables used as booleans to real 'bool's, moved some declarations together with initial assignment, made some private globals static.
      
      Change-Id: I76d54ae907dc504866576df935c9a47e71785f68
      5ff4c6b0
  10. 01 Jan, 2014 1 commit
  11. 12 Nov, 2013 1 commit
  12. 09 Nov, 2013 1 commit
  13. 07 Nov, 2013 1 commit
  14. 07 Oct, 2013 1 commit
  15. 03 Sep, 2013 1 commit
  16. 22 Jul, 2013 2 commits
  17. 25 Jun, 2013 1 commit
  18. 11 Jun, 2013 1 commit
  19. 04 Jun, 2013 1 commit
    • Brad King's avatar
      Convert VTKData test inputs to ExternalData content links · 3797f83d
      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
      3797f83d
  20. 31 May, 2013 1 commit
  21. 23 May, 2013 1 commit
    • Brad King's avatar
      Remove references to old VTKData/Baseline directories · fc5d874c
      Brad King authored
      The VTKData repository no longer holds Baseline directories so drop
      references to such directories from the VTK source tree:
      
      * Replace the default -V in CMake/vtkTestingRenderingDriver.cmake with a
        value that will fail but indicate what to do.  All current uses of
        this module have an explicit -V so the default should never be used.
      
      * Drop a few leftover Baseline directory references from comments in
        "*/*/Testing/*/CMakeLists.txt".
      
      * Remove boilerplate duplicate test command-line examples (that
        reference Baseline directories) from *.py tests and leave an updated
        example in "Wrapping/Python/README.txt".  The command-line example
        convention was added long before the modern CTest infrastructure
        and is no longer needed anyway.
      
      Change-Id: I3001e99b3cc8c2717107e61b3b7f988caeb49cab
      fc5d874c
  22. 17 May, 2013 2 commits
  23. 14 May, 2013 2 commits
  24. 13 May, 2013 1 commit
    • Brad King's avatar
      vtkTestingMacros: Generalize add_test_(python|tcl) · 52b51415
      Brad King authored
      Teach add_test_(python|tcl) to parse explicit NO_DATA, NO_RT, NO_VALID,
      and NO_OUTPUT keyword options for tests that do not need VTK_DATA_ROOT
      or do not use a valid baseline image.  Factor add_test_python1 into
      add_test_python and distinguish them with the NO_RT keyword argument.
      Update call sites to produce identical test command lines before and
      after this change.
      
      Change-Id: I09f874b26aab409e55e7aa6f92412314540dbb85
      52b51415
  25. 07 May, 2013 1 commit
    • Brad King's avatar
      Filters/Modeling: Fix sync3dAll.py valid image name · 6943b707
      Brad King authored
      Refer to valid image "sync3dAll.png", not "contour3DAll.png".  The two
      appear identical but we should use the one that matches the test name.
      
      Change-Id: Ie21559cde8aebcca9ad8529bcffb30852663834e
      6943b707
  26. 28 Apr, 2013 1 commit
    • Andrew Maclean's avatar
      These Python tests have been refactored. · 3810c5a6
      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's avatarAndrew Maclean <andrew.amaclean@gmail.com>
      3810c5a6
  27. 25 Apr, 2013 1 commit
  28. 23 Apr, 2013 1 commit
    • David Gobbi's avatar
      Clamp integer scalars in InterpolateTuple(). · 8c73f97f
      David Gobbi authored
      The InterpolateTuple() function was seeing an integer overflow
      when used from vtkButterflySubdivisionFilter, and probably had
      undetected overflow issues elsewhere.  Adding a clamp to the
      interpolation code for integer types protects against overflow.
      
      Change-Id: Ibd6ab7f79d514dbb9ea2d055cc299273b7490f7b
      8c73f97f
  29. 22 Apr, 2013 1 commit
    • Bill Lorensen's avatar
      ENH: Add InteractionStyle to rendering tests · f83d821a
      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
      f83d821a
  30. 01 Apr, 2013 1 commit
    • Sean McBride's avatar
      Removed unused macros · 4dc98125
      Sean McBride authored
      They appear nowhere else in the codebase.
      Found this dead code using -Wunused-macros.
      
      Change-Id: I0100e6d427cc762abc3ba734e7609998ea9759c2
      4dc98125
  31. 15 Mar, 2013 2 commits
    • Sean McBride's avatar
      Big find-replace of VTK_LARGE_FLOAT -> VTK_FLOAT_MAX · 04d04637
      Sean McBride authored
      vtkType.h says that VTK_LARGE_FLOAT 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: I66ecb51cd2f21ee3cdf9289d8a65d39fc4519a83
      04d04637
    • Sean McBride's avatar
      Big find-replace of VTK_LARGE_INTEGER -> VTK_INT_MAX · 1ff4b0ee
      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
      1ff4b0ee
  32. 27 Feb, 2013 1 commit
  33. 15 Feb, 2013 1 commit
    • Bill Lorensen's avatar
      ENH: Tcl tests should not fail if VTK_DATA_ROOT is missing. · c5ab6fda
      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
      c5ab6fda
  34. 19 Oct, 2012 1 commit
    • Andrew Maclean's avatar
      Python tests manually converted from Tcl · 20947cd5
      Andrew Maclean authored
      These files were all manually converted from Tcl because the
      automatic conversion process failed on them.
      
      They have been tested in windows and there is only one known
      failure TestFreetypeTextMapperBigger.py. It seems there is a
      slight difference in text size. I don't think it is in the test
      itself.
      
      Two python tests have been replaced:
       financialField.py - to be consistnet with financialField?.py
       TestFixedPointRayCasterNearest.py - because it is used
      as an import in some tests.
      Minor mods were done to TestNamedColorsIntegration.py and
      testing enabled.
      
      Change-Id: I85b65d33a5d3db8a9d166158e89cb52f21dba60a
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
      20947cd5