1. 18 Nov, 2013 1 commit
    • Andrew Maclean's avatar
      Allow the examples to specify what modules to use. · 733ef2dd
      Andrew Maclean authored
      This approach demonstrates good programming practice by only
      linking to the needed modules.
      It also removed the need to set CMP0020 to NEW in all cases
      except those examples that link to Qt.
      The include(${VTK_USE_FILE}) has been removed from the
      top-level CMakeLists.txt file as it is unnecessary.
      The solution presented here will work with the Examples built
      as a stand-alone folder or within the VTK tree or with the
      individual examples.
      They have been tested on Linux, Windows VS2012 Express,
      Mac OS-X 10.9 using Qt5.1.1.
      Change-Id: I0572a395b2ebc6630db8c1407f410a584f668a85
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
  2. 10 Nov, 2013 1 commit
  3. 28 Oct, 2013 1 commit
    • Andrew Maclean's avatar
      Eliminating CMP0020 warnings in the examples. · bb20b9df
      Andrew Maclean authored
      If VTK is built with Qt5 and CMake >= 2.8.11 CMP0020 warnings are generated
       in these examples. Setting CMP0020 to new eliminates these warnings.
      This warning happens because the examples link to ${VTK_LIBRARIES}
      which, inside the VTK build tree, is all libraries built including
      those that use Qt.  The policy is set as a workaround in these cases.
      A future submission will modify these and other examples to just
      use the needed libraries.
      Change-Id: Iea460773065ed55880b198eeaeec3da3b711c258
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
  4. 08 Apr, 2013 1 commit
  5. 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
  6. 02 Oct, 2012 1 commit
  7. 01 Oct, 2012 1 commit
    • Yuanxin Liu's avatar
      Fix MSVC linking warnings (see comments for details) · d2f3aa33
      Yuanxin Liu authored
      - TestAMRUtilities is removed because it has not been compiled in and
        updated after AMR changes.
      - Disable some debugging code in TestAMRGhostLayerStripping.cxx
      - Removed unnecesary dependency on vtkIOXML from vtkFiltersAMRCxxTests
      - Added warning disabling macros to files in Examples/
      Change-Id: Ia7d15d46ba393796b24cc00c5933149202533928
  8. 06 Sep, 2012 2 commits
    • Yuanxin Liu's avatar
      Clean up amr data structure API · 8707ad9e
      Yuanxin Liu authored
      - Set spacing and AMRBox separately.
      - Expose APIs on vtkAMRInformation on vtkOverlappingAMR
      - Add printing and auditing routines for better debugging support
      - Fix bug in AMRSliceFilter and add test
      - Simplify vtkOverlappingAMR initialization
      - change vtkOverlappingAMR:SetGridSpacing to vtkOverlappingAMR:SetSpacing
      Change-Id: I4ea8497192bc8c0dcda3a5a3726051342a3d48f5
    • George Zagaris's avatar
      ENH: Fix warnings and update to new AMR datatypes · 6587bda6
      George Zagaris authored
      Change-Id: Icc35277e37710d48388c9f8b863ad407b707fff7
  9. 05 Sep, 2012 1 commit
    • Yuanxin Liu's avatar
      vtkOverlappingAMR: Generate correct blanking · 9fd1b267
      Yuanxin Liu authored
      Previously, blanking is not generated correctly: if a has a child b
      that overlaps it but b is not loaded, a still gets blanked.  The fix
      makes sure that a gets blanked only if b is loaded.
      Change-Id: Ic0716ee182f946e8e924eab15fe5840297848888
  10. 28 Aug, 2012 1 commit
  11. 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
        vtkOverlappingAMR::GetCompositeIndex. Now only the latter is used.
        The "other" 1D index is file type specific so now only the readers
        reference them (vtkAMRInformation::GetAMRBlockSourceIndex())
      - To make it easy to traversal the bounding boxes in the meta data. A
        new key vtkObject::BOUNDING_BOX() has been added that works with
        vtkOverlappingAMRDataIterator. See its use in vtkCompositeCutter for
        an example.
      - In a multiprocess setting, vtkAMRSliceFilter for each process computes
        the complete meta data to avoid communication
      - Many functions in vtkAMRUtilities are removed because they provide
        support for computing meta data from data sets. In the new design,
        meta information is always created before data sets are constructed.
      Second, VtkUniformGridAMR now use a more compact representation of the grid
      blocks than the tree implementation done previously. To facilicate
      this, vtkCompositeDataSet now becomes a fully abstract class and all
      concrete implementation gest pushed to the class vtkDataObjectTree.
      In the new implementation, the non-null blocks are stored in an stl
      vector. So traversing them (using vtkUniformGridAMRDataIterator) is
      - The AMRBox has been reduced to store only the lower and upper
        corners.  Information such as origin and spacing are moved to the
        container class vtkAMRInformation, since they are often common to
        all boxes or boxes on the same level.
      - File reoganization: - AMR File readers are moved from Filters/AMR to
        IO/AMR - AMR algorithms (vtk*AMR*Algorithm) are moved from
        Filters/General to Common/ExecutionModel
      Finally, tkAMRVolumeWrapper is moved from filters to rendering.
      The dependency on vtkAMRResampler and vtkParallelCore makes it
      difficult for it go to Rendering/Volume so a new module
      Rendering/VolumeAMR is created.
      Change-Id: Id73d214e6a5ac4d4a08fde5d979365f46edfa390
  12. 17 Aug, 2012 1 commit
    • Bill Lorensen's avatar
      ENH: Migrate examples to VTK6 · 1995122e
      Bill Lorensen authored
      1) Add Find_Package(VTK COMPONENTS) for each example dir
      2) Add MAC app support
      3) Use ${VTK_LIBRARIES} for target_link_libraries
      4) Use new signature for add_test
      Each set of examples can be built within the VTK bin tree or as
      stand-alone examples.
      Change-Id: I6daa126bcc2ed44d827b50954d27f90f394ad4f2
  13. 09 Apr, 2012 1 commit
    • 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>
  14. 12 Mar, 2012 1 commit
    • George Zagaris's avatar
      COMP: VTK 6 Updates · 5948af91
      George Zagaris authored
      Replaced SetInput with SetInputData and instance of Get/SetWholeExtent with
      the corresponding pipeline access mechanism, i.e., acquire the object's information
      metadata and do a Get/Set on vtkStreamingDemandDrivenPipline::WHOLE_EXTENT() key.
      Change-Id: Ifdc36e718e1c334cf4c4b246fe0778385b25fee9
  15. 09 Mar, 2012 2 commits
  16. 21 Feb, 2012 6 commits
  17. 14 Oct, 2011 1 commit
  18. 26 Sep, 2011 1 commit
  19. 17 Jun, 2011 2 commits
  20. 10 Jun, 2011 1 commit
    • George Zagaris's avatar
      ENH: Driver for AMR to uniform grid resampling · d361dded
      George Zagaris authored
      A simple driver that resamples an AMR dataset to
      a uniform grid. The resulting uniform grid can
      then be opened and volume rendered in ParaView.
      In addition, instead of resampling the entire
      AMR dataset, just a portion of the AMR dataset
      can be selected.
  21. 06 May, 2011 2 commits
  22. 28 Apr, 2011 4 commits
  23. 19 Apr, 2011 1 commit
  24. 18 Apr, 2011 2 commits
  25. 11 Apr, 2011 1 commit
  26. 07 Apr, 2011 1 commit
  27. 05 Apr, 2011 1 commit