1. 04 Feb, 2016 1 commit
    • Berk Geveci's avatar
      Disabled deprecation warning. · 5c536c90
      Berk Geveci authored
      Deprecated methods calling deprecated methods was causing
      warnings. Disabled until we remove the deprecated methods.
      5c536c90
  2. 29 Jan, 2016 1 commit
    • Berk Geveci's avatar
      Refactored and update the way algorithms are updated. · f020ebb6
      Berk Geveci authored
      The way algorithms were updated (made to execute) with
      request meta-data (such as update extent) was very error
      prone and counter-intuitive. Added new methods to make
      updating with meta-data easier. I also deprecated a number
      of methods to set request meta-data. This will encourage
      developers to migrate to the new API which is less error-
      prone.
      f020ebb6
  3. 01 Dec, 2014 1 commit
    • Sean McBride's avatar
      Fixed warning about possible null deref · 92f6a354
      Sean McBride authored
      Presumably ‘producer’ can never be null because
      it’s unconditionally dereferenced a few lines below
      this change.
      
      Change-Id: I85c425ae1eaa17cf56118b90472412bec1c705c9
      92f6a354
  4. 25 Nov, 2014 1 commit
    • Sean McBride's avatar
      Fixed analyzer warning by removing null check · 70d8784b
      Sean McBride authored
      The analyzer saw a check for null so assumed it could happen,
      but it must be impossible, because there’s an unconditional
      dereference just below.
      
      Change-Id: Ibdb0bd6aee89ff1eadd8442d35b7d33f54486eb4
      70d8784b
  5. 09 Oct, 2014 1 commit
  6. 13 Jun, 2014 1 commit
    • Berk Geveci's avatar
      Added an ensemble source. · e2532923
      Berk Geveci authored
      vtkEnsembleSource is used to manage a collection of
      data sources to represent a dataset ensemble. See
      the class documentation for details.
      
      Change-Id: I3a7530f6a5b0a3a20ac8ce69aad9435a49dd03d3
      e2532923
  7. 06 Jun, 2014 1 commit
  8. 21 May, 2014 2 commits
    • Berk Geveci's avatar
      Moved key. · ac6f1854
      Berk Geveci authored
      It made more sense to have both CAN_PRODUCE_SUB_EXTENT and
      CAN_HANDLE_PIECE_REQUEST in vtkAlgorithm.
      
      Change-Id: Ie64bb3e7c8417113bfb7f677c10d8feb5fdddc39
      ac6f1854
    • 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
  9. 07 May, 2014 1 commit
  10. 16 Mar, 2014 1 commit
    • Utkarsh Ayachit's avatar
      Add support for empty strinngs in SetInputArrayToProcess. · c4c8ce83
      Utkarsh Ayachit authored
      SetInputArrayToProcess ignored empty strings (treating them same as NULL
      strings). This behavior makes it impossible to pick arrays that have no
      names. Fixing SetInputArrayToProcess to not ignore empty strings. Also
      added a check in GetInputArrayToProcess to handle the case where no
      array association was specified.
      
      Change-Id: I3c3a9017ea014c2b8f844133956add72c1cf3e6d
      c4c8ce83
  11. 15 Jan, 2014 1 commit
    • Berk Geveci's avatar
      Removed priority based streaming and fast path. · 575ebda2
      Berk Geveci authored
      Removed priority based streaming and fast path codes in
      preparation for future refactoring. These were polluting core
      classes despite having a small user base. In the future, they
      may be refactored into the appropriate subclasses and "plugins".
      
      Change-Id: I54562546688c6de468b0068e9b6c65e49c5ec269
      575ebda2
  12. 31 Oct, 2013 1 commit
    • Berk Geveci's avatar
      Added support for updating progress in a thread-safe way. · 47306747
      Berk Geveci authored
      UpdateProgress() was not thread-safe. Added a mechanism to handle
      progress in a thread-safe way. This required the ability to
      completely change the way algorithms handle progress, which I
      chose to do outside the algorithm class to minimize unnecessary
      complication of a base class.
      
      Change-Id: I640cdddbcf79039d7cfcc6e716b4a0d55d028c6f
      47306747
  13. 08 Oct, 2013 1 commit
  14. 03 Apr, 2013 1 commit
  15. 12 Sep, 2012 1 commit
    • Utkarsh Ayachit's avatar
      Added SetInputDataObject() API to vtkAlgorithm. · 1fb311ef
      Utkarsh Ayachit authored
      Since setting input data objects is a common practice, making it simpler for
      users to set the input by providing API SetInputDataObject(...),
      AddInputDataObject(...).
      
      Also, SetInputDataObject(...) has been updated to not modify the Mtime of the
      algorithm every time the method is called. Extra logic ensures that the input is
      changed only when the data object passed into SetInputDataObject() is changed.
      
      Also added a test that ensures the MTime's work as expected
      (TestSetInputDataObject).
      
      Change-Id: I96356e272dd1ff0b9bb1072c2d2ede16f852dfef
      1fb311ef
  16. 13 Apr, 2012 1 commit
    • Berk Geveci's avatar
      Fixed and added to the vtkAlgorithm's update extent API. · 70008198
      Berk Geveci authored
      Fixed: SetUpdateExtent() and its ilk were setting the update
      extent on the input. Fixed it to be on the output. This is
      more consistent with the executive API. Also updated other
      code accordingly.
      
      Change-Id: Iac92df21b8fa8dbeb58e4e27c5ffc796fadc4eaa
      Added: API to get update extent from the output.
      70008198
  17. 09 Apr, 2012 1 commit
    • VTK Developers's avatar
      Modularize VTK tree layout · cdd4d6fd
      VTK Developers authored and Brad King's avatar Brad King committed
      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
  18. 08 Mar, 2012 1 commit
  19. 07 Mar, 2012 1 commit
    • Kyle Lutz's avatar
      Fix misspellings in VTK/Filtering · 8db7e50e
      Kyle Lutz authored
      This fixes a number of misspellings in the comments of
      the source files in VTK/Filtering. The misspellings were
      found using the codespell tool.
      
      Change-Id: Iafa2887c69f4c0c1653172f474e3de4121dd86ef
      8db7e50e
  20. 06 Jan, 2012 1 commit
  21. 13 Dec, 2011 1 commit
  22. 02 Nov, 2011 1 commit
  23. 21 Oct, 2011 1 commit
  24. 20 Sep, 2011 1 commit
  25. 19 Sep, 2011 4 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
      More progress. Everything compiles now · d10d7093
      Berk Geveci authored
      d10d7093
    • Berk Geveci's avatar
      More progress · 16092733
      Berk Geveci authored
      16092733
    • 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
  26. 14 Jul, 2011 1 commit
  27. 01 Jun, 2011 1 commit
    • Dave DeMarle's avatar
      Add a way for algorithms to modify the meta information. · 07c6ca2b
      Dave DeMarle authored
      Until now, algorithms in prioritized streaming would either:
      * reject entirely the meta information given to them from upstream (default)
      * pass along the meta information to the next filter downstream (if the
      algorithm was know to have no affect on the related heavy data)
      
      In some cases, algorithms can decide how they might modify the data instead,
      for example a simple transform filter can transform the input bounding box
      to determine what the resulting bounding box of the transformed actual
      geometry will be. Now algorithms can do that by asserting the new
      MANAGES_METAINFORMATION flag in their constructor and then doing the meta
      information manipulation when asked to by the new REQUEST_MANAGE_INFORMATION
      request.
      07c6ca2b
  28. 02 Jan, 2011 1 commit
  29. 14 Jul, 2010 1 commit
    • Meng ZHU's avatar
      Modify vtkAlgorithm to support query for array association. · 1bebd64e
      Meng ZHU authored
      New overloads are added for vtkAlgorithm::GetInputArrayToProcess and
      vtkAlgorithm::GetAbstractInputArrayToProcess to accept an additional
      parameter through which the queried array association is returned.
      New interface vtkAlgorithm::GetInputArrayAssociation are added to
      return the array association only.
      1bebd64e
  30. 20 May, 2010 1 commit
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · ecbbf7f7
      Mark Olesen authored and Brad King's avatar Brad King committed
      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
  31. 23 Apr, 2010 1 commit
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · 19c55e0e
      Mark Olesen authored and Brad King's avatar Brad King committed
      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
  32. 20 Jun, 2009 1 commit
  33. 02 Nov, 2008 1 commit
    • Dave Demarle's avatar
      ENH: Adding support for streaming and priority determination in. These changes... · 5bd95cb9
      Dave Demarle authored
      ENH: Adding support for streaming and priority determination in. These changes to VTK improve the way that sources can provide meta-information about pieces of the data. It also changes VTK so that the request_update_extent_information_pass propagates the meta-information down the pipeline over only those filters that do not modify the corresponding information. The pass also gives filters a chance to compute a priority from the meta-information, which the sink can then use to reorder or skip pieces that do not matter.
      5bd95cb9
  34. 31 Oct, 2008 2 commits
    • Dave Demarle's avatar
      COMP: revert change · 7d0a21d6
      Dave Demarle authored
      7d0a21d6
    • Dave Demarle's avatar
      ENH: Adding support for streaming and priority determination in. These changes... · ba3cc4ee
      Dave Demarle authored
      ENH: Adding support for streaming and priority determination in. These changes to VTK improve the way that sources can provide meta-information about pieces of the data. It also changes VTK so that the request_update_extent_information_pass propagates the meta-information down the pipeline over only those filters that do not modify the corresponding information. The pass also gives filters a chance to compute a priority from the meta-information, which the sink can then use to reorder or skip pieces that do not matter.
      ba3cc4ee
  35. 17 Jul, 2008 1 commit