Skip to content
Snippets Groups Projects
  1. Oct 21, 2015
  2. Aug 20, 2015
    • 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
  3. Jul 22, 2015
    • 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
  4. May 03, 2015
  5. May 01, 2015
  6. Apr 30, 2015
  7. Apr 29, 2015
  8. Apr 09, 2015
  9. Apr 06, 2015
  10. Mar 05, 2015
    • 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
  11. Feb 16, 2015
  12. Jan 29, 2015
    • Utkarsh Ayachit's avatar
      Miscellaneous vtkContextInteractorStyle fixes. · 5e791b5c
      Utkarsh Ayachit authored
      1. Fixed TimerId type. vtkRenderWindowInteractor defines the TimerId
      type as int. vtkContextInteractorStyle now uses the same type.
      
      2. Fixed timer creation. OnSceneModifed() was repeatedly creating new
      timers even when previous one hadn't timed out yet. Fixed that. Also,
      RenderNow() ensures that old timers are destroyed.
      
      3. RenderNow() now uses Interactor->Render() rather than
      Interactor->GetRenderWindow()->Render(). vtkRenderWindowInteractor has
      API to control how and if an interaction should trigger a render on the
      window. Calling RenderWindow->Render() bypasses all that logic resulting
      is mismatch between how interactions work in Render views and Chart views.
      This fixes that issue.
      
      Change-Id: I58798615070d97ba9a00ccc21919a5d518bdac22
      5e791b5c
  13. Dec 22, 2014
  14. Dec 18, 2014
  15. Oct 02, 2014
  16. Oct 01, 2014
  17. Sep 30, 2014
    • 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
  18. Sep 23, 2014
  19. Sep 22, 2014
  20. Aug 06, 2014
  21. Jul 03, 2014
    • Ben Boeckel's avatar
      modules: add modules to "kits" · e5203447
      Ben Boeckel authored
      The main kits are:
      
          vtkCommon
          vtkFilters
          vtkIO
          vtkImaging
          vtkInteraction
          vtkOpenGL (required due to a dependency cycle from
                     vtkRenderingOpenGL on vtkImagingHybrid)
          vtkParallel
          vtkRendering
          vtkViews
          vtkWrapping
      
      Modules which deal with a specialization of another module belong to the
      kit related to the specialization (i.e., FiltersParallel and
      IOParallelXML both belong to the vtkParallel kit) to avoid circular
      dependencies that arise when put into the same kit as the "lesser"
      module.
      
      Change-Id: Icae0baa78d62cc0dcce84546541df600d4f311dd
      e5203447
  22. Jun 21, 2014
  23. Jun 17, 2014
    • Marcus D. Hanwell's avatar
      Disable multitexturing in Geovis class · de0d4119
      Marcus D. Hanwell authored
      This enables us to compile the Geovis module without depending on
      the OpenGL implementation, after discussing it with Aashish this
      class may be deprecated and removed in the future.
      
      Change-Id: Idecf270f2d71e884a89d2b90836a6e6fbea9807c
      de0d4119
  24. Jun 16, 2014
  25. May 13, 2014
  26. May 07, 2014
    • Brad King's avatar
      Export the locations of Qt5 packages on which modules depend · 23fbbebc
      Brad King authored
      Qt5 packages provide libraries to VTK in the form of imported targets.
      VTK libraries that link to them get exported with dependencies on the
      imported targets.  We must make them available to applications that link
      to these VTK libraries too.
      
      Teach each module that depends on Qt5 to export code that runs when
      an application loads the module as part of its build process.  Find
      the needed Qt5 package on behalf of the application to satisfy the
      module's dependency on it.
      
      Change-Id: Ib638ccafa084fbb06c20eb09464265501ccafc80
      23fbbebc
  27. Apr 16, 2014
  28. Apr 03, 2014
  29. Apr 02, 2014
    • 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
  30. Mar 17, 2014
    • 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
  31. Mar 07, 2014
  32. Jan 28, 2014
  33. Dec 10, 2013
    • 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
  34. Nov 26, 2013
    • 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
    • Zack Galbreath's avatar
      restore original settings after painting tooltip · 9c5d6061
      Zack Galbreath authored
      This commit fixes a bug that affected the labels that indicate how
      many vertices are hidden within a collapsed subtree.  The size and
      orientation of these labels would potentially change based on whether
      or not a vtkToolTipItem was currently displayed.
      
      The problem was that vtkToolTipItem modified the vtkPen, vtkBrush, and
      vtkTextProperty used by the painter.  This commit changes this behavior,
      so that the original painter settings are restored after the tooltip is
      drawn.  This makes the appearance of the rendered scene less dependent
      on the order in which the items are painted.
      
      Change-Id: I48acba6313a63539a2116cd8d2929fe8ab162de8
      9c5d6061
Loading