1. 07 Aug, 2012 1 commit
    • Brad King's avatar
      Do not reference VTK_(SOURCE|BINARY)_DIR from module tests · a6393ad6
      Brad King authored
      The module Testing directories may not refer to VTK_SOURCE_DIR or
      VTK_BINARY_DIR directly since they need to build under the
      Testing/External project outside of VTK.  Since commit 13e19ed9 (Define
      VTK_TEST_OUTPUT_DIR to name Testing/Temporary directory, 2012-04-10) all
      module Testing directories must use VTK_TEST_OUTPUT_DIR to reference
      Testing/Temporary.  Reference the CompareFileMD5.cmake script using a
      relative path within the VTK source tree.
      
      Change-Id: Ia84e16ff246c5b6b0a05ae1e7e0467a0197e241a
      a6393ad6
  2. 06 Aug, 2012 1 commit
  3. 04 Aug, 2012 1 commit
  4. 03 Aug, 2012 2 commits
  5. 01 Aug, 2012 5 commits
  6. 31 Jul, 2012 8 commits
    • David C. Lonie's avatar
      Add a GL2PS special case for vtkTextActor3D. · 564112e2
      David C. Lonie authored
      This implements a vtkFreeTypeTools::StringToPath method that
      generates path data describing the outline of a rendered text
      string. This path gets transformed to match the vtkTextActor3D's
      appearance, then projected into 2D and drawn to the GL2PS buffer.
      
      Change-Id: I2513a9d03799f290688624dd09f419def03e2996
      564112e2
    • David C. Lonie's avatar
      Add a vtkMatplotlib module. · c2f54b97
      David C. Lonie authored
      * Isolates python dependency away from MathText
      * Adds tests for MathText functionality.
      
      Change-Id: Ib0f87248e7f73ead5d1904b72e7053537907bfd1
      c2f54b97
    • 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
        vtkTextMapper.
      * 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
      82e58fc1
    • David C. Lonie's avatar
      Add vtkMathTextActor3D for rendering equations in 3D space. · cbecf3d6
      David C. Lonie authored
      Change-Id: If11d17e914b1af5607237f7c6e8b08bd97aee29b
      cbecf3d6
    • David C. Lonie's avatar
      Add vtkMathTextActor for rendering equation overlays. · a7a7c25a
      David C. Lonie authored
      Change-Id: I02b4376726ba87d2d6bedffc9ac67d56d5066c34
      a7a7c25a
    • David C. Lonie's avatar
      Add MathText drawing functionality to Context2D classes. · f16724a2
      David C. Lonie authored
      Change-Id: I1168be82fb0a1f5d9a2a08c86801531945f867dc
      f16724a2
    • David C. Lonie's avatar
      Add API to generate vtkPath data and colored images from MathText. · a50a557c
      David C. Lonie authored
      * Add API to produce a vtkPath representing contours of math text.
      * The vtkMathTextUtilities API now accepts vtkTextProperties to
        set colors, font size, etc.
      * Make MathTextUtilities abstract (The matplotlib module overrides
        this class in a later commit)
      * Remove python dep from vtkMathText.
      
      Change-Id: Id4d9fb91be831673d13b865802c24f230f263820
      a50a557c
    • Brad King's avatar
      Python: Remove POSIX feature macro 'undef' workarounds · 0c8d479c
      Brad King authored
      Inclusion of "Python.h" defines POSIX feature macros to tell system
      headers what features it needs.  These may include macros such as
      
       _LARGEFILE_SOURCE
       _POSIX_C_SOURCE
       _POSIX_THREADS
       _THREAD_SAFE
       _XOPEN_SOURCE
      
      Definition of any feature macro before including "Python.h" produces
      macro re-definition warnings in the Python headers.  System headers
      often define default feature macros, so include order is important.
      
      VTK has made many attempts to work around re-definition warnings by
      "#undef"-ing feaure macros it expectes "Python.h" to define:
      
       commit 942a90eb (Remove warning when posix threads is defined, 2003-05-13)
       commit 631e400b (Fix the order of including for sun to compile, 2003-06-24)
       commit 76e6536e (Python2.3 requires this order of includes to compile, 2003-08-27)
       commit b203dfbc (fix for aix include file ordering, 2004-01-20)
       commit e7efd0df (Another attempt to fix Python.h macro conflicts, 2004-01-21)
       commit 082885d3 (Work-around for _POSIX_C_SOURCE redefinition warning, 2007-02-05)
       commit 0a9b0246 (fix redefinition in vtkParaPythonAppInit.cxx, 2010-09-20)
       commit 00374dad (Another attempt to fix vtkPython.h redefinitions, 2010-09-21)
       commit ea3fd719 (Revert the attempt to avoid redefinition warnings, 2010-09-21)
       commit b8d913a3 (vtkPython - Undefine _XOPEN_SOURCE to avoid redefinition warning, 2011-06-16)
       commit 0731d79e (Add vtkPythonConfigure.h with python-related config info, 2011-07-06)
       commit 7dbefe0b (Rearrange vtkPython.h, add more undef's to fix warnings, 2011-07-07)
      
      but this leads to inconsistent feature definitions if some system
      headers are included before such workarounds and others after them.
      
      The Python documentation clearly states the proper approach:
      
       "Since Python may define some pre-processor definitions which
        affect the standard headers on some systems, you must include
        Python.h before any standard headers are included."
       (http://docs.python.org/c-api/intro.html#include-files)
      
      Drop all previous workarounds.  Include "vtkPython.h" prior to any
      system header in all translation units that need Python.
      
      Change-Id: Ibabd60c0b40163a92659e7003827c1a09bfae770
      0c8d479c
  7. 30 Jul, 2012 2 commits
  8. 26 Jul, 2012 1 commit
  9. 22 Jul, 2012 1 commit
  10. 19 Jul, 2012 2 commits
    • Bill Lorensen's avatar
      BUG: Modules missing membership in StandAlone or Rendering. · 453a2f95
      Bill Lorensen authored
      The StandAlone + Rendering groups should contain what was in VTK
      before modularization without turning on additional flags.
      
      The StandAlone group is a special group of all modules that need no
      external dependencies, such as Boost, MPI, etc. It does include
      modules that rely on third party libraries VTK can build (by
      default). It DOES NOT include modules that depend on OpenGL. Those
      modules are in the Rendering group.
      
      Several modules that meet the above criteria for membership in the
      StandAlone group did not specify their membership via the GROUPS
      StandAlone property. Also, several modules were missing from the
      Rendering group.
      
      This topic was verified by building the VTK Wiki Examples:
      http://www.vtk.org/Wiki/VTK/Examples/Cxx against an installed VTK that
      was built with only the StandAlone and Rendering properties enabled.
      
      Change-Id: I8bbca22f44c087b0cbe9ff92ee2819a292b43da5
      453a2f95
    • Kyle Lutz's avatar
      Add support for surface scalar opacity functions · 01b2767b
      Kyle Lutz authored
      This adds support for specifying a scalar opacity function
      to the vtkDiscretizableColorTransferFunction class. This allows
      for surface rendering the maps scalar values to RGBA colors
      instead of just opaque RGB colors.
      
      Change-Id: Iffd72a8b4ce26546f81ab4be1103dd5c9129a04d
      01b2767b
  11. 17 Jul, 2012 1 commit
    • Zsolt Janko's avatar
      vtkRenderWindow: ability to use the same offsets at focal depth rendering. · f015acd0
      Zsolt Janko authored
      The random offsets in vtkRenderWindow::DoFDRender() add a very annoying
      vibration to focal depth rendering. Let's say we would like to create a simple
      video of moving the focal point smoothly from a frontal object to an object in
      the background. At the beginning the frontal object is sharp, the background is
      blurred, while at the end it is swapped. It should be easily done in VTK by
      focal depth rendering and changing only the distance of the focal point. But
      due to the fact that for each rendered frames new random offsets are calculated
      for radius and angle ( in vtkRenderWindow::DoFDRender() ), the result is a
      vibrating camera.
      
      More simply: when focal depth rendering is turned on, each rendering yields
      a different image, even if camera and scene do not change at all.
      
      vtkRenderWindow is now modified: a new ivar is added to be able to select
      constant offsets. Constant offsets are calculated when FDFrames changes. We can
      decide to use constant offsets or not. Default is not using.
      
      Change-Id: Id2bf0e75d4ca0f4b90f03efa08fa0d3a623011b8
      f015acd0
  12. 13 Jul, 2012 2 commits
    • Sebastien Jourdain's avatar
      Add testing for new cube axes features · ce1f4851
      Sebastien Jourdain authored
      Change-Id: I4cee86ed091af917d8a074cdcd931f14b2e156a6
      ce1f4851
    • Jeff Baumes's avatar
      Divided edge bundles and new graph rendering · 78394087
      Jeff Baumes authored
       - Added vtkBoostDividedEdgeBundling which computes edge
         control points based on a graph that already has vertex
         positions.
      
       - Added interactivity to vtkContextTransform to support
         pan/zoom.
      
       - Added vtkMarkerUtilities to generate marker images.
      
       - Added a vtkGraphItem for rendering, which I use in the
         divieded edge bundling test.
      
       - Added a convenience method to vtkTransform2D to extract
         the x and y scale from a transform.
      
      Change-Id: I9008323f917f2c5207a3f101d4e36342b4cad032
      78394087
  13. 12 Jul, 2012 2 commits
  14. 11 Jul, 2012 1 commit
  15. 10 Jul, 2012 3 commits
  16. 09 Jul, 2012 2 commits
    • Sebastien Jourdain's avatar
      Fix label position · 75623218
      Sebastien Jourdain authored
      Labels are positioned based on one of the major tick line point. They use to be based on the wrong one, just swap them.
      
      Change-Id: Ib06eeec699ed7ba004ef767db959f020d923d3cc
      75623218
    • Sebastien Jourdain's avatar
      Fix 2D cube axes · b5ac3a8b
      Sebastien Jourdain authored
      Change-Id: I478e512262ff0928c1b9055e30c705d406fc5525
      b5ac3a8b
  17. 06 Jul, 2012 1 commit
  18. 05 Jul, 2012 1 commit
  19. 02 Jul, 2012 1 commit
  20. 29 Jun, 2012 1 commit
  21. 27 Jun, 2012 1 commit