1. 27 Jan, 2016 1 commit
  2. 18 Jan, 2016 1 commit
  3. 17 Sep, 2015 1 commit
  4. 31 Aug, 2015 1 commit
    • Dan Lipsa's avatar
      COMP: Add logic to selectively use OpenGL or OSMesa. · f09903e4
      Dan Lipsa authored
      Use vtkOpenGL.cmake to decide to use (LINK_PRIVATE) OpenGL or Offscreen Mesa.
      OpenGL is now LINK_PRIVATE, so additional libraries and tests need to include OpenGL.
      Include the following in your CMakeLists.txt:
      for every ${module} that uses OpenGL. This takes care of include directories and
      linking of proper libraries.
  5. 14 May, 2015 1 commit
  6. 02 Apr, 2015 1 commit
    • Sean McBride's avatar
      Fix -Wimplicit-fallthrough warnings; introduce VTK_FALLTHROUGH · 3cc4d9fc
      Sean McBride authored
      Fixed all clang -Wimplicit-fallthrough warnings:
      - Some fixed by adding missing breaks
      - Other fixed by adding VTK_FALLTHROUGH statement
      Under (modern) clang with C++11:
       #define VTK_FALLTHROUGH [[clang::fallthrough]]
       #define VTK_FALLTHROUGH ((void)0)
      VTK_FALLTHROUGH serves two purposes:
       - under clang, suppresses -Wimplicit-fallthrough warnings
       - makes code more self-documenting
  7. 05 Feb, 2015 1 commit
  8. 14 Jan, 2015 1 commit
  9. 18 Dec, 2014 1 commit
  10. 15 Oct, 2014 2 commits
  11. 03 Jul, 2014 1 commit
    • Ben Boeckel's avatar
      modules: add modules to "kits" · e5203447
      Ben Boeckel authored
      The main kits are:
          vtkOpenGL (required due to a dependency cycle from
                     vtkRenderingOpenGL on vtkImagingHybrid)
      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"
      Change-Id: Icae0baa78d62cc0dcce84546541df600d4f311dd
  12. 16 Jun, 2014 1 commit
    • Marcus D. Hanwell's avatar
      Context OpenGL and OpenGL2 backends · 389c88ea
      Marcus D. Hanwell authored
      This will enable us to switch the backend at will, the OpenGL works
      whereas the OpenGL2 needs some additional improvements mainly to
      use point sprites (where most of the tests are failing.
      Change-Id: I648c18ca33b4c6796c4b7a829a2902f7e91ff412
  13. 06 May, 2014 1 commit
  14. 16 Apr, 2014 1 commit
  15. 01 Nov, 2013 1 commit
  16. 30 Sep, 2013 1 commit
  17. 23 May, 2013 1 commit
  18. 10 May, 2013 1 commit
  19. 22 Apr, 2013 1 commit
    • Bill Lorensen's avatar
      ENH: Add InteractionStyle to rendering tests · f83d821a
      Bill Lorensen authored
      When tests are run with -I they must be linked with InteractionStyle.
      On the Mac, tests must be linked with MACOSX_BUNDLE to get keyboard
      Change-Id: I938c4b6a5a44ca5792f5eeaaa946cc9fb27e1110
  20. 18 Apr, 2013 1 commit
    • David C. Lonie's avatar
      Remove the MathTextActor classes. · d978780f
      David C. Lonie authored
      * Converted tests to use regular TextActors.
      * Fixed the MathText path generator to rotate paths if needed.
      * Update the GL2PS text export code to check for mathtext
        strings, since mathtext/freetype are both handled by the same
      * Made vtkTextRenderer::DetectBackend public so we can peek at
        the backend from the export code.
      Change-Id: I52ba3c1e916c70dd80b67d59b611db1becb0846c
  21. 25 Mar, 2013 1 commit
    • David C. Lonie's avatar
      Restore ability to scale gl2ps linewidth/pointsize. · 6643a930
      David C. Lonie authored
      The functions:
      static void vtkGL2PSExporter::SetGlobalLineWidthFactor(float);
      static void vtkGL2PSExporter::SetGlobalPointSizeFactor(float);
      were removed during the GL2PS rewrite. This patch restores the
      functionality by adding LineWidthFactor and PointSizeFactor ivars to
      vtkGL2PSExporter and the associated setters:
      void vtkGL2PSExporter::SetLineWidthFactor(float)
      void vtkGL2PSExporter::SetPointSizeFactor(float)
      These attributes are specific to the vtkGL2PSExporter instances, while
      the old implementation stored them in global variables.
      A vtkOpenGLGL2PSHelper is added to RenderingOpenGL that fakes the
      GL2PS function calls needed to update line width, point size, and
      stipple state. The public static methods are called from the rendering
      code when the GL state is changed to inform GL2PS of the change. The
      vtkOpenGLGL2PSHelper class is used to update GL2PS without introducing
      a dependency on vtkgl2ps to vtkRenderingOpenGL.
      The TestContextGL2PS unit test is modified to ensure that 1.0 scaling
      factors are used.
      The vtkGL2PSContextDevice::StippleOn was not used, and is removed in
      this commit.
      Change-Id: Ia367211848f69ffdb093fceeb9baa029435a20d0
  22. 22 Mar, 2013 1 commit
    • Utkarsh Ayachit's avatar
      Fix OpenGL include dependency. · ad146c5d
      Utkarsh Ayachit authored
      This reverts commit 35a3e376.
      Instead of adding OPENGL_INCLUDE_DIR to every module that depends on
      vtkRenderingOpenGL, we add OPENGL_INCLUDE_DIR as one of the
      vtkRenderingOpenGL_INCLUDE_DIRS. That way, any module depending on
      vtkRenderingOpenGL will automatically know where to find gl.h since gl.h is
      needed by the header files for classes in vtkRenderingOpenGL.
      Change-Id: I6675c2b522e15b3fc6f7a80c28f91c56660b671e
  23. 01 Feb, 2013 1 commit
    • David C. Lonie's avatar
      Replace vtkFreeType(Tools|Utilities) with vtkTextRenderer. · 3b3130eb
      David C. Lonie authored
      This patch replaces most of the remaining calls to the vtkFreeType
      text rendering classes with equivalents that go through the
      vtkTextRenderer layer. Most of these were used to calculate bounding
      boxes for text actors, which would be incorrect if the text actor was
      rendering math text.
      Also removed a few unneeded headers and mentions of vtkFreeType.
      Change-Id: Iddf7d84dbf46c30774baf96d32edd07b6da77031
  24. 25 Jan, 2013 1 commit
    • Utkarsh Ayachit's avatar
      Moving vtkTestingObjectFactory.cmake to ${VTK_SOURCE_DIR}/CMake. · c2eeaa2d
      Utkarsh Ayachit authored
      This makes it easier for external applications attempting to use
      vtkTestingObjectFactory since they don't require the
      vtkTestingRendering_SOURCE_DIR to set anymore (which won't even when the
      vtkTestingRendering module has been successfully imported.
      Change-Id: I14795bbe0f9d71d41da14c970ba49bdb8e11a913
  25. 03 Dec, 2012 1 commit
    • Dave DeMarle's avatar
      Give OpenGL include directory to everything that needs it. · 35a3e376
      Dave DeMarle authored
      For example vtkGL2PSExporter.cxx includes vtkOpenGLRenderWindow.h,
      which includes vtkOpenGL.h which includes GL/gl.h.
      When that isn't on the system include path, as in cross compilation for
      a supercomputer an using pure OSmesa compilation will fail.
      Change-Id: Ic0fa1870009c6013ad30dbb938707ba4735f1ed3
  26. 25 Oct, 2012 1 commit
  27. 23 Oct, 2012 1 commit
    • David C. Lonie's avatar
      Cleanup the GL2PS export private API. · c8dc3927
      David C. Lonie authored
      * Make the render window accessible from within GL2PSUtilities during
      * Move Draw3DPath from GL2PSExporter to GL2PSUtilities.
      * Minor changes to private API function arguments.
      * Generalize code for projecting points from world coordinates to GL2PS
        device space.
      Change-Id: I358b5e0bfeb7bedee5565a0855dcbba913ecc558
  28. 19 Oct, 2012 1 commit
  29. 04 Oct, 2012 3 commits
  30. 02 Oct, 2012 1 commit
    • David C. Lonie's avatar
      Sync with svn version of gl2ps. · 13ddc51b
      David C. Lonie authored
      Recent modifications to our bundled gl2ps library have been merged
      The modification that disabled writing a timestamp has been removed,
      as the timestamp will no longer break tests. The associated API in
      vtkGL2PSExporter (which was new) has been removed.
      Change-Id: Ic26eeabf84ad8a46bada6d9eb192455fe7c672a6
  31. 01 Oct, 2012 1 commit
    • David C. Lonie's avatar
      Add new GL2PS testing system using ghostscript. · 870dd114
      David C. Lonie authored
      This commit replaces the md5sum based GL2PS tests, which were
      unreliable across GL implementations and difficult to maintain,
      with a ghost script based approach.
      Testing is performed as follows:
      1) The unit tests generate a post script file
      2) A CMake script, CMake/RasterizePostScript.cmake is called, which
         runs ghostscript to rasterize the postscript file into a png image.
      3) A PNGCompare test is called, which uses new API in vtkTesting to
         read the png file back in and perform a fuzzy image diff. PNGCompare
         lives in the Rendering/GL2PS module.
      Change-Id: I0e99b903512166741fe572ce417c1d0d480c34cd
  32. 29 Sep, 2012 1 commit
    • David Gobbi's avatar
      Deprecate vtkColor::Red() getter in favor of GetRed() etc. · 5766dc1d
      David Gobbi authored
      The Red(), Green(), Blue() methods don't follow the usual naming pattern.
      If future wrappers see SetRed() and GetRed() methods, they can infer
      the existence of a property called "Red", but if a method called "Red()"
      already exists, this creates an ambiguity that the wrappers will have
      to deal with if they do property-based wrapping.
      Change-Id: I8a5fa13074512bf7b06e353a5fa7b73efe6ce039
  33. 13 Aug, 2012 1 commit
  34. 09 Aug, 2012 1 commit
    • Brad King's avatar
      Declare a "TCL_NAME" for modules named with digits · a9a87512
      Brad King authored
      Tcl does not support packages with digits in their names.  We map module
      names containing digits to alternative names for Tcl packages.
      Generalize the existing hard-coded mappings to use a per-module declared
      "TCL_NAME" instead.  Add a mapping for vtkIOXdmf2 -> vtkIOXdmfII.
      Change-Id: I2a6d708eadd746191a77b5efdd1a4385dad73810
  35. 03 Aug, 2012 2 commits
  36. 31 Jul, 2012 1 commit
    • David C. Lonie's avatar
      Update vtkGL2PSExporter, add Rendering/GL2PS module · 82e58fc1
      David C. Lonie authored
      * Fixed bitmap rasterization.
      * Added ability to exclude specific 3D props from the rasterization
        process, if enabled.
      * Improved support for text rendering.
      * Added method to vtkRenderWindow to collect all visible
        vtkActor2D objects that are vtk[Math]TextActors or use a
      * Add support for Context2D drawings
      * Add CMake/CompareFileMD5.cmake script to compare postscript files
      * Remove old GL2PSExporter python test
      * Modify gl2ps sources to disable writing timestamps (prevents
        useful MD5 hashing for regression tests)
      * A static string is used as the image title by default.
      * Add vtkGL2PSUtilities, a collection of static functions that
        interact with GL2PS to render vtk objects.
      * Add a gl2psGetFileFormat() function to the bundled gl2ps library.
      Change-Id: Ia6fafc8e4d0a49bd9fdbecf32f43925a0aab7050