1. 23 Sep, 2016 1 commit
    • Kitware Robot's avatar
      Reindent using the reindentation script. · f830ff47
      Kitware Robot authored
      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
  2. 06 May, 2016 1 commit
    • 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
  3. 08 Mar, 2016 1 commit
  4. 18 Sep, 2015 1 commit
  5. 26 Jun, 2015 1 commit
    • David C. Lonie's avatar
      Fix vtkAxis scaling when TileScale is set on the renwin. · ef328bcf
      David C. Lonie authored
      Now vtkAxis will show the same number of ticks and the
      same relative text size when magnifying the image. Text
      will still be a little funky if the scaling is anisotropic,
      but at the moment our freetype engine doesn't support
      anisotropic dpi (not sure if the MPL backend can or not).
      
      New API: vtkContextScene::GetLogicalTileScale() returns
      the renderwindow tilescale or (1, 1) depending on whether
      ScaleTiles is enabled.
      
      There are some random fixes where vtkAxis objects were being
      used without a scene, which led to segfaults when trying to
      look up the tile scale internally.
      ef328bcf
  6. 14 Aug, 2014 1 commit
    • Utkarsh Ayachit's avatar
      Fix handling of empty selection on ParallelCoordinates. · d7aca982
      Utkarsh Ayachit authored
      Same as ac920d1f, except this time for vtkChartParallelCoordinates.
      The fix exposed a problem with vtkPlotParallelCoordinates where when the
      selection was set to NULL, it was never updated after that. This was
      incorrect (since for a similar condition in vtkPlotPoints, we create a
      new vtkIdTypeArray, when none is present). Fixed that following the
      pattern in vtkPlotPoints.
      
      Change-Id: I77cd9d3c6f9f0a616261439fd2db6b2991147d55
      d7aca982
  7. 29 Sep, 2012 1 commit
  8. 09 Apr, 2012 1 commit
    • 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
  9. 11 Feb, 2012 1 commit
  10. 29 Dec, 2011 1 commit
    • Marcus D. Hanwell's avatar
      ENH: Refactored mouse event API for context · c379ee13
      Marcus D. Hanwell authored
      Using the legacy macro to make the data members protected, leave public
      for one more release. Ported the code in the charts to use the new API.
      Next - modifier keys for mouse events.
      
      Change-Id: I69c8dc25e596f2ad69a0e8463098a3f5a452940f
      c379ee13
  11. 11 Dec, 2011 1 commit
  12. 31 Dec, 2010 1 commit
  13. 28 Dec, 2010 1 commit
  14. 24 Nov, 2010 1 commit
  15. 30 Sep, 2010 3 commits
  16. 25 Sep, 2010 1 commit
    • Marcus D. Hanwell's avatar
      BUG: Do not clear the PC axes selections as much. · 9f1620d1
      Marcus D. Hanwell authored
      Thanks to Eric Monson for pointing out the issue. The axes selections
      would be cleared on things like window resizes. This should be cleared
      up now, and resetting this along with the axes when necessary is the
      right thing to do.
      9f1620d1
  17. 15 Aug, 2010 1 commit
  18. 06 Aug, 2010 1 commit
  19. 05 Aug, 2010 1 commit
  20. 27 Jul, 2010 1 commit
  21. 13 Jul, 2010 11 commits
  22. 07 Jul, 2010 1 commit
  23. 03 Jul, 2010 1 commit
  24. 20 May, 2010 1 commit
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · ecbbf7f7
      Mark Olesen authored
      The CVS $Revision$ keyword replacement will no longer maintain these
      macros automatically.  They were used only to implement CollectRevisions
      and vtkObjectBase::PrintRevisions, an API that was never used.
      
      Automated as follows:
      
        pass 0:
        catch templates
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' | grep '<'
      
        pass 1:
        main changes
        ---------------
        $ git grep -l '^vtkCxxRevisionMacro' | while read file; do
          echo "$file" 1>&2
          perl -i -ne 'print unless (/^vtkCxxRevisionMacro/ and /\)/)' $file
        done
        $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do
          echo "$file" 1>&2
          perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file
        done
      
        pass 2:
        verify
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro'
      
      Fixed multi-line vtkCxxRevisionMacro and templates by hand.
      ecbbf7f7
  25. 27 Apr, 2010 1 commit
  26. 23 Apr, 2010 2 commits
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · 19c55e0e
      Mark Olesen authored
      The CVS $Revision$ keyword replacement will no longer maintain these
      macros automatically.  They were used only to implement CollectRevisions
      and vtkObjectBase::PrintRevisions, an API that was never used.
      
      Automated as follows:
      
        pass 0:
        catch templates
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' | grep '<'
      
        pass 1:
        main changes
        ---------------
        $ git grep -l '^vtkCxxRevisionMacro' | while read file; do
          echo "$file" 1>&2
          perl -i -ne 'print unless (/^vtkCxxRevisionMacro/ and /\)/)' $file
        done
        $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do
          echo "$file" 1>&2
          perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file
        done
      
        pass 2:
        verify
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro'
      
      Fixed multi-line vtkCxxRevisionMacro and templates by hand.
      19c55e0e
    • Marcus D. Hanwell's avatar
      BUG: Only autoscale the axes if auto behavior. · f14bcc3c
      Marcus D. Hanwell authored
      The axes should only autoscale if the (default) auto behavior is set.
      f14bcc3c
  27. 15 Apr, 2010 1 commit