Skip to content
Snippets Groups Projects
  1. May 22, 2014
  2. May 21, 2014
    • George Zagaris's avatar
      COMP: Fix a few compiler warnings · 37afe252
      George Zagaris authored
      Change-Id: I840a8add196181be90b79b6f53ab3683209149e1
      37afe252
    • George Zagaris's avatar
      ENH: MPI structured data extraction filters · 0769d8f7
      George Zagaris authored
      This commit introduces new filters, vtkPExtractGrid, vtkPExtractVOI
      and vtkPExtractRectilinearGrid. Each filter, extends the corresponding
      serial filter, i.e., vtkExtractGrid, vtkExtractVOI and
      vtkExtractRectilinearGrid, respectively. The parallel versions of the
      filter add proper handling for distributed datasets. When sub-sampling,
      a gap across partitions may be introducted. The filters use the
      vtkStructuredImplicitConnectivity class to communicate the data across
      process boundaries and resolve the gap.
      
      Change-Id: I2b2a5ecd5841adceee4e30aecd30d485ecfff5df
      0769d8f7
    • George Zagaris's avatar
      ENH: RectilinearGrid implicit connectivity support · ef1611f7
      George Zagaris authored
      Added support for vtkRectilinearGrid type in the structured
      implicity connectivity class. Also, extended the test to
      check for correctness of the new functionality. Further,
      updated RectilinearGrid partitioner such that it can either leave a
      gap between partitions or not. Also, refactored and improved the
      implementation.
      
      Change-Id: I658e2798bd9720a7baafd7eb1eed3f1e8befafe0
      ef1611f7
    • George Zagaris's avatar
      ENH: Use vtkImageData in implicit connectivity · 8a4e1cf1
      George Zagaris authored
      Modified the vtkStructuredImplicitConnectivity class to
      populate a vtkImageData instead of vtkUniformGrid. That way
      it can be used with either class since vtkImageData is the
      parent class of vtkUniformGrid.
      
      Change-Id: I38190d740c43f44ce66f744692e6f07ac0d0f92e
      8a4e1cf1
    • George Zagaris's avatar
      ENH: Update extract structured data filters · 296ace04
      George Zagaris authored
      This commit updates the extract/sub-sample structured data filters
      to reflect the changes of refactoring the piece and extent in VTK.
      Namely, vtkExtractGrid, vtkExtractVOI and vtkExtractRectilinearGrid,
      which operate on vtkStructuredGrid, vtkImageData, and vtkRectilinearGrid
      respectively, are updated.
      
      These datatypes, albeit different, they share common functionality. To
      avoid replicating essentially the same code in all of these three classes,
      a helper class, called vtkExtractStructuredGridHelper, is introduced. This
      new class is part of VTK's vtkCommonDataModel module since it needs to be
      used by both the vtkImagingCore and vtkFiltersExtraction module.
      
      One minor caveat, is that Imaging algorithms/tests require that the origin
      of the image to be retained and that the output extent is w.r.t.
      to the input extent, when there is no sub-sampling. For that reason,
      when there is no sub-sampling vtkExtractVOI, will yield an output extent
      that is with respect to the origin. All other filters re-number the
      output extent starting from zero. The output extent is always re-numbered
      when the data is sub-sampled.
      
      Change-Id: I26fe5a115032333db9814987a6c9dc949e51ef52
      296ace04
    • George Zagaris's avatar
      COMP: Remove HyperTreeGridGeometry::UpdateExtent() · 0165b0a1
      George Zagaris authored
      UpdateExtent() is no longer compatible with the pipeline changes
      introduced in this branch.
      
      Change-Id: I364576e245c944803a0e7c674902d9194c3e4ede
      0165b0a1
    • George Zagaris's avatar
      COMP: Correct ParallelMPI module test dependencies · 8c347eef
      George Zagaris authored
      Parallel XML writers have been moved to a new module
      vtkIOParalleXML (see 7355859). Tests in the ParallelMPI
      module use the Parallel XML multi-block writer, hence they
      now need to depend on vtkIOParallelXML, instead of
      vtkIOParallel. Fixed that.
      
      Change-Id: I5490cd9d9b5bbaeb7f1c29826f002ef97515dc4e
      8c347eef
    • Berk Geveci's avatar
      Fixed issues in the group filter. · 3517e2a0
      Berk Geveci authored
      The group filter was not dealing with extents properly. It
      needed to properly ask for the whole extent from inputs (which
      was done using an extent translator in the past) and it needed
      to remove whole extent from the output (the default is to copy
      from 1st input).
      
      Change-Id: Ib44282f7f48aa60c7fad9fa6a5cceeb50e9b2e54
      3517e2a0
    • Berk Geveci's avatar
      Fixed contour filters · a4944a46
      Berk Geveci authored
      Change-Id: Ibbeb24c5f4ff4dc6ba160295ef9de0455988885d
      a4944a46
    • Berk Geveci's avatar
      Fixed multiple issues with resample/probe filters. · 2354c78d
      Berk Geveci authored
      The main issue was in asking the right update extent from
      the input. Also fixed a number of bugs in the resample filter.
      
      Change-Id: Id2a4a9989baaff6b5f51d20e5c298c676a220d86
      2354c78d
    • Berk Geveci's avatar
      Filters should silently handle empty input · 16e20f26
      Berk Geveci authored
      Change-Id: I707f0bff212922f42801622298c12456c0ed6f75
      16e20f26
    • Berk Geveci's avatar
      ExtractSelection was not managing pieces corretly. Fixed. · 40031835
      Berk Geveci authored
      Change-Id: Ife54f3e32daf790321d638669c569aed254c45d2
      40031835
    • Berk Geveci's avatar
      Removed unnecessary reference to extent translator · ece82eef
      Berk Geveci authored
      Change-Id: I74925cc4dbba114bebd3ae90268c193a048c6e33
      ece82eef
    • Berk Geveci's avatar
      Cleaned up extent translators. · 19e69143
      Berk Geveci authored
      - Removed unused extent translator subclasses
      - Removed unnecessary refereces to the extent translator
      - Moved extent translator into Common/ExecutionModel
      
      Change-Id: Idc53dd66891297b1f6a06ea3eb1baf394cb24b20
      19e69143
    • 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
      Updated filters and sources to work with new pipeline logic. · 747b780a
      Berk Geveci authored
      Change-Id: Id76d3bc545a64675a0820cb1d9b45c61a51efc6a
      747b780a
    • Berk Geveci's avatar
      Removed unused keys. · e27ae6a9
      Berk Geveci authored
      Change-Id: I24bf3b0959bf6e22543bb526b26d9fda14ab4c20
      e27ae6a9
    • Berk Geveci's avatar
      Changed synchronized templates class for new pipeline behavior. · b33d3183
      Berk Geveci authored
      Note that this change slightly breaks backward compatibility.
      The filter now processes all points even if they are on a ghost
      region. This means that this filter will produce ghost polygons
      that need to be stripped downstream. This is in line with the
      "filters should work with what they have" attitude the new
      changes enforce. This makes pipeline and filter logic much
      simpler.
      
      Change-Id: I77738480eaf716ec74095f9573c0cfc403769037
      b33d3183
    • Berk Geveci's avatar
      Fixed compiler warnings. · a4c8e855
      Berk Geveci authored
      Change-Id: I80d4dbda38c7a6d83d6ba3fadeb81cce1154a1b1
      a4c8e855
    • 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 legacy parallel reader and writer. · 10c6913a
      Berk Geveci authored
      To work with the new pipeline changes.
      
      Change-Id: Ic5c8ac86026999f79924d8e61b10fbcb18286bb8
      10c6913a
    • 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
    • Berk Geveci's avatar
      Cleaned up and fixed transmit filters for structured data. · 24a324ef
      Berk Geveci authored
      Change-Id: I7e5c55259159752882c8ae056e08f9bec12b3c02
      24a324ef
    • Berk Geveci's avatar
      Update the XML readers and writers to work with pipeline changes. · 32cf800f
      Berk Geveci authored
      The XML readers and writers, both parallel and serial, now work
      with the pipeline changes. Now, all writers work with pieces
      even though the structured ones can handle asking for a sub-
      extent.
      
      Change-Id: I9f757ba12a3b9fb84e141506dacadad608eb8b99
      32cf800f
    • 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
  3. May 20, 2014
  4. May 16, 2014
  5. May 14, 2014
Loading