1. 12 Sep, 2016 1 commit
    • Haocheng LIU's avatar
      Rewrite all public&private dependency in module.cmake file · 6e113ad4
      Haocheng LIU authored
      The current dependency relationship in vtk is unclear and misleading.
      This MR tries to rewrite them based on header files inclusion of headers
      and source files in each module. Corner cases are considered and
      modules are sorted in alphabetical order to facilitate future reference.
      See details in my gitlab python based script project. In future we can continue
      using this script to clean the VTK Dependency easily from
      time to time.
      6e113ad4
  2. 07 Jul, 2016 2 commits
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION to many constructors · 1853e030
      Sean McBride authored
      vtk(.*)\(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
      1853e030
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      (operator\s*=.*);\s*//\s*Not\s*implemented[\.]*
      to
      \1 VTK_DELETE_FUNCTION;
      
      After that, this finds basically nothing:
      
      operator.*implemented
      
      then manually reverted changed files in VPIC and KWSys folders.
      2d0e11ef
  3. 25 May, 2016 1 commit
    • Kitware Robot's avatar
      Remove all BTX and ETX markers from VTK headers · 4d127b1d
      Kitware Robot authored
      Perl was used to remove all the BTX and ETX markers from the code.
      The specific command that was run on all "vtk*.h" files was this:
          perl -0777 -i -pe 's/(\n* *\/\/ *[BE]TX *\n+)+/\n\n/g'
      
      This regex replaces each BTX/ETX line, plus any leading or trailing
      blank lines, with a single blank line.
      4d127b1d
  4. 08 Mar, 2016 1 commit
  5. 10 Feb, 2016 1 commit
    • Joachim Pouderoux's avatar
      Use GL time query to probe mapper rendering time. · 0ff60a5b
      Joachim Pouderoux authored
      So far the TimeToDraw was always set to 0.0001. Now the
      time take by the rendering calls performed by the mapper
      is evaluated using the time query provided by the GPU
      for the previous frame.
      
      This patch allows to make vtkLODMapper work as expected.
      Limitation:
       - for new backend only.
       - not supported by GLES
      0ff60a5b
  6. 28 Jan, 2016 1 commit
  7. 18 Dec, 2014 1 commit
  8. 18 Sep, 2014 1 commit
    • Sean McBride's avatar
      Added TODOs to indicate source of TestQuadricLODActor failure · 486dc552
      Sean McBride authored
      The TestQuadricLODActor test triggers signed overflow,
      which is undefined behaviour in C++ and caught
      by clang's ubsan:
      
      vtkQuadricClustering.cxx:592:52: runtime error: signed integer overflow: 2560000 * 839 cannot be represented in type 'int'
      
      Also changed several uses of 'int' to be 'vtkIdType',
      to reduce chance of overflow and just to better match API declarations.
      
      Moved some variable declarations to their usage site.
      
      Change-Id: Id9b827d73d1da6bfdb9470091baad7d8eb052de2
      486dc552
  9. 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
  10. 18 Jun, 2014 1 commit
  11. 16 Apr, 2014 2 commits
  12. 24 Feb, 2014 1 commit
    • Sankhesh Jhaveri's avatar
      ENH: Enable selection of translucent geometry · 4724a470
      Sankhesh Jhaveri authored
      vtkHardwareSelector was skipping all translucent geometry and selecting only
      opaque geometry. This change enables selection of translucent as well as opaque
      geometry. Totally transparent (opacity = 0.0) is skipped.
      This change fixes ParaView issue 14412
      
      Change-Id: Ic8ead1534b4f24695e5138fc8207250f25450508
      4724a470
  13. 21 May, 2013 1 commit
  14. 17 May, 2013 2 commits
  15. 14 May, 2013 1 commit
  16. 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
  17. 15 Mar, 2013 1 commit
    • 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
  18. 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
  19. 06 Feb, 2013 1 commit
  20. 15 Oct, 2012 1 commit
    • Nikhil Shetty's avatar
      Adding auto-converted python tests. · fae72d5e
      Nikhil Shetty authored
      Note: these tests were not a part of pre-modular-vtk and have been especially
      converted for vtk-modular in order to have the complete set of python tests for
      each tcl test. The likelyhood of them failing is high and more work may be
      needed to get them to work.
      
      Change-Id: Iac82a32eddc1da9042450ced177258a364e5b07b
      fae72d5e
  21. 20 May, 2012 1 commit
  22. 09 Apr, 2012 5 commits
    • Marcus D. Hanwell's avatar
      Remove rendering modules from StandAlone · 478cd6ff
      Marcus D. Hanwell authored
      These should be in the Rendering group, but not StandAlone as they
      depend on OpenGL. We could possibly reintroduce the non-OpenGL modules
      at some point in the future if desired.
      
      Change-Id: I619be3fc3b3b48e8e0d9534cdb66bf1e329b9756
      478cd6ff
    • VTK Developers's avatar
      Remove trailing whitespace from all source files · 2d323fc4
      VTK Developers authored
      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>
      2d323fc4
    • VTK Developers's avatar
      Include module-wide headers and export macros · 144f03ca
      VTK Developers authored
      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>
      144f03ca
    • VTK Developers's avatar
      Add modular VTK build system · 0c1471f1
      VTK Developers authored
      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>
      0c1471f1
    • VTK Developers's avatar
      Modularize VTK tree layout · cdd4d6fd
      VTK Developers authored
      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>
      cdd4d6fd