1. 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
        $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do
          echo "$file" 1>&2
          perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file
        pass 2:
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro'
      Fixed multi-line vtkCxxRevisionMacro and templates by hand.
  2. 12 Feb, 2010 2 commits
    • Marcus Hanwell's avatar
      ENH: Added DeepCopy to vtkPen, used in ApplyPen. · 009e965c
      Marcus Hanwell authored
      The Context2D has an ApplyPen member function that allows you to copy
      your pen. The use of this new API is demonstrated in vtkPlotLine and
      vtkPlotPoints. The plots can contain a vtkPen with their settings, and
      apply this before painting.
    • Marcus Hanwell's avatar
      ENH: Plots now contain a vtkPen. · debdfab0
      Marcus Hanwell authored
      The plots now contain a vtkPen, this means that the pen can be
      manipulated in order to change the color, width, line style etc.
  3. 27 Nov, 2009 2 commits