1. 08 Mar, 2018 1 commit
  2. 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
  3. 30 May, 2017 1 commit
  4. 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
  5. 08 Mar, 2016 1 commit
  6. 22 Feb, 2016 1 commit
  7. 09 Oct, 2014 1 commit
  8. 07 Jan, 2013 1 commit
  9. 06 Sep, 2012 1 commit
    • 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
      8707ad9e
  10. 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
        vtkAMRUtilities::DistributeProcessInformation
      
      - 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
      efficient.
      - 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
      8fc6cf25
  11. 07 Jun, 2012 1 commit
    • Yuanxin Liu's avatar
      Add two pipeline passes to handle time-dependent meta data · abfa3454
      Yuanxin Liu authored
      Before this change, when pipeline time changes, the AMR data meta data
      gets updated by the reader in the RequestUpdateExtent pass, but this is
      the same pass where some down streaming algorithms might try to use
      the meta data and make requests accordingly.  To solve this problem,
      another two passes were introduced.  These passes will only be called
      when the key TIME_DEPENDENT_INFORMATION is present.
      
      Change-Id: I5e6bb09ba93e7ae67a35469479e6de327631513f
      abfa3454
  12. 05 Jun, 2012 1 commit
    • George Zagaris's avatar
      ENH: Changed method to return std::string · 66819a02
      George Zagaris authored
      Changed methods to return std::string instead of
      "const char*" in an effort to resolve some of the
      valgrind defects. Also, removed some old legacy
      parsing code that is no longer used.
      
      Change-Id: I2e44e30bb1a6d9b3ba86bde73cc5ad8d57f4e4dc
      66819a02
  13. 04 Jun, 2012 1 commit
  14. 24 May, 2012 1 commit
    • George Zagaris's avatar
      BUGFIX: Add guards for empty input in Enzo reader · 43bfbfbf
      George Zagaris authored
      Added guards to short-circuit before calling the internal
      readers. Calling the internal readers with an empty input
      is causing a segfault in TestEmptyInput.tcl. This short-coming
      is addressed in this commit by detecting if the reader is
      ready and returning immediately before calling methods on
      the internal readers.
      
      Change-Id: I62d16dbe276d49f58078997106e6026386c43ac7
      43bfbfbf
  15. 10 May, 2012 1 commit
  16. 02 May, 2012 1 commit
  17. 01 May, 2012 1 commit
    • George Zagaris's avatar
      BUGFIX: Fix TestSetGet for AMR Enzo reader · 79d46b71
      George Zagaris authored
      Fixed issues with AMR Enzo reader when supplied an empty string as
      a filename. The fix introduces an internal ivar "IsReady" that
      indicates whether a "valid" filename has been supplied. If IsReady
      is false, the code now short-circuits and returns instead of invoking
      the internal visit-based reader.
      
      Change-Id: I1d78e7f5e0379922e8e33aab655a7b755c1a6dbb
      79d46b71
  18. 09 Apr, 2012 2 commits
    • VTK Developers's avatar
      Add modular VTK build system · 0c1471f1
      VTK Developers authored
      Add module.cmake, CMakeLists.txt, and other build system files.
      
      The modular VTK build system is not yet mature.  The monolithic build
      files had a lot of infrastructure.  The modular build files reproduce
      much of the functionality but some features will need to be restored
      later.  Document status and tasks in "TODO-Modularization.txt".
      
      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>
      0c1471f1
    • 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
  19. 15 Feb, 2012 1 commit
    • George Zagaris's avatar
      ENH: Change AMR readers to use vtkOverlappingAMR · d559d079
      George Zagaris authored
      Changed the AMR base reader and sub-classes for flash and enzo to use
      vtkOverlappingAMR. Further, updated vtkAMRUtilities to work on
      vtkOverlappingAMR.
      
      Change-Id: I1a71d37302aaba11ca5897b4832aae8e1b3b30af
      d559d079
  20. 14 Feb, 2012 1 commit
  21. 02 Dec, 2011 2 commits
  22. 05 Sep, 2011 1 commit
    • George Zagaris's avatar
      BUGFIX: Parsing of cfactors before filename is set · f1d62235
      George Zagaris authored
      Fixed issue wherein the method vtkAMREnzoReader::ParseConverionFactors
      was called before this->FileName was set. This was causing an assert
      failure. ParseConversionFactors is now properly called. In addition,
      added logic to handle the case where an ENZO conversion parameters
      file is missing or otherwise not available to improve the robustness
      and flexibility of the reader.
      f1d62235
  23. 25 Jul, 2011 2 commits
    • George Zagaris's avatar
      ENH: Performance improvements to AMR readers · 3f39e0a8
      George Zagaris authored
      Minor performance improvemets:
      (1) The AMR metadata is only loaded once. An ivar,
      "LoadedMetaData" indicates whether or not the metadata are loaded.
      
      (2) If there is a request coming from a "smart" downstream filter,
      then the reader does not call "GenerateVisibility" which can be
      very time-consuming.
      3f39e0a8
    • George Zagaris's avatar
      ENH: Improvements for caching of AMR blocks · b2edee7a
      George Zagaris authored
      This commit introduces improvements to the AMR
      reader infrastructure to better facilitate caching
      needs. In particular, there are two new pure virtual
      methods that are introduced to load block geometry
      and data (field data) seperately.
      b2edee7a
  24. 01 Jul, 2011 1 commit
  25. 17 Jun, 2011 1 commit
  26. 16 Jun, 2011 3 commits
    • George Zagaris's avatar
      BUGFIX: Fix typo when computing grid spacing · b7ec615f
      George Zagaris authored
      Fixed typo leading to miscalculation of the
      grid spacing of the metadata.
      b7ec615f
    • George Zagaris's avatar
      BUGFIX: Handling unigrid case in FillMetaData · 968b54fe
      George Zagaris authored
      Added handling of the case where there is only a single
      grid, in which case the number of levels is zero. Hence,
      the vector that holds a counter for the number of blocks
      at each level must be allocated with numLevels+1 elements.
      968b54fe
    • George Zagaris's avatar
      ENH: QDV for AMR -- Load Metadata · a3018b7a
      George Zagaris authored
      This commit introduces the first set of
      changes for Query-Driven Visualization (QDV)
      of AMR datasets. The changes are as follows:
      
      (1) The base reader implements RequestInformation()
          and defines a pure abstract method FillMetaData()
          to be implemented by concrete classes.
      
      (2) Concrete AMR readers implement FillMetaData() which
          essentially creates a vtkHierarchicalBoxDataSet with
          the uniform grids and AMR boxes but with no data, e.g.,
          density etc.
      
      (3) The metada is published in the output information object
          for downstream modules.
      a3018b7a
  27. 15 Jun, 2011 1 commit
    • George Zagaris's avatar
      ENH: Conversion to CGS units · 41c7923e
      George Zagaris authored
      Added support for converting to CGS units based
      on conversion factors that are parsed from the
      parameters file. A boolean ivar control whether
      the data loads is converted to CGS or not.
      41c7923e
  28. 10 May, 2011 1 commit
  29. 05 May, 2011 2 commits
    • George Zagaris's avatar
      ENH:Move internal enzo reader to a separate header · 9fa8f225
      George Zagaris authored
      This commit moves the internal enzo reader to a
      separate header. The reason for doing this is
      primarily to allow the re-use of the internal enzo
      reader for the corresponding particles reader.
      9fa8f225
    • George Zagaris's avatar
      COMP: Fix warnings · 70da6e34
      George Zagaris authored
      Fixed warnings regarding empty loop body in
      while statement in the internal EnzoReader and
      a warning regarding comparisson between signed
      and unsigned integer expressions.
      70da6e34
  30. 13 Apr, 2011 2 commits
    • George Zagaris's avatar
      ENH: Added InitializeArraySelections · 9b60d191
      George Zagaris authored
      Added functionality to initialize the array
      selections s.t. when the file is first loaded
      none of the field data arrays is selected.
      9b60d191
    • George Zagaris's avatar
      BUGFIX: Access to NULL object · cacf3c91
      George Zagaris authored
      Fix issue in the vtkEnzoReadedInternal
      wherein access to an object that was
      not allocated was attempted. Now, the code
      checks if the object is NULL before attempting
      to access its attributes.
      cacf3c91
  31. 12 Apr, 2011 1 commit
  32. 11 Apr, 2011 1 commit
  33. 08 Apr, 2011 1 commit