1. 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
  2. 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
  3. 08 Mar, 2016 1 commit
  4. 18 Dec, 2014 1 commit
  5. 09 Dec, 2014 1 commit
  6. 23 Sep, 2014 1 commit
    • Marcus D. Hanwell's avatar
      Added colored bar charts, along with a test · b2e4fb38
      Marcus D. Hanwell authored
      This commit cleans up the bar chart update logic, adds support for
      using a lookup table to map an array to colors for the bars. It also
      adds a test verifying the points, and the bars, using C++, and the
      same array/lookup table.
      
      Change-Id: I11585739f5a0c5bca3240274aebafead302e89ec
      b2e4fb38
  7. 28 Aug, 2013 1 commit
  8. 02 May, 2013 1 commit
    • David Thompson's avatar
      Provide information on plot input data range. · 6f8f8037
      David Thompson authored
      This commit provides an interface for querying the
      range of values taken on by a vtkPlot's X- and Y-axis
      inputs.
      
      This can be used to determine whether log-scaling
      is appropriate for each axis of the plot. It is part
      of a fix to ParaView bug 13899.
      
      Change-Id: Ia0449ca496dd935fb4ca25dc5dd2b691d2f89d93
      6f8f8037
  9. 09 Apr, 2012 2 commits
    • 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
      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
  10. 02 Jun, 2011 2 commits
    • Marcus D. Hanwell's avatar
      ENH: Changed the custom tooltip API around a little. · 166ea660
      Marcus D. Hanwell authored
      Use two format strings, default and custom, and reduce down to just one
      virtual function. Maintained recursive parsing of string replacements,
      and set defaults when various plot parameters are modified.
      
      Change-Id: I6c5bf09b28fed9f58dcff17078d4931acdafccf6
      166ea660
    • Brian Helba's avatar
      ENH: Add custom tooltip labels to vtkChartXY / vtkPlot · b268a73f
      Brian Helba authored
      The string vtkPlot::TooltipLabelFormat can be set to provide
      user-defined tooltip labels. Full user documentation is provided
      in the accessor/mutator declaration of TooltipLabelFormat.
      
      If TooltipLabelFormat is empty (it is by default), a default
      tooltip will be shown, identical to the existing functionality.
      
      Internally, tooltip labels now are generated by each vtkPlot itself,
      rather than by the containing vtkChartXY, as it was previously.
      
      The protected function vtkPlot::GetCustomTooltipLabel() can be easily
      expanded to add additional format flags in the future.
      
      New plot types subclassing vtkPlot may want to override
      GetDefaultTooltipLabel() and GetCustomTooltipLabel(), as is done
      by vtkPlotBar. It is not recommended that GetTooltipLabel() be
      overridden directly.
      
      Change-Id: I9ddcd7b6ee64825681626fe8f4e46b3ef500c9dd
      b268a73f
  11. 20 May, 2011 4 commits
    • Marcus D. Hanwell's avatar
      ENH: Change vtkPlot::GetNearestPoint return type. · fb3308ce
      Marcus D. Hanwell authored
      This function returned int, but it is much more appropriate to use
      vtkIdType here.
      
      Change-Id: Ib2bc735dcd1d9f447b855013ad18c4e3befcc18d
      fb3308ce
    • Marcus D. Hanwell's avatar
      ENH: Change vtkPlot::GetNearestPoint return type. · b0429b75
      Marcus D. Hanwell authored
      This function returned int, but it is much more appropriate to use
      vtkIdType here.
      
      Change-Id: Ib2bc735dcd1d9f447b855013ad18c4e3befcc18d
      b0429b75
    • Brian Helba's avatar
      ENH: Add SelectPoints() functionality to vtkPlotBar · db562fed
      Brian Helba authored
      The derived function SelectPoints() is added to vtkPlotBar. When
      called, this sets the ivar vtkIdTypeArray* Selection to point to an
      object with values corresponding to the indices of selected bars,
      and returns a bool indicating whether Selection's referent contains
      any values.
      
      SelectPoints() also has the side effect of triggering Paint() to
      highlight the selected bars.
      
      Following the behavior of vtkPlotPoints::SelectPoints(),
      vtkPlotBar::SelectPoints() will always allocate Selection, regardless
      of the return value of the function.
      
      vtkPlotBar::SelectPoints() does not support multiple bar segments. If
      called on an vtkPlotBar instance that contains more than 1 bar
      segments, the function returns false and does not highlight any bars.
      Future support of multiple bar segments may be difficult, as the
      Selection array and associated API does not provide for
      distinguishing particular segments.
      
      Change-Id: Id8442ccb80320957415a90965438561d940aac50
      db562fed
    • Brian Helba's avatar
      ENH: vtkPlotBar::GetNearestPoint() consistent with other vtkPlot* · 3afac279
      Brian Helba authored
      vtkPlotBar::GetNearestPoint() now returns the index of the bar
      with which the point is associated. An overloaded version of
      the function also returns-by-parameter the index of the bar
      segment in question.
      
      The protected member bool vtkPlotBar::Sorted has been removed.
      
      vtkChartXY::SetTooltipInfo has a new (default) parameter,
      to accept a vtkPlotBar's segment index. For other vtkPlot
      types, the parameter can be ignored.
      
      Internally, vtkPlotBarSegment now caches a sorted vector of its
      points for faster lookup.
      
      Change-Id: I4eddcf897486f9cb7ee44d875d46fe4060c6a297
      3afac279
  12. 19 May, 2011 3 commits
    • Brian Helba's avatar
      ENH: Add SelectPoints() functionality to vtkPlotBar · 76b98739
      Brian Helba authored
      The derived function SelectPoints() is added to vtkPlotBar. When
      called, this sets the ivar vtkIdTypeArray* Selection to point to an
      object with values corresponding to the indices of selected bars,
      and returns a bool indicating whether Selection's referent contains
      any values.
      
      SelectPoints() also has the side effect of triggering Paint() to
      highlight the selected bars.
      
      Following the behavior of vtkPlotPoints::SelectPoints(),
      vtkPlotBar::SelectPoints() will always allocate Selection, regardless
      of the return value of the function.
      
      vtkPlotBar::SelectPoints() does not support multiple bar segments. If
      called on an vtkPlotBar instance that contains more than 1 bar
      segments, the function returns false and does not highlight any bars.
      Future support of multiple bar segments may be difficult, as the
      Selection array and associated API does not provide for
      distinguishing particular segments.
      
      Change-Id: Id8442ccb80320957415a90965438561d940aac50
      76b98739
    • Brian Helba's avatar
      STYLE: Changes to vtkPlotBar and TestBarGraph · a73eea84
      Brian Helba authored
      vtkPlotBar:
      Added documentation to Offset accessor/mutator functions.
      Converted Width accessor/mutators to VTK macro.
      
      TestBarGraph:
      Correct header comments to use correct file name.
      Cleanup variable names and comments.
      
      Change-Id: Ifa99f578da78955465c66d29a7e547fb5c88b61b
      
      Conflicts:
      
      	Charts/Testing/Cxx/TestBarGraph.cxx
      a73eea84
    • Brian Helba's avatar
      ENH: Added Orientation property to vtkChartBar · 546d6c7a
      Brian Helba authored
      Default orientation (VERTICAL) is the existing functionality.
      New HORIZONTAL orientation has X-axis oriented up-down and
      bar values growing left-right.
      
      Change-Id: I00fbf3b7c4ebf0b0e589eaecdfb2bc31fcc4651a
      546d6c7a
  13. 18 May, 2011 1 commit
    • Brian Helba's avatar
      ENH: vtkPlotBar::GetNearestPoint() consistent with other vtkPlot* · d436a0cb
      Brian Helba authored
      vtkPlotBar::GetNearestPoint() now returns the index of the bar
      with which the point is associated. An overloaded version of
      the function also returns-by-parameter the index of the bar
      segment in question.
      
      The protected member bool vtkPlotBar::Sorted has been removed.
      
      vtkChartXY::SetTooltipInfo has a new (default) parameter,
      to accept a vtkPlotBar's segment index. For other vtkPlot
      types, the parameter can be ignored.
      
      Internally, vtkPlotBarSegment now caches a sorted vector of its
      points for faster lookup.
      
      Change-Id: I4eddcf897486f9cb7ee44d875d46fe4060c6a297
      d436a0cb
  14. 13 Apr, 2011 2 commits
    • Brian Helba's avatar
      STYLE: Changes to vtkPlotBar and TestBarGraph · 4d96b18f
      Brian Helba authored
      vtkPlotBar:
      Added documentation to Offset accessor/mutator functions.
      Converted Width accessor/mutators to VTK macro.
      
      TestBarGraph:
      Correct header comments to use correct file name.
      Cleanup variable names and comments.
      
      Change-Id: Ifa99f578da78955465c66d29a7e547fb5c88b61b
      4d96b18f
    • Brian Helba's avatar
      ENH: Added Orientation property to vtkChartBar · fbcdbf8c
      Brian Helba authored
      Default orientation (VERTICAL) is the existing functionality.
      New HORIZONTAL orientation has X-axis oriented up-down and
      bar values growing left-right.
      
      Change-Id: I00fbf3b7c4ebf0b0e589eaecdfb2bc31fcc4651a
      fbcdbf8c
  15. 31 Dec, 2010 1 commit
  16. 24 Dec, 2010 1 commit
  17. 19 Dec, 2010 1 commit
    • Marcus D. Hanwell's avatar
      ENH: Added group names to bar charts. · f4387b95
      Marcus D. Hanwell authored
      Allow you to set group names on bar charts, these can be shown in axes
      etc, and would normally summarize what is in a stacked chart series.
      
      Change-Id: I542b82b9ce19def6ab9e40b088aadb72d93d221d
      f4387b95
  18. 24 Jun, 2010 1 commit
    • Keith Fieldhouse's avatar
      Update Stacked Plot API · 90051aa9
      Keith Fieldhouse authored
      The Stacked Plot API has been updated to be consistent
      with the Stacked Bar Graph API.  In particular, a stacked
      plot is self contained, each data series is added to the plot
      with SetInputArray.
      90051aa9
  19. 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
  20. 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
  21. 23 Apr, 2010 1 commit
    • 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
  22. 05 Mar, 2010 1 commit
  23. 25 Feb, 2010 1 commit
    • Marcus Hanwell's avatar
      ENH: Draw grouped bar plots, fixed ranges up. · b6324e54
      Marcus Hanwell authored
      The vtkChartXY takes care of calculating the width and offsets for bar
      plots. Only consider visible plots in the range calculation for the
      chart. Added a getter for the data object used by plots.
      b6324e54
  24. 22 Feb, 2010 1 commit
  25. 18 Feb, 2010 1 commit
    • Marcus Hanwell's avatar
      ENH: Added new virtual PaintLegend, improved label. · 09bf1b93
      Marcus Hanwell authored
      Added a new virtual function to paint the legend from the plots. This
      can be called by a legend item to request the plot item draws its
      symbol/line into the specified rectangle. Also improved the behavior of
      GetLabel() to return the column name unless a custom label has been set.
      09bf1b93
  26. 01 Dec, 2009 1 commit
  27. 27 Nov, 2009 1 commit
    • Marcus Hanwell's avatar
      ENH: Initial import of the work 2D API, 2D scene and charts code. · d031b0ea
      Marcus Hanwell authored
      This is an initial import of the surviving parts of the 2D drawing API I
      have been working on, along with a prototype for a 2D scene and some chart
      elements. This work is experimental, and parts of the API will be moved into
      Rendering.
      
      The API is subject to change and/or removal.
      d031b0ea