1. 20 Sep, 2016 1 commit
  2. 12 Sep, 2016 1 commit
    • Haocheng LIU's avatar
      Rewrite all public&private dependency in module.cmake file · 6e113ad4
      Haocheng LIU authored
      The current dependency relationship in vtk is unclear and misleading.
      This MR tries to rewrite them based on header files inclusion of headers
      and source files in each module. Corner cases are considered and
      modules are sorted in alphabetical order to facilitate future reference.
      See details in my gitlab python based script project. In future we can continue
      using this script to clean the VTK Dependency easily from
      time to time.
      6e113ad4
  3. 19 Aug, 2016 1 commit
    • Bill Lorensen's avatar
      ENH: Introduce vtkMTimeType · 9333d9d1
      Bill Lorensen authored
      This is a fix for:
      vtk/vtk#14310
      
      Windows applications that run for a long time report that rendered
      objects do not change. This is because the modified time on a Windows
      system is 32 bits. This causes overflows that defeat the modified time
      mechanism. This patch defines a new type, vtkMTimeType that is 64
      unsigned integer regardless of the architecture.
      
      A mechanism to provide backward compatibility is introduced. The
      preprocessor define "VTK_HAS_MTIME_TYPE" can be used in applications
      that must build against VTK versions that use the "unsigned long" type
      for MTime's.
      
      Methodology used to find MTime occurences:
      1) Identify files as follows:
         git grep "unsigned long" | grep ime | cut -d":" -f1,1 | sort | uniq
      2) Hand edit each of those files replacing "unsigned long" with
         "vtkMTimeType" where appropriate.
      3) Temporarily change typedef for vtkMTimeType to "double" to detect
         missing conversions
      9333d9d1
  4. 13 Jul, 2016 1 commit
    • Sean McBride's avatar
      Used clang-tidy's "modernize-use-override" to add some C++11 overrides · 753dcec5
      Sean McBride authored
      It doesn't seem to have got everything, but it's a start.
      
      Some resulting whitespace is suboptimal, but one day
      we can fix that with clang-format. :)
      
      Just ran this command:
      run-clang-tidy.py -checks=-*,modernize-use-override -fix
      
      (I actually had to build my own clang to make clang-tidy
      output "VTK_OVERRIDE" instead of "override".)
      753dcec5
  5. 07 Jul, 2016 2 commits
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION to many constructors · 1853e030
      Sean McBride authored
      vtk(.*)\(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
      1853e030
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      (operator\s*=.*);\s*//\s*Not\s*implemented[\.]*
      to
      \1 VTK_DELETE_FUNCTION;
      
      After that, this finds basically nothing:
      
      operator.*implemented
      
      then manually reverted changed files in VPIC and KWSys folders.
      2d0e11ef
  6. 25 May, 2016 1 commit
    • Kitware Robot's avatar
      Remove all BTX and ETX markers from VTK headers · 4d127b1d
      Kitware Robot authored
      Perl was used to remove all the BTX and ETX markers from the code.
      The specific command that was run on all "vtk*.h" files was this:
          perl -0777 -i -pe 's/(\n* *\/\/ *[BE]TX *\n+)+/\n\n/g'
      
      This regex replaces each BTX/ETX line, plus any leading or trailing
      blank lines, with a single blank line.
      4d127b1d
  7. 06 May, 2016 1 commit
    • David C. Lonie's avatar
      Replace SafeDownCast calls on arrays with vtkArrayDownCast. · 0d71a308
      David C. Lonie authored
      SafeDownCast performs a series of virtual calls and string comparisons,
      which is quite slow, especially when used in worker functions.
      
      vtkArrayDownCast will switch between SafeDownCast and the more
      efficient FastDownCast (only available for common vtkAbstractArray
      subclasses) depending on whether or not FastDownCast is defined for
      the specific array type.
      0d71a308
  8. 18 Apr, 2016 1 commit
  9. 13 Apr, 2016 1 commit
  10. 08 Mar, 2016 1 commit
  11. 03 Mar, 2016 1 commit
    • David C. Lonie's avatar
      Refactor data array APIs. · 893fb6ed
      David C. Lonie authored
      vtkDataArray subclasses now use
      
      ComponentValue --> TypedComponent
      TupleValue --> TypedValue
      
      for their type-specific methods.
      
      # Conflicts:
      #	Rendering/Annotation/vtkScalarBarActor.cxx
      893fb6ed
  12. 28 Jan, 2016 1 commit
  13. 21 Oct, 2015 1 commit
  14. 20 Aug, 2015 1 commit
    • Brad King's avatar
      ENH: Remove use of include <vtksys/ios/*> and vtksys_ios::* · 3ae7dd3a
      Brad King authored
      We no longer need this compatibility layer for the compilers we support.
      Use the following commands to switch to standard header and namespace:
      
       git grep -l vtksys/ios/ | xargs sed -i 's|vtksys/ios/||'
       git grep -l vtksys_ios | xargs sed -i 's|vtksys_ios|std|g'
      3ae7dd3a
  15. 22 Jul, 2015 1 commit
    • Bill Lorensen's avatar
      STYLE: Replace vtksys_stl and vtksys_ios:: with std:: · 924248d9
      Bill Lorensen authored
      In the early days of VTK, support for stl was not portable. vtksys_stl
      and vtksys_ios provided a portable implementation of the stl. Now, all
      of the VTK supported compilers have portable stl implementations.
      
      This patch:
        1) Replaces the vtksys_ios:: with std::.
        2) Replaces the vtksys_stl:: with std::.
        3) Removes "using" statements for stl
      924248d9
  16. 01 May, 2015 1 commit
  17. 30 Apr, 2015 1 commit
  18. 09 Apr, 2015 2 commits
    • David C. Lonie's avatar
      Update baselines. · 1942a721
      David C. Lonie authored
      1942a721
    • David C. Lonie's avatar
      Remove the RenderingFreeTypeOpenGL module. · 4f7460a5
      David C. Lonie authored
      This is not supported by the new OpenGL2 backend, and doesn't support
      new text features, like MathText, FontConfig, or custom font files.
      
      It only implements vtkTextMapper, which now will use a texture-based
      implementation, similar to vtkTextActor and friends.
      4f7460a5
  19. 06 Apr, 2015 1 commit
  20. 05 Mar, 2015 1 commit
    • Ken Martin's avatar
      A number of transparency related issues fixed · 944ee020
      Ken Martin authored
      A few good fixes in here that are all related. The biggest is a
      fix to OpenGLActor to use the more comprehensive GetIsOpaque
      method in determining if an actor is opaque. The old code only
      looked at the property's opacity. This is why you would see folks
      setting somethings opacity to 0.99 to get it treated as translucent
      because the actor code wasn't handling it correctly. This change
      resulted in 3 new valid images for tests that were rendering
      translucent items as if they were opaque. I removed these tests
      from the old backend as I did not want to change the behavior
      for that backend.
      
      Next up is depth peeling. OpenGL2 depth peeling would render
      a number of peels up to the limit and then just stop. Any geometry
      left between the opaque layer and the last translucent layer was
      just thrown out.  This created very noticable artifacts and was bad.
      This change makes it so that when it gets to the last pass, it will
      render all remaining geometry using alpha blending. This is much
      better. Fix example if you get the limit to 20 layers and 20 was
      not enough to render all the geometry, this change renders 19
      layers using depth peeling, then in the 20th render it would add
      in all the remaining geometry as last layer. That last layer may
      have overlapping geometry which is rendered using alpha blending.
      
      Finally some changes to the PointGaussianMapper. It turns out that
      the point gaussian mapper is an translucent mapper which means it
      needs the first change, and it is a very tough case for depth peeling
      resulting in the second change. While at it I modified this mapper
      to render far fewer fragments, resulting is far fewer overlapping
      layers and fewer artifacts. Really when using PointGaussian you
      should turn off depthpeeling as it is not needed and actually makes
      it worse, but these changes will make it better if you happen to have
      it on.  Also cleaned up the mapper so that the radius is equal to
      the standard devisation of the gaussian, previously it was four
      standard deviations.
      
      Change-Id: I62d90b6e424ac0e939033387ed10ba8caac66095
      944ee020
  21. 16 Feb, 2015 1 commit
  22. 18 Dec, 2014 1 commit
  23. 01 Oct, 2014 1 commit
  24. 30 Sep, 2014 1 commit
    • Marcus D. Hanwell's avatar
      Expand support for the OpenGL2 backend · 666ade8a
      Marcus D. Hanwell authored
      This change makes more modules dynamically switch between the
      rendering backends if they have no OpenGL code, or introduces some
      ifdefs in the case of RenderingParallel (which may not be functional
      at this stage). Added RenderingFreeTypeOpenGL2 which will also need
      some additional work before it is properly integrated with the new
      rendering backend, but it surprisingly seems to render on the
      desktop.
      
      This commit contains everything needed to get a minimal ParaView
      build using the new rendering backend for polygonal rendering.
      
      Change-Id: If8676d41d263b046a54060965fc760b5d4bd64a1
      666ade8a
  25. 22 Sep, 2014 1 commit
  26. 06 Aug, 2014 2 commits
  27. 21 Jun, 2014 1 commit
  28. 13 May, 2014 1 commit
  29. 16 Apr, 2014 1 commit
  30. 03 Apr, 2014 1 commit
  31. 02 Apr, 2014 1 commit
    • Zack Galbreath's avatar
      do not assume 1st column holds row names · 729fe63f
      Zack Galbreath authored
      As of this commit, we no longer assume that the 1st column of
      the input table specifies the names of the table's rows.  Instead,
      we search by default for a column named "name".  The user can
      change the name of this array by calling vtkHeatmapItem::
      SetNameColumn(vtkStdString).  We fallback to using the 1st column
      only if no such array can be found by name.
      
      Change-Id: I2494ff21f3efa4a379dce82e159715dc023d8995
      729fe63f
  32. 17 Mar, 2014 1 commit
    • Zack Galbreath's avatar
      change signatures for wrapping · 6d501034
      Zack Galbreath authored
      Apparently functions whose signatures contain vtkSmartPointer
      are not wrapped into python.  Change such methods of
      vtkTreeHeatmapItem to contain ordinary pointers instead.
      
      Change-Id: Ic98311c10f1e7a99fb4ad071d3981e4febb0604e
      6d501034
  33. 07 Mar, 2014 1 commit
  34. 28 Jan, 2014 1 commit
  35. 10 Dec, 2013 2 commits
    • Bill Lorensen's avatar
      ENH: Add test for ParallelCoordinatesView · 7a9edc68
      Bill Lorensen authored
      vtkParallelCoordinatesView was not tested. The lack of a test
      resulted in low coverage for vtkParallelCoordinatesView,
      vtkParallelCoordinatesRepresentation and SCurveSpline.
      
      This patch also repairs a memory leak in
      ParallelCoordinatesRepresentation that was uncovered when the test was
      added.
      
      Also, since vtkSCurveSpline is only used in
      vtkParallelCoordinatesRepresentation and vtkSCurveSpline did not have a unit
      test, this path moves vtkSCurveSpline is moved into Views/Infovis.
      
      NOTE: vtkParallelCoordinatesView has a lot of interactive content. To
      improve the coverage, future tests must exercise the interactive parts
      of this class. This patch is a minimal effort at improving the
      coverage.
      
      Change-Id: I1dfe93ecb1db85edfc5a887c4576c6274e8284ea
      7a9edc68
    • Zack Galbreath's avatar
      display scalar bar for colored tree · f50733ec
      Zack Galbreath authored
      vtkDendrogramItem now displays a vtkColorLegend after SetColorArray()
      has been called.  This allows the consumers of this visualization to
      see the scalar values associated with the colored edges of the tree.
      
      This commit also contains a bug fix.  When SetColorArray() is called
      with an array that only contains a single value, the edges of the tree
      should be drawn in grey.  This bug previously caused such edges to be
      drawn in either red or blue.
      
      Change-Id: Ia897109b119029e57e053b368dc910fb87266a76
      f50733ec
  36. 26 Nov, 2013 1 commit
    • Zack Galbreath's avatar
      new baseline for TestColumnTree · 7e18b302
      Zack Galbreath authored
      The previous commit (9c5d6061) changed the orientation of the
      collapsed subtree label in this test.  While the prior orientation
      also looked nice, it was a side-effect of the orientation of the
      heatmap's column label.  Thus, it was subject to change based on
      what order the items in the scene were rendered.  It also did not
      look correct for all possible dendrogram orientations.  This new
      baseline depicts the label where its orientation is determined
      by that of the dendrogram.
      
      Change-Id: Ia6ef68ff573234f1e189a3124bc92295ac85ba6a
      7e18b302