1. 26 Jul, 2017 1 commit
    • Kitware Robot's avatar
      Replace many NULL and 0 occurances with nullptr · a855cab0
      Kitware Robot authored
      This topic is the result of running clang-tidy to
      modernize our usage of NULL and 0 to nullptr. It also
      includes some manual and semi manual changes where
      clang-tidy would not be expected to work (such as in
      comments, or classes not compiled on this build)
      
      There are definitely many comments and occurances that
      this topic misses that we will need to fix over time.
      a855cab0
  2. 30 May, 2017 2 commits
  3. 19 Jan, 2017 1 commit
  4. 29 Oct, 2016 1 commit
  5. 27 Oct, 2016 1 commit
  6. 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
  7. 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
  8. 08 Mar, 2016 1 commit
  9. 03 Mar, 2016 1 commit
    • David C. Lonie's avatar
      Refactor data array APIs. · 893fb6ed
      David C. Lonie authored
      vtkDataArray subclasses now use
      
      ComponentValue --> TypedComponent
      TupleValue --> TypedValue
      
      for their type-specific methods.
      
      # Conflicts:
      #	Rendering/Annotation/vtkScalarBarActor.cxx
      893fb6ed
  10. 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
  11. 31 Oct, 2013 1 commit
    • Marcus D. Hanwell's avatar
      Enhanced the parallel coordinates chart for doubles · 347fb125
      Marcus D. Hanwell authored
      The parallel coordinates did not correctly handle double precision
      input, added support to vtkPlotParallelCoordinates and created a
      new test to verify it. Also some very minor clean up in the other
      test, and fixed variable naming for consistency.
      
      Change-Id: I4d688857dcfe86b044b8284789e7873f698d8820
      347fb125
  12. 21 Mar, 2013 1 commit
    • David Thompson's avatar
      Fix LogScale mode of vtkAxis. · 1412cda2
      David Thompson authored
      This change is to address ParaView bugs 13876, 13877, and 13899.
      It removes LogScaleReasonable and the associated logic which was
      contributing to nonsensical ranges for logarithmic axes.
      
      This patch also adds methods {Get,Set}Unscaled{Minimum,Maximum,Range}()
      so that fixed ranges may be specified in the same coordinate
      system as the source data. The versions of these methods without
      "Unscaled" in their names expect log-values to be passed or
      returned when LogScale is true, which is difficult for user-interface
      code to track.
      
      Additional changes are required to address the test case of
      ParaView bug 13899. With these changes, the minimum and maximum
      limit values are properly transformed when switching to and from
      log-scaled axes.
      
      Plots that rely on axes to determine scaling are fixed
      to refer to the active scaling (GetLogScaleActive) instead of
      the desired scaling (GetLogScale)..
      
      Change-Id: I1a4a3882bbeab2484145f4a75a6430cf6a0cea42
      1412cda2
  13. 12 Sep, 2012 1 commit
    • Marcus D. Hanwell's avatar
      Deprecate SetTickPositions/SetTickLabels for new API · 6024ed55
      Marcus D. Hanwell authored
      Providing only one method in which both tick positions and labels are
      set allows us to ensure that the tick labels are in a consistent state.
      Deprecate the old API in favor of this approach, and remove the public
      CustomTickLabels API that was never in a release.
      
      Originally I used a two parameter form of SetTickPositions, but that
      with deprecation seemed to confuse the Python wrapping. Adding Custom to
      the name got rid of the issue, and also makes the VTK deprecation
      clearer.
      
      Change-Id: I9726d095915f6a107818772520cfb3bed19c088f
      6024ed55
  14. 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
  15. 11 Feb, 2012 1 commit
  16. 19 Sep, 2011 1 commit
    • Berk Geveci's avatar
      Replace SetInput etc. with SetInputData etc. · 4ea36770
      Berk Geveci authored
      Since the behaviour of SetInput changed - it no
      longer connects the pipeline but sets up the data
      object as the input -, it was decided to rename
      it to SetInputData. This includes similar methods
      such as AddInputData. This commit makes on
      sweeping change that compiles.
      4ea36770
  17. 20 May, 2011 2 commits
  18. 18 Mar, 2011 1 commit
    • Marcus D. Hanwell's avatar
      BUG: Set color once for each line. · 733af6b8
      Marcus D. Hanwell authored
      There is one array, of the same length as the rest, to map to colors.
      This means that there is one color per line, not one color per vertex.
      This change only sets the color once per line, and I think leads to the
      desired result.
      
      Change-Id: I75b3905d50894a5a5ff9accf9dea59ae9c74e981
      733af6b8
  19. 31 Dec, 2010 2 commits
  20. 24 Dec, 2010 1 commit
  21. 26 Nov, 2010 1 commit
  22. 09 Nov, 2010 1 commit
  23. 30 Sep, 2010 2 commits
    • Marcus D. Hanwell's avatar
      BUG: Fix segfault on table switchting. · 2d839b16
      Marcus D. Hanwell authored
      Thanks to Eric Monson for pointing out the bug. Added a new member
      function to set the visibility for all columns in a parallel coordinate
      plot. Used this in the table update function of PlotParallelCoordinates
      to reset the visibility before building up the list.
      
      This should also provide a reasonable way to change the visibility of
      all columns in a plot with one call.
      2d839b16
    • Marcus D. Hanwell's avatar
      COMP: Include STL headers directly. · 450f1135
      Marcus D. Hanwell authored
      VTK policy has changed - migrate to use STL classes directly.
      450f1135
  24. 24 Sep, 2010 1 commit
  25. 13 Jul, 2010 8 commits
  26. 22 Jun, 2010 1 commit
    • Keith Fieldhouse's avatar
      Support Stacked Bar Plots · 8504258e
      Keith Fieldhouse authored
      For vtkPlotBar, SetInputArray can be used to identify input
      series' beyond index 1.  When this is done, each additional
      series will be plotted on top of the previous series as a
      stacked bar plot.
      
      To handle this change, vtkPlot now handles multiple labels that
      can be associated with each of the plots.  PaintLegend and
      GetNearestPoint have been adjusted to deal with this properly.
      8504258e
  27. 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
  28. 05 May, 2010 1 commit
  29. 03 May, 2010 1 commit
    • Marcus D. Hanwell's avatar
      BUG: Also update column visibility if the table changed. · 409545ce
      Marcus D. Hanwell authored
      This should address an issue with tables that are initially empty, and
      later filled. If the table is updated, then adjust the column visibilty.
      This is possibly not the best solution on repeated calls to SetInput
      where the table has been changed, but the user has altered column
      visibility.
      409545ce