1. 20 Mar, 2018 40 commits
    • Sean McBride's avatar
      Applied clang-tidy modernize-use-equals-default fixes · 84ec1d57
      Sean McBride authored
      This required some clean up, because the automatic changes borked a couple of files, but mostly resulted in stupid whitespacing. A few find/replace fixed things up.
      
      There are now some duplicate semis because it did changes like:
      
        ~AMRIndexIterator() override{};
      to
        ~AMRIndexIterator() override= default;;
      
      Note there was a pointless semi before, which clang-tidy didn’t expect / account for.
      
      My next commit will remove them.
      84ec1d57
  2. 27 Nov, 2017 40 commits
    • Utkarsh Ayachit's avatar
      Handle long string in vtkDataWriter. · faf1942f
      Utkarsh Ayachit authored
      vtkDataWriter failed to save buffer to string correctly when the string
      lenght was larger than max(int). Fixed to use vtkIdType for the variable
      used to store the buffer length.
      faf1942f
  3. 24 Oct, 2017 40 commits
  4. 04 Oct, 2017 40 commits
    • Ken Martin's avatar
      manually convert more NULL to nullptr · de3c93a3
      Ken Martin authored
      This topic catches another batch of NULL conversions that
      clang did not handle for various reasons. It also includes
      a number of changes to comments and strings where NULL was
      used. It also catches some recent code changes where NULL
      was used instead of nullptr.
      de3c93a3
  5. 02 Oct, 2017 40 commits
  6. 29 Sep, 2017 40 commits
    • Andrew Bauer's avatar
      Improvements for vtkNew for stl containers and comparison operations · fd04b442
      Andrew Bauer authored
      Adding in functionality to allow inserting vtkNew objects into
      stl containers of vtkSmartPointer objects as well as comparisons
      between vtkNew objects and raw pointers. Also removing Get() and
      GetPointer() calls from vtkNew objects since in most instances we
      can just pass in the vtkNew<> object instead of having to use the
      Get() or GetPointer() methods to get the raw pointer.
      fd04b442
  7. 11 Sep, 2017 40 commits
  8. 26 Jul, 2017 40 commits
    • 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
  9. 08 Apr, 2017 40 commits
  10. 12 Jan, 2017 40 commits
  11. 23 Sep, 2016 40 commits
    • 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
  12. 18 Aug, 2016 40 commits
    • Utkarsh Ayachit's avatar
      Added simpler Gather(vtkDataObject*) method. · d8fd4496
      Utkarsh Ayachit authored
      vtkCommunicator::GatherV() required the destination process to know what
      data types to expect. This was unnecessary. There's enough information
      in the marshalled data object received from  the sender side to deduce
      that. Adding new vtkCommunicator::Gather() and
      vtkMultiProcessController::Gather() methods that provide a simpler
      interface.
      
      Updating GenericCommunicator test to test for the new API.
      d8fd4496
  13. 15 Aug, 2016 40 commits
  14. 06 May, 2016 40 commits
    • 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
  15. 08 Mar, 2016 40 commits
  16. 01 Jun, 2015 40 commits
  17. 06 Apr, 2015 40 commits
  18. 21 May, 2014 40 commits
    • Berk Geveci's avatar
      BUG: Was using array of wrong size. · bc4dbe82
      Berk Geveci authored
      Was trying to read the extent into an array of size 3 instead
      of 6. Doh!
      
      Change-Id: Ic8bb2872782c86739ddf8119b3d44edb35e42e06
      bc4dbe82
    • Berk Geveci's avatar
      Fixed bug in send structured data. · dbbef3f2
      Berk Geveci authored
      The origin was not offset properly in cases where extent
      had to be adjusted. This is all due to the fact that the
      legacy writer always writes extents starting at 0.
      
      Change-Id: Id37f21d7c99d2ecdf6285d2870bf87e10b534a7a
      dbbef3f2
  19. 28 Dec, 2013 40 commits
    • Utkarsh Ayachit's avatar
      Fix send/receive for composite datasets. · af508c83
      Utkarsh Ayachit authored
      Send/Receive for composite datasets was using custom logic
      which predated the fact that vtkGenericDataObject[Reader|Writer]
      supports composite datasets. Fixed that. vtkCommunicator no longer needs
      custom logic to ship composite datasets.
      
      Change-Id: I94fbac0abb83069281cb3c2fa9e223b5cca63a0d
      af508c83
  20. 20 Mar, 2013 40 commits
  21. 11 May, 2012 40 commits
    • Yuanxin Liu's avatar
      remove vtkTemporalDataSet and push its pipeline support to filters · be247f1d
      Yuanxin Liu authored
      The main change is to remove the use of vtkTemporalDataSet and move
      the support of multiple temporal data sets from the execution
      pipeline to filters. To be specific,
      
      - Before, a filter can request objects from multiple time steps by
        setting the key UPDATE_TIME_STEPS to a vector of doubles; the
        resulting objects get wrapped by the pipeline into a single
        vtkTemporalDataSet object.
      
      - After, a filter can only ask for a single time step from the
        pipeline by setting the key UPDATE_TIME_STEP to a single double.
        The "wrapping" no longer happens. If a filter want to request
        multiple time steps, it needs to either inherit from
        vtkMultiTimeStepAlgorithm or use the CONTINUE_EXECUTION to loop the
        upstream pipeline and store the data from each iteration.
      
      The following key changes/constants are backward incompatible:
      
      vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS(() ->
         vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEP((),
         vtkMultiStepAlgorithm::UPATE_TIME_STEPS()
      
      vtkStreamingDemandDrivenPipeline::PREVIOUS_UPDATE_TIME_STEPS() ->
        vtkStreamingDemandDrivenPipeline::PREVIOUS_UPDATE_TIME_STEP()
      
      deleted: vtkCompositeDataPipeline::REQUIRES_TIME_DOWNSTREAM()
      
      depreicated: VTK_TIME_EXTENT
      
      Change-Id: I635b6401ae4f0a7ea7c4b5c466ced40ee75963c7
      be247f1d
  22. 09 Apr, 2012 40 commits
    • VTK Developers's avatar
      Remove trailing whitespace from all source files · 2d323fc4
      VTK Developers authored
      Exclude ThirdParty, Utilities/MetaIO, and Utilities/KWSys as these
      are maintained outside VTK.
      
      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>
      2d323fc4
    • VTK Developers's avatar
      Add modular VTK build system · 0c1471f1
      VTK Developers authored
      Add module.cmake, CMakeLists.txt, and other build system files.
      
      The modular VTK build system is not yet mature.  The monolithic build
      files had a lot of infrastructure.  The modular build files reproduce
      much of the functionality but some features will need to be restored
      later.  Document status and tasks in "TODO-Modularization.txt".
      
      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>
      0c1471f1
    • 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
  23. 13 Dec, 2011 40 commits
  24. 19 Sep, 2011 40 commits
    • 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
  25. 20 May, 2010 40 commits
    • 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
  26. 27 Apr, 2010 40 commits
  27. 23 Apr, 2010 40 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
  28. 13 Jan, 2010 40 commits
  29. 14 Dec, 2009 40 commits
  30. 13 Jul, 2009 40 commits
  31. 10 Jul, 2009 40 commits
  32. 12 Jan, 2009 40 commits
  33. 10 Nov, 2008 40 commits
    • Utkarsh Ayachit's avatar
      ENH: Adding support for vtkTables as first class data objects in Paraview. · 57d4ae31
      Utkarsh Ayachit authored
      Fixes BUG #7786. This covers a broad array of fixes/enhancments including:
      * Histrogram filter produces vtkTable.
      * Charts now use vtkTable (instead of vtkRectilinear grid).
      * Charts can plot any attribute data.
      * CSV Reader reads in vtkTable instead of vtkRectilinear.
      * Spreadsheet view cleanup --  the streaming logic is now more streamlined :).
      * Selection widget performance -- when a large number of cells/points were
        selected/unselected, the client would take a lot of time updating the
        selection inspector panel. This is now fixed.
      * Merging vtkTimeSeriesWriter into vtkParallelSerialWriter and fixing it to work
        with arbitrary data-objects rather than just vtkPolyData.
      57d4ae31
  34. 24 Sep, 2008 40 commits
    • Utkarsh Ayachit's avatar
      COMP: fixed warnings · 1e04a9fe
      Utkarsh Ayachit authored
      1e04a9fe
    • Utkarsh Ayachit's avatar
      ENH: Added new vtkMultiProcessStream. vtkMultiProcessStream can be used to send · f8acf31a
      Utkarsh Ayachit authored
      data with mixed datatypes and variable length over to the other process. For now
      Send(),Receive() and Broadcast() support vtkMultiProcessStream. Other functions
      can be supported if needed.
      
      PERF: vtkParallelRenderManager was synchronizing multiple information structures
      at the start of each render using multiple point-to-point sends. Changed that
      use a single broadcast. All the meta-data to be synchronized is collected in a
      vtkMultiProcessStream instance and then broadcasted.
      f8acf31a
  35. 19 Sep, 2008 40 commits
    • Utkarsh Ayachit's avatar
      ENH: Improvements to TriggerRMI() · b2ab38da
      Utkarsh Ayachit authored
      For small messages, vtkMultiProcessController::TriggerRMI() sends
      the message as a single packet (instead of two as was the
      case before). Two packets are still sent when the message size is greater
      than (128-4) ints.
      
      The length specified in vtkCommunicator::Receive() is treated as the max-length
      and error is raised only when the max-length is less than the message length
      (similar to MPI_Recv). To get the actual length of the received message, added a
      new GetCount() which returns the number of items (as against number of bytes)
      read in by the last receive.
      
      Cleaned up code in vtkMPICommunicator that adds support for data-sizes larger
      than VTK_INT_MAX.
      b2ab38da
  36. 22 Aug, 2008 40 commits