1. 30 May, 2014 1 commit
  2. 26 Mar, 2014 1 commit
    • David Gobbi's avatar
      Fix cell picker for images with negative spacing. · 8eb00d2f
      David Gobbi authored
      If the spacing of the image data was negative in any of the three
      dimensions, it resulted in a failed bounding box test for the image
      in the vtkCellPicker.  This patch adds a check for negative spacing.
      
      Change-Id: Ia6b7c31fa78988900ce2e68f0ee8cd9bc8ecbf8d
      8eb00d2f
  3. 28 Jan, 2014 1 commit
    • Utkarsh Ayachit's avatar
      Deprecate vtkOpenGLPolyDataMapper. · 2bc3308b
      Utkarsh Ayachit authored
      Deprecated vtkOpenGLPolyDataMapper. Added it to the coverage exclude list. Also
      removed a test TestOpenGLPolyDataMapper since vtkOpenGLPolyDataMapper is
      deprecated anyways.
      
      Change-Id: I087eaf21b8cff22d1184b5725b72158a54f6a65e
      2bc3308b
  4. 15 Jan, 2014 1 commit
    • Berk Geveci's avatar
      Removed priority based streaming and fast path. · 575ebda2
      Berk Geveci authored
      Removed priority based streaming and fast path codes in
      preparation for future refactoring. These were polluting core
      classes despite having a small user base. In the future, they
      may be refactored into the appropriate subclasses and "plugins".
      
      Change-Id: I54562546688c6de468b0068e9b6c65e49c5ec269
      575ebda2
  5. 22 Nov, 2013 1 commit
    • Dan Lipsa's avatar
      Remove VTK_USE_DISPLAY from CMakeLists, cxx and h.in files. · 358a5887
      Dan Lipsa authored
      This variable is not set anywhere, only tested. Additional tests
      are included because of this change : tcl:squadViewer,
      cxx:RenderNonFinite, SurfacePlusEdges, TestLabelPlacementMapper
      
      Change-Id: I1ffa1462d6fb4aed3fb0ee60ec94ffae93b48fe0
      358a5887
  6. 30 Sep, 2013 1 commit
    • Marcus D. Hanwell's avatar
      Made the Filters modules a private dependency · 3c67759b
      Marcus D. Hanwell authored
      This makes the vtkFilters* modules a private dependency of the
      vtkRenderingCore library, and fixes any issues introduced in other
      modules that implicitly relied on these modules.
      
      Change-Id: I2421aa54fc5b9132e0b91ae404263c6f663822f2
      3c67759b
  7. 25 Sep, 2013 1 commit
    • Marcus D. Hanwell's avatar
      Removed the XML shaders and associated classes · 67cb974b
      Marcus D. Hanwell authored
      These have not been used in quite some time, add dependencies on XML
      in the core rendering API and have been superseded by their sequels.
      
      Disabled GenericVertexAttributes tests for now due to use of XML
      shader API, along with the materials object example.
      
      Change-Id: I3c57c46b1d3cc7f550bd30e1abcd6e5d87347d36
      67cb974b
  8. 13 Sep, 2013 1 commit
    • Burlen Loring's avatar
      Surface LIC : parallelization & fine tuning features · ad4dddfc
      Burlen Loring authored
      * Parallelization:
      Support for Multiblock datasets and MPI parallel usage. Three compositing
      strategies are provided, with a heuristic to automatically make a reasonable
      selection between them. [1] INPLACE, [2] INPLACE_DISJOINT, [3] BALANCED.
      The inplace strategy processes data where it falls given its parallel domain
      decomposition and projection to the screen. For simple surfaces such as
      slices where ranks/blocks data does not overlap in screen space this is the
      most efficient approach. However where ranks/blocks data have large amount
      of screen space overlap, this approach has high communication/compositing
      and overhead and a large amount of redundant computation that's discarded.
      The inplace-disjoint strategy was designed to address these issues. It
      leaves data inplace as much as possible but will assign pixels to ranks
      uniquely eliminating redundant computation. The communication costs are
      the same as the inplace strategy however they are split into two temporally
      disjoint parts with computation in between which tends to reduce congestion
      and contention. The balanced strategy divides the screen into equally sized
      disjoint regions and assigns each rank a region. This strategy can suffer
      from load balancing issues, and because no account is made of the initial
      data distribution it may have higher communication/compositing costs than
      the others. The parallel implementations have been tested with IceT in
      ParaView. The compositors uses non-blocking mpi communications, MPI
      subarrays for describing non-contoguous memory extents, and communicates
      efficiently by pasing mpi gpu mapped memory via extensions made to
      vtkPixelBufferObject. An object factory is used to override the serial
      objects with their parallel counterparts  when the parallel module is
      linked.
      
      * Contrast and Color Contrast Enhancement:
      The new contrast enhancement feature increases both dynamic range contrast
      while preserving patterns in the LIC. Contrast enhancment is implemented using
      histogram stretching. The color contrast enhancement is made in HSL space on
      the L channel to minimize color distortions. During the "enhanced" LIC mode
      contrast enhancement is also applied after the first pass of LIC compution.
      This helps strengthen streaking patterns.
      
      * Enhanced scalar color shading:
      A new mode has been added to the shader that shades surface geometry combining
      both LIC and scalar colors. The new shader produces bright colors without
      diminishing the visibility of the LIC by multiplying colored lit surface with
      computed LIC texture. The original blending implementation is left in place
      as it works well in many situations.
      
      * Noise texture customization:
      A new noise texture generator has been added to improve control over "streaking"
      in the convolved texture. The noise textures produced are fully customizable over
      9 degrees of freedom. [1] Noise distribution (Gaussian, Uniform, Perlin); [2] Noise
      texture size [3] Noise grain size [4,5] Min/max noise values [6] Number of noise
      levels; [7] Impulse noise probability; [8] Impulse noise background color; [9]
      Noise generator seed
      
      * Fragment masking controls:
      The new fragment masking provides controls over the color and intensity of masked
      fragments and their blending with scalars. Fragments are masked by threshold |V|<t,
      where t is a user specified threshold value, and V are mask vectors. Masking vectors
      can be optionally projected onto the surface or passed through un-modified so that
      threshold is provided in the original vector units and matches scalar color shading.
      
      * Vector Normalization Control:
      The new vector normalization control lets the user turn on and off normalization
      in the integrator. Disabling normalization can help highlight relative strengths
      in strongly varying regions of a flow field by making the amount of smoothing that
      occurs during convolution proportional to the flow strength.
      
      * Antialiasing:
      An optional anti-aliasing stage was added. In some cases the CE and EE stages
      produce streaks with sharp jagged transitions from black to white. The AA stage
      can be used to soften the result and smooth sharp transitions.
      
      * Optimizations:
      The implementation has been split into 8 major steps with the result of each stage
      cached in a texture.[1] Vector projection and lighting calculation; [2] Gather;
      [3] Compositingand guard pixel generation; [4] LIC Computation; [5] Scatter;
      [6] Scalar coloring; [7] Color contrast enhance; [8] Depth test. During user
      interaction stages that do not have modfied paramters or input data can be skiped
      using the cahced result instead.  This can save large amount of time for expensive
      operations such as projecting vectors, computing the LIC etc. Classes
      were added to simplify monitoring of various system paramters that would trigger
      an update, such as changes to lights, modelview or projection matrices, background
      color, etc. A new framebuffer object has been introduced, designed specifically
      for efficient buffer ping-pong, as well as efficiency improvements for setting
      shader unfiorms on inner parts of buffer ping-pong loops.
      
      * Porting and Testing:
      The code has been ported to Apple + ATI systems, and to OS Mesa with the gallium
      llvmpipe state tracker. A number of ctests have been introduced to excersize the
      new features. Parallel features have testing coverage in ParaView.
      
      Change-Id: I26f90a4e1e4e204289d38993d1e32fe5493b7a0d
      ad4dddfc
  9. 19 Aug, 2013 1 commit
    • Brad King's avatar
      COMP: Cleanup CMP0022 and CMP0023 warnings · ed6c07d0
      Brad King authored
      CMake 2.8.12 introduces policies CMP0022 and CMP0023 that trigger
      warnings in some of VTK's CMake code.  Fix them as follows.  The result
      is a cleaner and more explicit link specification anyway.
      
      CMP0022 warns when we set the LINK_INTERFACE_LIBRARIES property directly
      without also setting the newly introduced INTERFACE_LINK_LIBRARIES
      property directly.  Simply drop these settings because they are achieved
      already by use of the keyword-based target_link_libraries signature.
      
      CMP0023 warns when we use both the plain and keyword signatures of the
      target_link_libraries command for a single target.  The module macros
      use the keyword signature (LINK_PUBLIC/LINK_PRIVATE), so any direct
      calls to the plain target_link_libraries signature are doing "private"
      linking.  Add the LINK_PRIVATE keyword to such calls to make this
      explicit and avoid the warning.
      
      Change-Id: I1e5bf687733e3f19462da698c0d5e3899439bf02
      ed6c07d0
  10. 13 Aug, 2013 1 commit
  11. 16 Jul, 2013 1 commit
    • Utkarsh Ayachit's avatar
      Increasing timeout for test. · 4b20f9b1
      Utkarsh Ayachit authored
      With additional OpenGL checks, vtkRenderingOpenGLCxx-TestTextureSize  now takes
      longer than 90s on certain machines (dash3). Increasing the timeout to 300s
      which is typical for dashboards.
      
      Change-Id: Iac4f5ff3f9eb22d3af1caf7507a162c7fa6cce05
      4b20f9b1
  12. 11 Jun, 2013 1 commit
  13. 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 t...
      3797f83d
  14. 31 May, 2013 1 commit
  15. 17 May, 2013 1 commit
  16. 14 May, 2013 2 commits
    • Brad King's avatar
      Mark non-baseline tests with NO_VALID option · 050fd10e
      Brad King authored
      Tell calls to vtk_add_test_(cxx|python|tcl) explicitly when there is no
      valid baseline image to avoid passing -V unnecessarily.
      
      Change-Id: Ibe5aecdfa076446ddda0b95e814483eb6622af73
      050fd10e
    • Brad King's avatar
      Use vtk_add_test_cxx function · 5b018861
      Brad King authored
      Refactor */*/Testing/Cxx/CMakeLists.txt to use the vtk_add_test_cxx
      function instead of direct add_test calls.
      
      Change-Id: I73dee627fa87a399c48b409af046b116fc75a0fd
      5b018861
  17. 02 May, 2013 1 commit
    • Kyle Lutz's avatar
      Refactoring code to set color/opacity/visibility for blocks. · 52fd8ad8
      Kyle Lutz authored
      This commit refactors some of the code added in recent weeks to add ability for
      users to set display paramaters for blocks within a composite dataset. This
      commit additionally adds support for changing block opacity.
      
      Blocks colors/opacities can also be overridden when using scalar coloring.
      The only issue is when depth-peeling gets used. In that case, point-data coloring
      with texture (i.e. using interpolate scalars before mapping) results in color
      bleeds. We need to dig into the depth peeling code to address that issue.
      
      Change-Id: I2c86912b45bc0516dc4dc726df9448e0569c8312
      52fd8ad8
  18. 24 Apr, 2013 1 commit
    • Yumin Yuan's avatar
      Added polygon selection to hardware selector. · 962324b7
      Yumin Yuan authored
      A new Interaction style is added, and the hardware selector is
      modifed to handle polygon selection. This new type of selection,
      like the rubber band selection, is also based on pixel buffer.
      
      Change-Id: Ic886670fb8cf1bb4a6471b239d8767c03cfea2dc
      962324b7
  19. 27 Feb, 2013 1 commit
  20. 22 Feb, 2013 1 commit
    • Bill Lorensen's avatar
      COMP: Restore TestOffAxisStereo on Mac · fc3db726
      Bill Lorensen authored
      The TestOffAxisStereo test was recently removed from Mac builds
      because of multi-month, recurring failures. In a recent topic,
      http://review.source.kitware.com/#/t/2193/ Aashish fixed issues with
      WindowToImageFilter that prevented some stereo tests from getting
      proper test images. This ended up TestOffAxisStereo which were also
      fixed.
      
      Change-Id: I6916219969520c688acdad3831ec8ecd96c224f7
      fc3db726
  21. 13 Feb, 2013 1 commit
    • Bill Lorensen's avatar
      ENH: CXX tests should not fail if VTK_DATA_ROOT is missing. · eb4be53c
      Bill Lorensen authored
      The vtkTestingInteractor was trying to run regression tests even if
      VTK_DATA_ROOT was not defined.
      
      Many Testing/Cxx CMakeLists.txt files tried to run tests that required
      input data, even though VTK_DATA_ROOT was not defined.
      
      Subsequent topics will address Tcl and Python tests.
      
      Change-Id: Iabf242f9f498ce044948ca1d4a29378b76ceb21d
      eb4be53c
  22. 08 Feb, 2013 1 commit
    • Bill Lorensen's avatar
      COMP: Adjust timeouts for long running tests · 45ed86e5
      Bill Lorensen authored
      Some tests require more than the 21 seconds allocated to cdash@home
      gerrit machines. The timeout was adjusted to accommodate the maximum
      run time over all vtk dashboard machines.
      
      Change-Id: Ibdbe17427bb7cb43f1e9d81ac0fe904b097f4f50
      45ed86e5
  23. 02 Feb, 2013 1 commit
  24. 07 Dec, 2012 1 commit
    • Brad King's avatar
      Replace remove() with list(REMOVE_ITEM) · 6625fcec
      Brad King authored
      The remove() command is documented as discouraged and replaced by the
      list(REMOVE_ITEM) command which has been around since CMake 2.6.0.
      
      Change-Id: Ibd5a95ef9dc81eb09a28a344ef009d7f1511abf6
      6625fcec
  25. 18 May, 2012 1 commit
    • David Adair's avatar
      BUG: InteractorStyleImage not getting image for Window/Level. · 022d847a
      David Adair authored
      If an observer has not been set for the StartWindowLevelEvent, then
      the vtkInteractorStyleImage is supposed to automatically locate the
      last vtkImageActor or vtkImageSlice that was added to the renderer,
      and apply the window/level to that actor.  However, there was a bug
      where if a non-image actor was added to the renderer after the image
      actor, the image actor would not be found.  This patch fixes that bug.
      
      Change-Id: I8c6aaa4e14e712f5ea94c24b38620a00e6bb0d73
      022d847a
  26. 09 May, 2012 1 commit
  27. 29 Apr, 2012 1 commit
  28. 15 Apr, 2012 3 commits
    • Bill Lorensen's avatar
      BUG: Missing dependencies in Rendering/OpenGL · 28de9a2e
      Bill Lorensen authored
      Rendering/OpenGL/Testing was missing dependencies on
      Filtering/Programmable.and Rendering/Annotation
      
      The following tests require these dependencies:
        TestTilingCxx
      
      Change-Id: I5b7c1266f8ff5e937727fb2bd7f85b1c881cde43
      28de9a2e
    • Bill Lorensen's avatar
      BUG: Missing dependencies in Rendering/OpenGL · d7eed0cd
      Bill Lorensen authored
      Rendering/OpenGL/Testing was missing dependencies on Rendering/Image.
      
      The following tests require these dependencies:
      
      TestImageResliceMapperAlpha
      TestImageResliceMapperBackground
      TestImageResliceMapperBorder
      TestImageResliceMapperInterpolation
      TestImageResliceMapperOffAxis
      TestImageResliceMapperOrient3D
      TestImageResliceMapperSlab
      TestImageStack
      estSetImageOrientation
      
      Change-Id: I5454d0c501b38dee72f78e0a7a5b3badecf5ae0c
      d7eed0cd
    • Bill Lorensen's avatar
      BUG: Missing dependencies in Rendering/OpenGL · 6f68bb88
      Bill Lorensen authored
      Rendering/OpenGL/Testing was missing dependencies on Rendering/Label
      and Rendering/FreeTypeOpenGL.
      
      The following tests require these dependencies:
      
      TestLabelPlacementMapper
      TestDynamic2DLabelMapper
      TestLabelPlacer
      TestLabelPlacer2D
      TestLabelPlacerCoincidentPoints
      TestLabelPlacementMapper2D
      TestLabelPlacementMapperCoincidentPoints
      
      Change-Id: I62fef4753b21550b07b210fa2888a0862e344a16
      6f68bb88
  29. 14 Apr, 2012 1 commit
    • Marcus D. Hanwell's avatar
      Fixed up some GLSL test logic · 124660c2
      Marcus D. Hanwell authored
      The old test name does not exist (thanks Goodwin Lawlor), and these
      tests should always be enabled (for now at least).
      
      Change-Id: I28ef68ba6bf6d7bc5abf936b1be99ef457aad605
      124660c2
  30. 10 Apr, 2012 2 commits
    • Brad King's avatar
      Define VTK_TEST_OUTPUT_DIR to name Testing/Temporary directory · 13e19ed9
      Brad King authored
      Replace all references to ${VTK_BINARY_DIR}/Testing/Temporary with
      ${VTK_TEST_OUTPUT_DIR} and set the variable accordingly.  The latter is
      shorter and will also be useful to build module tests as an external
      application that does not have VTK_BINARY_DIR available.
      
      Change-Id: I5159077c10dd2eab23365e9ac917bc6cbd806589
      13e19ed9
    • Marcus D. Hanwell's avatar
      Added in vtkRenderingHybridOpenGL · 97348bb5
      Marcus D. Hanwell authored
      This module was created mainly for the LIC2D rendering classes, which
      are OpenGL dependent. The TestImageDataLIC2D segfaults, but was
      segfaulting before. It looks like an issue introduced with the backward
      compatibility changes.
      
      Change-Id: Ia5de33a94136bf244fb1644d5b5cd2517b435d6a
      97348bb5
  31. 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
  32. 03 Feb, 2012 1 commit
    • Marcus D. Hanwell's avatar
      BUG: Don't leak GL state for face culling. · f9ecc028
      Marcus D. Hanwell authored
      This addresses bug 12588, where backface culling would leak and cause
      text to fail to be rendered. The added test fails until the patch is
      applied to PostRender in vtkOpenGLProperty.
      
      Change-Id: I63ced0363b33914d23a92527d9a2cf70963649f7
      f9ecc028
  33. 28 Jan, 2012 1 commit
  34. 27 Jan, 2012 1 commit
  35. 11 Dec, 2011 1 commit