1. 11 Jul, 2018 1 commit
    • Utkarsh Ayachit's avatar
      Fix handling of global cell ids. · ded78d2b
      Utkarsh Ayachit authored
      Fixes two issues with vtkProbeFilter.
      
      1. It was incorrectly using `InterpolateAllocate` to allow array for
         cell data. Cell data is not interpolated, but copied over. Fixed
         that.
      2. It was not passing cell global ids, is present. There's no reason
         not to copy them as long as they are not tagged as global ids in the
         output.
      ded78d2b
  2. 11 Jun, 2018 1 commit
  3. 20 Mar, 2018 1 commit
  4. 09 Mar, 2018 1 commit
    • Sujin Philip's avatar
      Use Cell Locator in Probe · dd7f4e81
      Sujin Philip authored
      Replace the use of vtkDataSet::FindCell with vtkAbstractCell locator as the
      later has been shown to be superior.
      dd7f4e81
  5. 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
  6. 23 Feb, 2017 1 commit
  7. 12 Dec, 2016 1 commit
  8. 18 Nov, 2016 2 commits
    • Sujin Philip's avatar
      Fix Dashboards warning · c11b3ece
      Sujin Philip authored
      Fixes a dashboard warning about deprecated default assignment operator
      because of the existence of user defined destructor.
      c11b3ece
    • Sujin Philip's avatar
      Improve vtkResampleWithDataSet filter · dd57d458
      Sujin Philip authored
      1) Terminate probing early if the input and source bounds do not intersect.
      2) For ImageData input blocks, take the faster code path in probe filter.
      2) Parallelize SetBlankPointsAndCells.
      3) Add test to test this path
      dd57d458
  9. 11 Nov, 2016 1 commit
  10. 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
  11. 06 Sep, 2016 1 commit
  12. 09 Aug, 2016 1 commit
  13. 29 Mar, 2016 1 commit
  14. 22 Mar, 2016 1 commit
  15. 08 Mar, 2016 1 commit
  16. 05 Feb, 2016 1 commit
  17. 21 Jan, 2016 1 commit
  18. 06 Oct, 2015 1 commit
    • Sujin Philip's avatar
      Fix vtkProbeFilter and vtkCompositeDataProbeFilter · 442c6be1
      Sujin Philip authored
      Recent changes to vtkProbeFilter (!695) broke vtkCompositeDataProbeFilter.
      Previous code only worked with the code path that vtkProbeFilter used.
      vtkCompositeDataProbeFilter inherits vtkProbeFilter but uses a different code
      path. This resulted in incorrect results for vtkCompositeDataProbeFilter.
      442c6be1
  19. 25 Sep, 2015 1 commit
  20. 10 Jul, 2015 1 commit
  21. 26 Mar, 2015 1 commit
  22. 12 Sep, 2014 1 commit
    • Dan Lipsa's avatar
      FIX: Get rid of dependent properties. · 15193039
      Dan Lipsa authored
      Do not se Tolerance if ComputeTolerance is set
      Otherwise, you the following could happen:
      SetComputeTolerance(false)
      SetTolerance(value)
      
      GetTolerance() will return value.
      
      SetComputeTolerance(true)
      
      GetTolerance() will return something != value.
      
      Change-Id: I0b44214827aa22d5e2cd29d2b6848364f0fd257c
      15193039
  23. 25 Aug, 2014 1 commit
  24. 21 May, 2014 2 commits
    • Berk Geveci's avatar
      Updated filters and sources to work with new pipeline logic. · 747b780a
      Berk Geveci authored
      Change-Id: Id76d3bc545a64675a0820cb1d9b45c61a51efc6a
      747b780a
    • Berk Geveci's avatar
      Refactored how pieces and extents are handled. · 1a0b4e9d
      Berk Geveci authored
      Refactoring the way VTK goes between piece and structured
      extents. Before, extent translators were used when the pipeline
      moved from structured to unstructured data converting piece
      request to extent request. This caused many problems with filters
      that altered extents, mainly a lot of redundant IO due to
      repartitioning of different extents. This became extremely
      cumbersome to manage when running distributed. The new behavior
      pushes the extent translation all to way to the readers and
      only when readers are able to read a subset. This works much
      better. The only downside is that filters need to be able to
      handle data extents different than update extents. Most filters
      can do this but many imaging filters cannot. Those that are
      needed in parallel will have to be updated.
      
      As part of this work, I also removed MAXIMUM_NUMBER_OF_PIECES
      and added CAN_HANDLE_PIECE_REQUEST. MAXIMUM_NUMBER_OF_PIECES had
      reduced to being a boolean. 1 for serial sources, -1 for parallel
      sources. I removed it and added a CAN_HANDLE_PIECE_REQUEST instead.
      This key, produced by a source, tells the executive that a source is
      able to handle piece request. It is a source only key produced in
      RequestInformation and is not propagated downstream. If this key is
      not present, the executive will only execute the source for piece 0
      to produce the entire data. It is then up to the user to add a filter
      that splits the data for other piece requests. The only exception to
      this is when CAN_PRODUCE_SUB_EXTENT is present, in which case the
      executive will split using an extent translator AT THE source - not
      downstream.
      
      Conflicts:
      	Filters/FlowPaths/vtkParticleTracerBase.cxx
      
      Change-Id: I8db4040289ff87331adeecded4a738313d9b52df
      1a0b4e9d
  25. 03 Mar, 2014 1 commit
  26. 03 May, 2013 1 commit
    • Burlen Loring's avatar
      vtk pprobe pass arrays · 7fe52898
      Burlen Loring authored
      optionally pass arrays on the input dataset
      
      Change-Id: I51a95896d9101e0d2404e2ca3225fa62ebc173f3
      7fe52898
  27. 22 Mar, 2013 1 commit
    • Berk Geveci's avatar
      Minor improvement to vtkProbeFilter in dealing with tolerance. · 27746b47
      Berk Geveci authored
      vtkProbeFilter uses the bounds of the whole dataset in choosing the
      tolerance for FindCell(). This is problematic for large datasets
      where the bounds are significantly larger than individual cells.
      I added an extra check that happens after finding the closest cell.
      This check rejects the cell if the point is outside it by a distance
      of 1/10 the size of the cell.
      
      Change-Id: I86807d19fa313e576a1d51fbf34623099800dd3c
      27746b47
  28. 15 Mar, 2013 1 commit
    • Sean McBride's avatar
      Big find-replace of VTK_LARGE_INTEGER -> VTK_INT_MAX · 1ff4b0ee
      Sean McBride authored
      vtkType.h says that VTK_LARGE_INTEGER is a
      'compatibility name'.  There were many uses of the
      old name, which I updated.  The find-replace should
      be quite safe as it's basically what the preprocessor
      does anyway.
      
      Change-Id: Ic82bfec6d706dbcd68af70f2d4a31cdd51f7b497
      1ff4b0ee
  29. 10 Sep, 2012 1 commit
    • Sean McBride's avatar
      COMP: fixed several dead stores warned about by clang static analyzer · 818eedcc
      Sean McBride authored
      Fixed several places where a value was uselessly (but harmlessly) stored to a variable but then overwritten shortly thereafter or just never used. Where possible, my favoured solution was to declare and initialise at the same time, instead of K&R C style declarations at the top of the function.
      
      Change-Id: I87f6a35d64ed28ef1c89e282ac36ffab5fa522b3
      818eedcc
  30. 18 Jul, 2012 1 commit
  31. 09 Apr, 2012 2 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
      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
  32. 07 Mar, 2012 1 commit
    • Kyle Lutz's avatar
      Fix misspellings in VTK/Graphics · 3b366d11
      Kyle Lutz authored
      This fixes a number of misspellings in the comments of
      the source files in VTK/Graphics. The misspellings were
      found using the codespell tool.
      
      Change-Id: I199a88b6ddcc7924f6c1063bcf60fa556a4c62aa
      3b366d11
  33. 13 Dec, 2011 1 commit
  34. 19 Sep, 2011 2 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
    • Berk Geveci's avatar
      Started removing data object's dependency on the pipeline. · 791b167f
      Berk Geveci authored
      It was decided to remove any dependencies that data objects
      have on the pipeline logic. When modularization is complete,
      this will allow us to build a small "data model" library
      that does not depend on the "execution model". It also
      cleans up a lot of the interdepencies between data objects
      and pipeline code. To achieve this, we need to remove all
      functionality that depend on executives and pipeline logic
      from vtkDataObject and subclasses. This includes any meta-data
      such as whole extent as well as methods to setup pipeline
      connectivity such as SetInput (to be removed from algorithms).
      791b167f
  35. 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
  36. 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