1. 21 May, 2014 4 commits
    • Berk Geveci's avatar
      Fixed compiler warnings. · a4c8e855
      Berk Geveci authored
      Change-Id: I80d4dbda38c7a6d83d6ba3fadeb81cce1154a1b1
    • Berk Geveci's avatar
      Fixed legacy parallel reader and writer. · 10c6913a
      Berk Geveci authored
      To work with the new pipeline changes.
      Change-Id: Ic5c8ac86026999f79924d8e61b10fbcb18286bb8
    • 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-
      Change-Id: I9f757ba12a3b9fb84e141506dacadad608eb8b99
    • 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
      reduced to being a boolean. 1 for serial sources, -1 for parallel
  2. 23 Apr, 2014 1 commit
    • Brad King's avatar
      Use vtkMPI.cmake helper for all module MPI tests · c05001df
      Brad King authored
      In commit cd4fc15a (Rewrite the testing macros, 2014-03-14)
      the vtk_test_mpi_executable() helper was introduced to add
      MPI tests.  It depends on the vtk_mpi_link() helper in the
      vtkMPI module.  Include the latter in all test CMakeLists.txt
      files that add MPI tests.
      Change-Id: Ifecc7c6b1bf856a8f66905bfb2d69e22b5de3aac
  3. 16 Apr, 2014 4 commits
  4. 27 Dec, 2013 1 commit
  5. 06 Nov, 2013 1 commit
  6. 25 Sep, 2013 1 commit
  7. 16 Sep, 2013 1 commit
    • Brad King's avatar
      COMP: Populate vtkNetCDF_cxx link interface · c118d8bd
      Brad King authored
      Since commit 6383648d (COMP: Set CMake Policy CMP0022 to NEW,
      2013-09-11) we tell CMake >= 2.8.12 to use the INTERFACE_LINK_LIBRARIES
      property to define the link interface of libraries.  Populate it for
      vtkNetCDF_cxx libraries by using target_link_libraries with LINK_PUBLIC.
      Also fix the vtkIOParallel module implementation to link to
      vtkNetCDF_cxx because its sources include netcdf headers.
      Change-Id: I2541a05f30311fca4094cfebd2b8fc618fa0eb5e
  8. 01 Sep, 2013 1 commit
  9. 04 Jun, 2013 1 commit
    • Brad King's avatar
      Convert VTKData test inputs to ExternalData content links · 3797f83d
      Brad King authored
      Add to the Testing/Data directory ExternalData content links mirroring
      the content and layout we use from the VTKData/Data directory.
      Add a CMake/vtkLegacyData.cmake module, included from CMakeLists.txt and
      Testing/External/CMakeLists.txt, to call ExternalData_Expand_Arguments
      for all data directories added from VTKData/Data.  This will bulk-fetch
      all test input data currently used by tests of any module, enabled or
      not.  We can make the DATA{} references more granular later.
      Add a VTK_TEST_DATA_DIR variable to refer to the directory we tell the
      ExternalData module to populate the real data files.  Replace references
      to VTK_DATA_ROOT in test command lines (after -D) with references to
      VTK_TEST_DATA_DIR.  Drop the VTK_DATA_ROOT CMake option and stop using
      the VTKData repository.
      Remove the TESTING_DATA option from the vtk_add_test_cxx API and remove
      the VTK_DATA_ROOT option from the vtk_add_test_mpi API since all test
      input data are now handled through ExternalData and Testing/Data content
      Change-Id: Id02490b76ea2e161b9038188264a4830485039d8
  10. 24 May, 2013 1 commit
    • Brad King's avatar
      Convert VTKLargeData test inputs to ExternalData content links · 4fbc3a0d
      Brad King authored
      Add a Testing/Data directory with ExternalData content links mirroring
      the content and layout we use from the VTKLargeData/Data directory.
      Add a VTK_USE_LARGE_DATA option to enable tests using such data.
      Call ExternalData_Expand_Arguments in */*/Testing/Cxx/CMakeLists.txt for
      tests that reference these data files in order to tell the ExternalData
      module to populate a ExternalData/Testing/Data directory in the build
      tree.  Pass the ExternalData/Testing directory in the build tree as the
      "-D" data directory option to tests using these data so that they can
      find the files where ExternalData puts them at build time.
      In the vtk_add_test_* API replace the LARGE_DATA options with a new
      TESTING_DATA option to indicate that a test uses the directory
      ExternalData/Testing/Data populated by ExternalData from the
      Testing/Data source directory.
      Drop VTK_LARGE_DATA_ROOT and stop using the VTKLargeData repository.
      Drop references to VTKLargeData from test ...
  11. 17 May, 2013 2 commits
  12. 14 May, 2013 2 commits
  13. 15 Feb, 2013 1 commit
    • Bill Lorensen's avatar
      ENH: Tcl tests should not fail if VTK_DATA_ROOT is missing. · c5ab6fda
      Bill Lorensen authored
      A test should run without VTK_DATA_ROOT unless it needs input data
      from VTK_DATA_ROOT. Tests that have image baselines should still run
      unless they need input data.
      rtImage.tcl is modified to skip baseline comparisons if VTK_DATA_ROOT
      is not defined.
      CMakeLists.txt files are converted to use add_test_tcl macro for
      CMakeLists.txt files are changed to isolate tests that need input
      This was tested as follows:
      1) configured a build with VTK_DATA_ROOT undefine
         ctest -R Tcl-
         154 tests passed
      2) configured a build with VTK_DATA_ROOT defined
         ctest -R Tcl-
         390 tests passed
      This means that 390-154 = 236 tcl tests require input data
      Change-Id: I9067a3e3e2a710ddf353f0181cc7b22a85b5ef10
  14. 08 Jan, 2013 1 commit
  15. 30 Oct, 2012 1 commit
  16. 24 Oct, 2012 1 commit
    • Berk Geveci's avatar
      Moved vtkModelMetadata to Exodus module. · 39488292
      Berk Geveci authored
      vtkModelMetadata is no longer used by VTK. The old Exodus reader
      used to produce it but it is now gone. So there is no reason why
      filters need to support it. I moved it to Exodus rather than
      removing it because the Exodus writer still uses it and I didn't
      want to make significant changes to the writer at this point.
      Change-Id: Ic1492ff1c41e8252aaf870107f97e12e68ff7820
  17. 15 Oct, 2012 1 commit
    • Nikhil Shetty's avatar
      Adding auto-converted python tests. · fae72d5e
      Nikhil Shetty authored
      Note: these tests were not a part of pre-modular-vtk and have been especially
      converted for vtk-modular in order to have the complete set of python tests for
      each tcl test. The likelyhood of them failing is high and more work may be
      needed to get them to work.
      Change-Id: Iac82a32eddc1da9042450ced177258a364e5b07b
  18. 09 Oct, 2012 1 commit
    • Utkarsh Ayachit's avatar
      Fixing XML reader/writer for AMR datasets. · 4b7c680c
      Utkarsh Ayachit authored
      Adding new classes vtkXMLUniformGridAMRDataWriter /
      vtkXMLPUniformGridAMRDataWriter based on vtkXMLHierarchicalBoxDataWriter /
      vtkXMLPHierarchicalBoxDataWriter to write all types of AMR datasets in VTK XML
      format. vtkXMLHierarchicalBoxDataWriter and vtkXMLPHierarchicalBoxDataWriter are
      now simply empty subclasses for backwards compatibility.
      The XML file format had to be extended to write enough meta-data to support
      loading of Overlapping AMR datasets correctly. Consequently, the version number
      was updated to 1.1.
      Adding vtkXMLUniformGridAMRReader for reading VTK XML files for AMR datasets
      (overlapping and nonoverlapping). Also added a new test TestAMRXMLIO.
      vtkXMLUniformGridAMRReader reader v1.1. For older versions, added a converter
      vtkXMLHierarchicalBoxDataFileConverter (and a test) that converts the xml to the
      new format. vtkXMLUniformGridAMRReader provides appropriate meta-data in
      RequestInformation() pass, similar to other AMR reader such as Flash/Enzo.
      vtkXMLGenericDataObjectReader has been updated to use
      vtkXMLUniformGridAMRReader for reading all types of AMR datasets.
      Change-Id: I3f143c266562f039a57a745835728c5750c8e463
  19. 03 Oct, 2012 2 commits
    • Andrew Bauer's avatar
      Making the WindBladeReader work proper in serial and parallel. · a07ef1e2
      Andrew Bauer authored
      There is now a serial and a parallel version of the WindBladeReader.
      The parallel version also doesn't depend on MPI being initialized
      in order to work. If this happens, then the parallel version
      delegates the work to it's parent class, the serial version.
      Also, the object factory is set to create the proper version
      from vtkWindBladeReader::New(); as desired so that users
      can use that. The tests are also passing but the parallel test
      still only uses a single process to run.
      Change-Id: Iec9955b6cb69c1448593adbbab3a11357ea990dd
    • Dave DeMarle's avatar
      Make windblade test look in right place · f787b76b
      Dave DeMarle authored
      Change-Id: I701799d5f43b9e20185cc5f1ad2d363d520ba75c
  20. 02 Oct, 2012 1 commit
    • Dave DeMarle's avatar
      Fix most of the parallel tests. · 4d05b66e
      Dave DeMarle authored
      Add optional test macro arguments to allow for some of the tests to
      depend on VTK_LARGE_DATA_ROOT and for most of the tests to have
      their correct images in an pre-modularized vtkdata directory layout.
      NOTE: This requires some VTKDATA file movement because old tests
      have names like tname.cxx.png and this assumes tname.png.
      Also make TestParallelRendering return some sort of pass/fail result.
      Change-Id: Id76a92ac1d7f5eedb15baff91e6849b590961d5e
  21. 27 Sep, 2012 1 commit
    • David Thompson's avatar
      Add `vtkDataObjectTree::NewTreeIterator()` method. · 6478a7b3
      David Thompson authored
      This is a convenience so that you don't have to
      downcast the composite dataset iterator returned
      by `NewIterator()` to call methods like `VisitOnlyLeavesOff()`
      or `TraverseSubTreeOff()`.
      Change-Id: Ibe53476e1d040ccdb29b27bbdf5090bfbe40168c
  22. 26 Sep, 2012 1 commit
    • Utkarsh Ayachit's avatar
      Clean up vtkAppendCompositeDataLeaves. · e5102f45
      Utkarsh Ayachit authored
      Cleaning up vtkAppendCompositeDataLeaves including cleaning up the
      documentation. Also added support for handling image-data which makes it
      possible to use this filter for AMR datasets.
      Change-Id: I9bea06e7b4bf427607846132c629ee56241cf9a7
  23. 11 Sep, 2012 1 commit
    • Yuanxin Liu's avatar
      vtkCompositeDataIterator: Move some methods to child class · 153fb3d3
      Yuanxin Liu authored
      The two parameters in vtkCompositeDataIterator, TraverseSubTree and
      VisitOnlyLeaves, only make sense in the child class
      vtkDataObjectTreeIterator, so they are moved there.
      For callers, if it just calls VisitOnlyLeavesOn() then we just yank
      the call since this is the default behavior anyways; otherwise, we
      down cast the iterator to vtkDataObjectIterator in order to call these
      Change-Id: Idbf44426bd1e281219309a824f603bd796b711b1
  24. 29 Aug, 2012 1 commit
    • Berk Geveci's avatar
      Updated and cleaned up dependencies. · 19078f64
      Berk Geveci authored
      Previous change cause many complication errors because Rendering
      no longer automatically brings in IO modules. Manually added IO
      dependencies where it makes senses and removed the IO dependency
      Change-Id: I4412112d9644e18a32e4285b1f34b161b06e1184
  25. 28 Aug, 2012 1 commit
  26. 24 Aug, 2012 1 commit
    • Yuanxin Liu's avatar
      AMR classes: major data structure changes · 8fc6cf25
      Yuanxin Liu authored
      The main motivation for the changes is to improve the efficiency
      of AMR data structures by replacing the data set containers and meta
      data representation with new data structures.
      First, the meta data associated with the AMR data is moved from
      vtkInformation to a new class vtkAMRInformation so that they do not
      have to be deep copied. Related changes also include:
      - Before, when the LOAD_REQUESTED_BLOCKS() key is not set, the reader
        would recompute AMR meta data based on the requested blocks.  This
        is no longer done: meta data always represents what is on file.
        The reason is to avoid the sensitive meta data computation that
        depends on connectivitiy of the requested blocks.
      - Processor ranks are no longer stored in the meta data. Filters
        can easily generate them by using
      - There used to be two types of 1D indices used to reference blocks in
        an AMR: vtkOverlappingAMR::GetFlatIndex and
  27. 19 Jul, 2012 1 commit
    • Bill Lorensen's avatar
      BUG: Modules missing membership in StandAlone or Rendering. · 453a2f95
      Bill Lorensen authored
      The StandAlone + Rendering groups should contain what was in VTK
      before modularization without turning on additional flags.
      The StandAlone group is a special group of all modules that need no
      external dependencies, such as Boost, MPI, etc. It does include
      modules that rely on third party libraries VTK can build (by
      default). It DOES NOT include modules that depend on OpenGL. Those
      modules are in the Rendering group.
      Several modules that meet the above criteria for membership in the
      StandAlone group did not specify their membership via the GROUPS
      StandAlone property. Also, several modules were missing from the
      Rendering group.
      This topic was verified by building the VTK Wiki Examples:
      http://www.vtk.org/Wiki/VTK/Examples/Cxx against an installed VTK that
      was built with only the StandAlone and Rendering properties enabled.
      Change-Id: I8bbca22f44c087b0cbe9ff92ee2819a292b43da5
  28. 31 May, 2012 3 commits
  29. 24 May, 2012 1 commit
    • Brad King's avatar
      Run TestPProbe through pvtk as it requires · 112c35af
      Brad King authored
      Move "{IO/Parallel => Parallel/MPI}/Testing/Tcl/TestPProbe.tcl" because
      the test depends on pvtk which exists only when the vtkParallelMPI
      module is enabled.  Teach prtImageTest.tcl to use "package require vtk"
      just as was done for rtImageTest.tcl by commit f095f7ee (Added in some
      Tcl rendering tests, 2012-04-11).  Add Parallel/MPI Tcl test
      infrastructure and include TestPProbe.  Remove TestPProbe from its old
      test location in IO/Parallel.
      Change-Id: I49c2a72762a5094e44c8ad964a309ca97cec8ca4