1. 08 Sep, 2015 1 commit
    • Dan Lipsa's avatar
      BUG: OSMESA configuration flags can cause link errors. · 3b6810ff
      Dan Lipsa authored
      This fixes:
         VTK_OPENGL_HAS_OSMESA on
         VTK_USE_X             on
         caused link errors in Rendering/OpenGL as some of the cxx
         files contained code ifdef using VTK_OPENGL_HAS_OSMESA instead of
         VTK_USE_OSMESA
      
      In the past, one could link against both MESA and OSMESA and use OSMESA only
      for off-screen rendering. In recent versions of MESA this is not the case anymore.
      3b6810ff
  2. 20 Aug, 2015 1 commit
    • 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. 22 Jul, 2015 1 commit
    • 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. 14 May, 2015 1 commit
  5. 06 May, 2015 1 commit
  6. 09 Apr, 2015 1 commit
  7. 06 Apr, 2015 1 commit
  8. 09 Feb, 2015 1 commit
    • Chris Harris's avatar
      Wait for resize notification in SetSize(...) · 39fedcd6
      Chris Harris authored
      Calling XSync(...) is not enough. This causes a timing issue
      went SetSize(...) is called following be a Render(...). In
      Render(...) the window is queried for the window size which
      will not have be resize yet so we get the old size! ( seen
      particularly in vtkWeb ). Add loop to wait for ConfigNotify
      event with the new size.
      
      Change-Id: I72d34cae16215b6887467496df23d7a8e0bdcd37
      39fedcd6
  9. 09 Sep, 2014 1 commit
  10. 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
  11. 28 Oct, 2013 1 commit
    • Ben Boeckel's avatar
      Abort when DISPLAY isn't valid · 1d1fb483
      Ben Boeckel authored
      There's not much else to do. There's no return and making the
      RenderWindow a zombie object isn't any better. Throwing an exception
      isn't good either since nothing else throws exceptions around here.
      
      Change-Id: I4cd36c6ba833f02471764b18e7700796735f6a7a
      1d1fb483
  12. 13 Feb, 2013 1 commit
  13. 03 Feb, 2013 1 commit
  14. 30 Jan, 2013 1 commit
  15. 04 Dec, 2012 1 commit
  16. 20 Nov, 2012 1 commit
    • Joachim Pouderoux's avatar
      Add bool IntializeFromCurrentContext() method to vtkRenderWindow. · 2eb0792e
      Joachim Pouderoux authored
      This new method allows to associate a vtkRenderWindow to an existing
      and currently activated OpenGLContext. The window and associated ids
      are fetched by analyzing the context properties.
      For now, the implementation has been successfully tested on
      Windows & Linux.
      This new method is used to initialize a RenderWindow from a Java SWT
      GLCanvas component.
      
      Change-Id: Ia08b7df58a964a93c265d89ebe7b1316e605ee10
      2eb0792e
  17. 09 Apr, 2012 2 commits
    • VTK Developers's avatar
      Remove trailing whitespace from all source files · 2d323fc4
      VTK Developers authored
      Exclude ThirdParty, Utilities/MetaIO, and Utilities/KWSys as these
      are maintained outside VTK.
      
      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>
      2d323fc4
    • 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
  18. 29 Mar, 2012 1 commit
  19. 20 Jul, 2011 1 commit
    • David Gobbi's avatar
      BUG: Set renderer's RenderWindow to NULL in RemoveRenderer. · 4720d22a
      David Gobbi authored
      Without this fix, Renderer::GetRenderWindow() returns a dangling pointer
      after vtkRendererer::RemoveRenderer() is called.  This patch also modifies
      the destructors of the RenderWindow subclasses so that they all use the
      same code block to call SetRenderWindow(NULL) on all renderers, and adds
      a check to the vtkRenderWindow destructor to ensure that subclass has
      removed the dangling pointer.
      
      Change-Id: Icbf35cb2e6628b67202620d3dcf562d9f0b48e7d
      4720d22a
  20. 09 May, 2011 1 commit
  21. 20 May, 2010 1 commit
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · ecbbf7f7
      Mark Olesen authored
      The CVS $Revision$ keyword replacement will no longer maintain these
      macros automatically.  They were used only to implement CollectRevisions
      and vtkObjectBase::PrintRevisions, an API that was never used.
      
      Automated as follows:
      
        pass 0:
        catch templates
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' | grep '<'
      
        pass 1:
        main changes
        ---------------
        $ git grep -l '^vtkCxxRevisionMacro' | while read file; do
          echo "$file" 1>&2
          perl -i -ne 'print unless (/^vtkCxxRevisionMacro/ and /\)/)' $file
        done
        $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do
          echo "$file" 1>&2
          perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file
        done
      
        pass 2:
        verify
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro'
      
      Fixed multi-line vtkCxxRevisionMacro and templates by hand.
      ecbbf7f7
  22. 23 Apr, 2010 1 commit
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · 19c55e0e
      Mark Olesen authored
      The CVS $Revision$ keyword replacement will no longer maintain these
      macros automatically.  They were used only to implement CollectRevisions
      and vtkObjectBase::PrintRevisions, an API that was never used.
      
      Automated as follows:
      
        pass 0:
        catch templates
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' | grep '<'
      
        pass 1:
        main changes
        ---------------
        $ git grep -l '^vtkCxxRevisionMacro' | while read file; do
          echo "$file" 1>&2
          perl -i -ne 'print unless (/^vtkCxxRevisionMacro/ and /\)/)' $file
        done
        $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do
          echo "$file" 1>&2
          perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file
        done
      
        pass 2:
        verify
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro'
      
      Fixed multi-line vtkCxxRevisionMacro and templates by hand.
      19c55e0e
  23. 20 Apr, 2009 1 commit
  24. 13 Apr, 2009 1 commit
  25. 12 Mar, 2009 1 commit
  26. 09 Mar, 2009 1 commit
    • Francois Bertel's avatar
      BUG:GetDisplayId() had the side effect (and side effects are bad) to open a... · 67893172
      Francois Bertel authored
      BUG:GetDisplayId() had the side effect (and side effects are bad) to open a connection to an X server (ie. allocate X resources like an X event queue) if DisplayId was not existing. Notably, a symptom of this side effect was that GetDisplayId() was emitting an error even if the render window was set to render offscreen in a first place with OSMesa and there was no X11 server running.
      67893172
  27. 21 Nov, 2008 1 commit
  28. 20 Nov, 2008 1 commit
  29. 19 Nov, 2008 1 commit
  30. 18 Nov, 2008 1 commit
  31. 17 Nov, 2008 1 commit
  32. 12 Nov, 2008 1 commit
  33. 21 Oct, 2008 1 commit
  34. 18 Oct, 2008 1 commit
    • Karthik Krishnan's avatar
      BUG: Fix Slicer3 bug 174. http://na-mic.org/Bug/view.php?id=174. · 75a01fcb
      Karthik Krishnan authored
           The size of the render window when changed needs to be
           propagated to the render window interactor as well. This
           was done for the Win32 render window, but was missing in the
           X render window. This caused funny problems like widgets not
           responding to picking etc on windows and unix.
      75a01fcb
  35. 21 Jul, 2008 1 commit
  36. 01 Jul, 2008 1 commit
  37. 30 Jun, 2008 1 commit
  38. 13 Feb, 2008 1 commit
  39. 10 Jan, 2008 1 commit