Skip to content
Snippets Groups Projects
  1. Mar 14, 2017
  2. Jan 22, 2017
    • Sean McBride's avatar
      const improvements to APIs and internal usage · 8b32854b
      Sean McBride authored
      - Made a few APIs' params const
      - Changed many usages of the evil GetBounds() to expect a const
        return value, even though it does not (yet?) return const
      - Slightly changed return values of vtkTextActor3D::GetBounds()
        to return its own ivar instead of its ImageActor's
      8b32854b
  3. Jan 16, 2017
  4. Jan 14, 2017
  5. Jan 05, 2017
  6. Jan 04, 2017
  7. Nov 16, 2016
    • Ben Boeckel's avatar
    • Sean McBride's avatar
      Various updates/modernizations/improvements to SimpleCocoaVTK example · f6d0deff
      Sean McBride authored
      - Now require newer Xcode and more modern Objective-C dialect.
      - Now require building VTK with VTK_CUSTOM_LIBRARY_SUFFIX="",
        which is best practice anyway if using Xcode, so that the CMake-built
        VTK libraries don't constantly change filenames (by having the version number embedded).
      - Adjusted Xcode project paths to remove version from filename.
      - Added a window controller class, which is more idiomatic.
      - The example now uses ARC (automatic reference counting) memory management by default.
      - renamed ivars to start with underscore, per Cocoa convention
      - added project.xcworkspace to .gitignore
      - added usual VTK divider line comments
      f6d0deff
  8. Nov 01, 2016
    • Ken Martin's avatar
      Remove ES2 support for VTK 8.0 · 0f750114
      Ken Martin authored
      ES2 is causing headaches and code mess and is
      getting old. Remove for 8.0 so we can focus on
      more modern APIs. Most Apple and Adroid devices
      from the past 4 years support ES3.
      0f750114
  9. Oct 11, 2016
    • Brad King's avatar
      Android: Port build system to CMake 3.7 capabilities · 9c744b13
      Brad King authored
      CMake 3.7 adds support for cross-compiling to Android without a complex
      toolchain file.  Port our main CMake build system to work without the
      `android.toolchain.cmake` file:
      
      ```
      $ cmake ../VTK \
          -DCMAKE_SYSTEM_NAME=Android \
          -DCMAKE_ANDROID_NDK=/path/to/ndk \
          -DVTKCompileTools_DIR=/path/to/vtk-compile-tools \
          -DOPENGL_ES_VERSION=3.0 \
          -DVTK_Group_StandAlone=OFF
      ```
      9c744b13
  10. Sep 26, 2016
  11. Sep 23, 2016
    • Kitware Robot's avatar
      Reindent using the reindentation script. · f830ff47
      Kitware Robot authored and David Gobbi's avatar David Gobbi committed
      This commit reindents the code with the following utility:
      Utilities/Maintenance/vtk-reindent-code.py
      
      This utility changes the positions of the braces so that they are no
      longer indented relative to the code block they reside in.
      
      The bash command line used was the following:
      
      for d in Charts Common Deprecated Domains Examples Filters GUISupport \
               Geovis IO Imaging Infovis Interaction Parallel Rendering \
               Testing Views Web Wrapping; do
        for e in cxx cxx.in txx txx.in hxx hxx.in h h.in c c.in; do
          find "${d}" -name "*.${e}" -exec \
            python Utilities/Maintenance/vtk_reindent_code.py {} +
        done
      done
      f830ff47
    • David DeMarle's avatar
      replace VTK's nonstandard Doxygen with standard markup · 6a7e5148
      David DeMarle authored
      generated via:
      cd $VTKSRC
      perl Utilities/Doxygen/doc_header2doxygen.pl --to ~/tmp/vtkheaders .
      cp -r ~/tmp/vtkheaders/* .
      6a7e5148
  12. Sep 12, 2016
    • 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
  13. Aug 11, 2016
  14. Aug 09, 2016
    • Dženan Zukić's avatar
      Form labels are no longer clipped · 90dd47a5
      Dženan Zukić authored
      The text on some labels on the right side of the form are clipped
      because the labels themselves were not wide enough.
      This commit makes them wide enough to fit the text without clipping.
      90dd47a5
  15. Jul 13, 2016
    • Sean McBride's avatar
      Used clang-tidy's "modernize-use-override" to add some C++11 overrides · 753dcec5
      Sean McBride authored
      It doesn't seem to have got everything, but it's a start.
      
      Some resulting whitespace is suboptimal, but one day
      we can fix that with clang-format. :)
      
      Just ran this command:
      run-clang-tidy.py -checks=-*,modernize-use-override -fix
      
      (I actually had to build my own clang to make clang-tidy
      output "VTK_OVERRIDE" instead of "override".)
      753dcec5
  16. Jul 07, 2016
    • 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
  17. Jun 30, 2016
  18. Jun 29, 2016
  19. Jun 27, 2016
    • Haocheng LIU's avatar
      Fix bugs&typo in VTK Example folder · 039f7961
      Haocheng LIU authored and Haocheng LIU's avatar Haocheng LIU committed
      With VTK new version, find_package cannot find VTK_RENDERING_BACKEND
      properly. The solution is to call find_package(VTK REQUIRED) first, then
      use vtk_module_config to load the needed modules. Some typos are also fixed.
      For Statistics example, the SetInput function is replaced by SetInputDta
      function(See vtkTableAlgorithm class).
      039f7961
  20. Jun 08, 2016
    • Joachim Pouderoux's avatar
      Fix an infinite loop that was introduced in Win32SampleMFC · ee46f867
      Joachim Pouderoux authored
      Recent change (MR #838) introduced an issue with MFC applications.
      This change make vtkHandleMessage2 transfer unprocessed messages to
      the OldProc handler. However in MFC, the window is created by MFC and
      MFC installs its event handler first. When we connect the render window
      interactor, this one does not setup its handler on it (even if OldProc
      points on the MFC handler). So the MFC handler catches the messages
      first and transfers them to the interactor through vtkHandleMessage2...
      and this one can now transfers them to the OldProc handler, which is
      the MFC one, so it loops.
      To fix we use the already existing feature of vtkHandleMessage2 function
      to change interactor's OldProc through a user defined message.
      We call this function when initializing the interactor providing the
      MFC superclass event handler.
      ee46f867
  21. May 25, 2016
    • Kitware Robot's avatar
      Remove all BTX and ETX markers from VTK headers · 4d127b1d
      Kitware Robot authored and David Gobbi's avatar David Gobbi committed
      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
  22. May 06, 2016
    • David C. Lonie's avatar
      Replace SafeDownCast calls on arrays with vtkArrayDownCast. · 0d71a308
      David C. Lonie authored
      SafeDownCast performs a series of virtual calls and string comparisons,
      which is quite slow, especially when used in worker functions.
      
      vtkArrayDownCast will switch between SafeDownCast and the more
      efficient FastDownCast (only available for common vtkAbstractArray
      subclasses) depending on whether or not FastDownCast is defined for
      the specific array type.
      0d71a308
  23. Mar 22, 2016
  24. Mar 13, 2016
  25. Mar 10, 2016
  26. Mar 08, 2016
  27. Mar 07, 2016
  28. Feb 25, 2016
    • Ken Martin's avatar
      updated to avoid constraint warning · f5a0c4e3
      Ken Martin authored
      The cload load box was causing some sort of sizing constraint
      issue when animated. No clue why. Turned animaiton off and the
      issue goes away. Also added file type icons.
      f5a0c4e3
  29. Feb 22, 2016
  30. Feb 18, 2016
  31. Feb 17, 2016
    • Ken Martin's avatar
      ios improvements and new example · 4c9fe5c4
      Ken Martin authored
      A number of improvements and a new ios example
      
      - expose more module options in the ios build process
      - add support for gesture based events
      - add gesture reconition for cases where the native gesture
        recognizers are not used
      - modify the multitouch interactor style to be based off
        the gestures
      - modify the plane widget to support the pinch gesture as an example
      - create a new iOS example called planeview that demonstrates
        - using multitouch gestures
        - loading data from a cloud provider
        - using a splash screen
        - using a settings page to control options
        - using a probe widget
      4c9fe5c4
Loading