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.
  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[\.]*
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      After that, this finds basically nothing:
      then manually reverted changed files in VPIC and KWSys folders.
  3. 06 Jul, 2016 1 commit
  4. 22 Jun, 2016 1 commit
    • Andrew Maclean's avatar
      std::auto_ptr is marked deprecated in C++11/14 and will be removed in C++17. · 831def7a
      Andrew Maclean authored
      This fix selects std::unique_ptr when the compiler is identified as being C++11
      To ensure the compiler is C++11 compliant or better, __cplusplus, _MSC_VER and
      _CPPLIB_VER are tested.
      _MSC_VER is used since Microsoft compilers still use 19711L
       as the __cplusplus value.
      _CPPLIB_VER is used to test for better Dinkumware support.
      The variable VTK_HAS_STD_UNIQUE_PTR is defined if std::unique_ptr is available.
  5. 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.
  6. 21 Apr, 2016 1 commit
  7. 08 Mar, 2016 1 commit
  8. 28 Jan, 2016 1 commit
  9. 30 Oct, 2015 1 commit
    • Brad King's avatar
      Drop old C++ stream EOF workarounds · fcd264fc
      Brad King authored
      VTK no longer supports any compilers/platforms on which the
      C++ streams have buggy EOF handling.  Drop our compatibility
      layer for this case.
  10. 24 Aug, 2015 1 commit
  11. 20 Aug, 2015 1 commit
    • Brad King's avatar
      ENH: Remove use of include <vtksys/ios/*> and vtksys_ios::* · 3ae7dd3a
      Brad King authored
      We no longer need this compatibility layer for the compilers we support.
      Use the following commands to switch to standard header and namespace:
       git grep -l vtksys/ios/ | xargs sed -i 's|vtksys/ios/||'
       git grep -l vtksys_ios | xargs sed -i 's|vtksys_ios|std|g'
  12. 22 Jul, 2015 1 commit
    • Bill Lorensen's avatar
      STYLE: Replace vtksys_stl and vtksys_ios:: with std:: · 924248d9
      Bill Lorensen authored
      In the early days of VTK, support for stl was not portable. vtksys_stl
      and vtksys_ios provided a portable implementation of the stl. Now, all
      of the VTK supported compilers have portable stl implementations.
      This patch:
        1) Replaces the vtksys_ios:: with std::.
        2) Replaces the vtksys_stl:: with std::.
        3) Removes "using" statements for stl
  13. 06 Apr, 2015 1 commit
  14. 18 Dec, 2014 1 commit
  15. 02 Oct, 2014 2 commits
  16. 03 Jul, 2014 1 commit
    • Ben Boeckel's avatar
      modules: add modules to "kits" · e5203447
      Ben Boeckel authored
      The main kits are:
          vtkOpenGL (required due to a dependency cycle from
                     vtkRenderingOpenGL on vtkImagingHybrid)
      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"
      Change-Id: Icae0baa78d62cc0dcce84546541df600d4f311dd
  17. 12 Nov, 2013 1 commit
  18. 18 Aug, 2013 1 commit
  19. 14 Aug, 2013 1 commit
    • Marcus D. Hanwell's avatar
      Add support for private dependencies in VTK · 57901457
      Marcus D. Hanwell authored
      A simple implementation of private dependencies, with some of the most
      obvious private dependencies moved over. This should be used for all
      dependencies that are not exposed in the public API of the classes in
      the module.
      The target_link_libraries call defaults to private due to the way CMake
      implements the link logic. The private dependency logic can help reduce
      link line and include directory length for private links where the
      dependency's API is not exposed in the module. Also added code to ensure
      include directories are not duplicated for modules in the build tree.
      Change-Id: If4535338e8d5e9957d7bcce7d3ab0eadec21d2c4
  20. 20 Mar, 2013 1 commit
  21. 19 Oct, 2012 1 commit
    • Berk Geveci's avatar
      Added getters for various data members and a wrapper hint. · bfa4110f
      Berk Geveci authored
      I exposed several data members through getters in order
      to be able to develop custom readers in Python. Also added a
      hint to export GetUpdateExtent() to Python. In this particular
      case, I am combining the XML reader and the MPIImageReader
      to read a structured grid. The XML reads the meta data, the
      MPIImageReader reads the appended data using MPI/IO.
      Change-Id: I7877ecc68f8b200f56ea258eca3bf871feccaaf5
  22. 28 Aug, 2012 1 commit
    • Berk Geveci's avatar
      Cleaned up dependencies between modules. · 4403edb5
      Berk Geveci authored
      Some of the module dependencies were somewhat weird, like
      IOImage depending on IOGeometry and Rendering depending on
      XML which contains all XML reader. Fixed the depency problems
      by creating XMLParser and Movie modules and moving some
      classes to them. I also moved many classes to RenderingCore
      because they were only needed there.
      One other minor change is to change vtkProperty to use
      vtkImageReader2Factor such that it didn't explicitely depend
      on bunch of reader. This will allow us to add/remove readers
      to IOImage more easily.
      Change-Id: Iaaa2edffd31193c13a4ef59e5be5b3eeada3501e