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. 08 Apr, 2017 1 commit
  3. 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
  4. 08 Mar, 2016 1 commit
  5. 22 Jul, 2015 1 commit
    • Bill Lorensen's avatar
      STYLE: Replace vtksys_stl and vtksys_ios:: with std:: · 924248d9
      Bill Lorensen authored
      In the early days of VTK, support for stl was not portable. vtksys_stl
      and vtksys_ios provided a portable implementation of the stl. Now, all
      of the VTK supported compilers have portable stl implementations.
      
      This patch:
        1) Replaces the vtksys_ios:: with std::.
        2) Replaces the vtksys_stl:: with std::.
        3) Removes "using" statements for stl
      924248d9
  6. 20 Mar, 2013 1 commit
  7. 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
  8. 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
  9. 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
  10. 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
  11. 26 Jan, 2010 1 commit
  12. 26 Mar, 2009 1 commit
    • Jeff Baumes's avatar
      ENH: Representations now subclass vtkAlgorithm. · 68477df7
      Jeff Baumes authored
      This was done in order to:
      
       - Enforce input types on representations.
      
       - Allow multiple inputs to representations.
      
       - Clean up logic around updating representations.
      
      Other small changes that were necessary:
      
       - Current representation subclasses now override SetupInputConnections()
         instead of SetInputConnection().
      
       - vtkPassInputTypeAlgorithm (which is the superclass of
         vtkDataRepresentation) now does not error when there are no inputs.
      
       - vtkConvertSelection static functions now shallow copy inputs
         instead of directly passing arguments as inputs to the filter.
      
       - Keeping the PROP property in vtkSurfaceRepresentation's selection
         caused a nasty reference loop. This is now removed.
      68477df7
  13. 25 Mar, 2009 1 commit
  14. 13 Mar, 2009 1 commit
    • Jeff Baumes's avatar
      ENH: Adding support for stale node deletion to geovis. · 09691fd8
      Jeff Baumes authored
      Stale node deletion is implemented by maintaining a linked list
      of tree nodes in vtkGeoTreeNodeCache. When a node is used, it is
      propagated to the front of the list. When the list reaches a
      certain size, a set of least-recently-used nodes are emptied
      of their data.
      BUG: Clamping bounds in the 2D projection source to eliminate
      issue where image matching node bounds cannot be found in certain
      cases, causing a "notch" on the edge of the earth.
      09691fd8
  15. 03 Mar, 2009 1 commit
  16. 07 Nov, 2008 1 commit
    • Jeff Baumes's avatar
      ENH: Adding a 2D geoview. Adding the geographic projection library libproj4 · 664600c2
      Jeff Baumes authored
      to Utilities. Updating the architecture of the geospatial views. All
      multi-resolution sources are now subclasses of vtkGeoSource. Each source
      has its own worker thread for fetching refined images or geometry.
      On the 3D side, vtkGeoGlobeSource is an appropriate source for vtkGeoTerrain,
      and vtkGeoAlignedImageSource is an appropriate source for
      vtkGeoAlignedImageRepresentation. On the 2D side, vtkGeoProjectionSource is an
      appropriate source for vtkGeoTerrain2D, and the image source is the same.
      664600c2
  17. 24 Oct, 2008 1 commit
  18. 30 Sep, 2008 1 commit
  19. 15 Sep, 2008 1 commit
  20. 20 Aug, 2008 2 commits
  21. 25 Jun, 2008 1 commit
  22. 13 Jun, 2008 1 commit