1. 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
  2. 22 Jul, 2016 1 commit
  3. 18 Jul, 2016 1 commit
    • Mathieu Westphal's avatar
      Correcting Frame in TextActor · a9526177
      Mathieu Westphal authored
      The first Frame implementation in vtkTextActor
      was incorrect and did not took into account
      all transformation possibilities of the text.
      This new implementation use the same abstraction of the background
      always drawing the frame in the right place for FreeType
      For matplot lib the implementation is working but, since
      there is no padding supported yet, the Frame will blend with the text
      instead of being around the text.
      a9526177
  4. 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
  5. 06 Apr, 2016 1 commit
  6. 08 Mar, 2016 1 commit
  7. 27 Jan, 2016 1 commit
  8. 26 Jan, 2016 1 commit
  9. 19 Jan, 2016 1 commit
  10. 18 Jan, 2016 2 commits
    • David C. Lonie's avatar
      Support GL2PS export of text classes. · 28b15d54
      David C. Lonie authored
      Covers TextActor, TextActor3D, TextMapper, and anything else
      that uses them internally.
      28b15d54
    • David C. Lonie's avatar
      Clean up GL2PS testing infrastructure. · 4ea1b26d
      David C. Lonie authored
      - Read file metadata for bounding box rather than running
        ghostscript. Ghostscript calculates a tight bounding box that
        treats white as transparent; thus, many of the rasterized
        files with white backgrounds ended up being differently sized
        when the contents changed. This required updating many
        baselines.
      - Several mathtext baselines were updated, it appears the 'space'
        glyph was changed to be a bit wider.
      - Centralize the code to rasterize/verify postscript files to
        CMake/vtkTestingGL2PS.cmake.
      4ea1b26d
  11. 14 Jan, 2016 1 commit
  12. 22 Sep, 2015 1 commit
    • David Gobbi's avatar
      Wrap many more classes with python. · e6f75b9a
      David Gobbi authored
      This makes the python wrappers ignore WRAP_EXCLUDE, and instead use
      the new property WRAP_EXCLUDE_PYTHON that excludes fewer classes.
      The WRAP_SPECIAL flag, which used to act as a whitelist for python,
      has been removed.
      
      Because this change causes classes to be wrapped in python by default,
      some third-party VTK packages might break until they modify their own
      CMakeLists.txt files to add WRAP_EXCLUDE_PYTHON where necessary.
      e6f75b9a
  13. 18 Jul, 2015 1 commit
  14. 29 Jun, 2015 1 commit
    • David C. Lonie's avatar
      Defer matplotlib initialization for text rendering. · bdf3b4c2
      David C. Lonie authored
      Rather than querying for matplotlib when
      vtkMatplotlibMathTextUtilities is constructed, check only when
      the library is needed. This saves some start up time for e.g.
      ParaView when mathtext is not used.
      
      Some additional changes are required due to a change in behavior:
      vtkMatplotlibMathTextUtilities::New() used to return NULL when
      matplotlib was not found to signal that mathtext was unavailable.
      The vtkMathTextUtilities::IsAvailable() virtual method has been
      added to allow querying of the availability, now that New() can
      return a valid object when matplotlib is unavailable.
      bdf3b4c2
  15. 14 May, 2015 1 commit
  16. 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
  17. 25 Mar, 2015 1 commit
    • David C. Lonie's avatar
      Improve appearance of small-sized mathtext. · f5ee8c17
      David C. Lonie authored
      The alpha mask returned by Matplotlib for mathtext renderings
      appears very dim when font size is small.
      
      This patch uses the same trick in MatplotlibMathTextUtilities
      as FreeTypeTools, which doesn't blend RGB values when the
      background alpha == 0. This gives a bolder appearance to the
      text, like it was before the text background color options
      were added.
      
      Also clamped the tprop opacity setters to [0., 1.] and updated
      a baseline that had small mathtext.
      f5ee8c17
  18. 16 Feb, 2015 1 commit
    • Sean McBride's avatar
      Reverse order of AND statements · 5da80674
      Sean McBride authored
      cppcheck warned because the later check involved an
      index that’s used in the earlier check.  That could
      easily be backwards if the index is not in range
      without the check happening first.
      
      Change-Id: Iaa79b07bb1eccd51db5e27252ab83d39f8e8b2f2
      5da80674
  19. 14 Jan, 2015 3 commits
  20. 18 Dec, 2014 1 commit
  21. 16 Oct, 2014 3 commits
  22. 01 Oct, 2014 1 commit
  23. 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
  24. 07 Aug, 2014 1 commit
    • Shawn Waldon's avatar
      Add a smartpointer for PyObjects · f9a208d6
      Shawn Waldon authored
      This refactors the SmartPyObject class from a local class in
      vtkMatplotlibMathTextUtilities.cxx to be externally visible.  This class
      is duplicated several places in Paraview and this refactor will allow
      code to be shared between all places that need it.  It is added to the
      vtkWrappingPythonCore module as the vtkSmartPyObject class.
      
      This commit also refactors the vtkPythonAlgorithm to use the new smart
      pointer.
      
      This commit is part of a change to ParaView and thus the topic name
      reflects that change and not the change to VTK.
      
      Change-Id: If3f0387bb7bb24f823dbe690e64a0a8bb1e0df16
      f9a208d6
  25. 09 Jul, 2014 1 commit
  26. 21 Jun, 2014 1 commit
    • Marcus D. Hanwell's avatar
      Now generate the object factory files in a function · cc8d1471
      Marcus D. Hanwell authored
      This moves the logic for object factory override generation to a
      central function, and removes lots of copy/paste code in our CMake.
      Also removed/retired the OpenGL2 object factory stomping variation
      as it is no longer needed and could produce unwanted side effects.
      
      Change-Id: I4a5ee2db76f73d57eded1d9a9240cefc4918cd74
      cc8d1471
  27. 20 Jun, 2014 1 commit
  28. 18 Jun, 2014 1 commit
  29. 06 May, 2014 1 commit
  30. 16 Apr, 2014 2 commits
  31. 07 Jan, 2014 1 commit
    • Bill Lorensen's avatar
      COMP: Test driver array bounds error · 2808d60d
      Bill Lorensen authored
      Some compilers report "array subscript is above array bounds" while
      compiling vtkRenderingMatplotlibCxxTests. This occurs when
      Module_vtkRenderingMatplotlib:BOOL=ON but Matplotlib is not found or
      VTK_GHOSTSCRIPT_EXECUTABLE is not defined. In this case, there are no
      tests defined, but the test driver is still built.
      
      Rather than change CMake, this patch adds an informative dummy test.
      
      Change-Id: I3f1d6ed2453d33d113f165fc9552f18d2cc4906f
      2808d60d
  32. 02 Jan, 2014 1 commit