1. 10 Nov, 2016 1 commit
    • Ken Martin's avatar
      Remove the old FBO compatability Code · 57bd525c
      Ken Martin authored
      The prior commit contains the merging of the FBO and
      FBO2 functionality. This commit removes a fair amount of
      the old FBO functionality to keep the API clean and encourage
      people to use FOs in a consistent manner.
      57bd525c
  2. 05 Oct, 2016 1 commit
  3. 23 Sep, 2016 2 commits
    • Kitware Robot's avatar
      Reindent using the reindentation script. · f830ff47
      Kitware Robot authored
      This commit reindents the code with the following utility:
      Utilities/Maintenance/vtk-reindent-code.py
      
      This utility changes the positions of the braces so that they are no
      longer indented relative to the code block they reside in.
      
      The bash command line used was the following:
      
      for d in Charts Common Deprecated Domains Examples Filters GUISupport \
               Geovis IO Imaging Infovis Interaction Parallel Rendering \
               Testing Views Web Wrapping; do
        for e in cxx cxx.in txx txx.in hxx hxx.in h h.in c c.in; do
          find "${d}" -name "*.${e}" -exec \
            python Utilities/Maintenance/vtk_reindent_code.py {} +
        done
      done
      f830ff47
    • David E. DeMarle's avatar
      replace VTK's nonstandard Doxygen with standard markup · 6a7e5148
      David E. DeMarle authored
      generated via:
      cd $VTKSRC
      perl Utilities/Doxygen/doc_header2doxygen.pl --to ~/tmp/vtkheaders .
      cp -r ~/tmp/vtkheaders/* .
      6a7e5148
  4. 20 Sep, 2016 1 commit
  5. 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
  6. 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
  7. 05 Jul, 2016 1 commit
  8. 25 May, 2016 1 commit
    • Kitware Robot's avatar
      Remove all BTX and ETX markers from VTK headers · 4d127b1d
      Kitware Robot authored
      Perl was used to remove all the BTX and ETX markers from the code.
      The specific command that was run on all "vtk*.h" files was this:
          perl -0777 -i -pe 's/(\n* *\/\/ *[BE]TX *\n+)+/\n\n/g'
      
      This regex replaces each BTX/ETX line, plus any leading or trailing
      blank lines, with a single blank line.
      4d127b1d
  9. 23 Mar, 2016 1 commit
    • David E. DeMarle's avatar
      Allow backend agnostic render passes. · de7ea53b
      David E. DeMarle authored
      Promoting RenderPass and thus FrameBufferObject and RenderState to
      Rendering Core allows other modules to define RenderPasses that are
      are independent of RenderingBackend choice.
      de7ea53b
  10. 08 Mar, 2016 1 commit
  11. 08 Feb, 2016 1 commit
  12. 04 Nov, 2015 1 commit
  13. 02 Nov, 2015 2 commits
  14. 09 Oct, 2015 2 commits
    • Utkarsh Ayachit's avatar
      BUG #15763: Avoid modifying camera when it hasn't changed. · 76c118c0
      Utkarsh Ayachit authored
      Fixes BUG #15763. The bug was caused because different ranks in ParaView
      made mismatching decision about whether to the HardwareSelector needed
      to re-render for the selection. This bug was causing the server side
      camera to always be modified since it would always create and set new
      vtkMatrix4x4 instances whenever the cameras were synchronized between
      ranks. Fixed not doing that and instead using API on vtkMatrix/vtkCamera
      that calls Modified() only when things truly change.
      76c118c0
    • Ken Martin's avatar
      Add android vr example and fixes to support it · c8fd8f3e
      Ken Martin authored
      This topic adds a volume rendering example to android builds.  It also
      fixes a number of issues to make it work with android including on
      Samsung devices which have a different OpenGL driver.
      
      VR use of 1D textures have been replaced with 2D textures as
      1D textures are not supported on OpenGL ES.
      
      Some minor build inprovements are included as well.
      c8fd8f3e
  15. 07 Oct, 2015 1 commit
  16. 01 Oct, 2015 1 commit
  17. 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
  18. 18 Sep, 2015 1 commit
    • Ken Martin's avatar
      Fix two issues exposed by a failing test in PV · 9e204b10
      Ken Martin authored
      First projected tet in the OpenGL2 backend had a opacity calc
      that was incorrect. Fixed that.
      
      Second SynchromizedRenderers was assuming the blend function was
      correct for OpenGL2 when it was not.
      9e204b10
  19. 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:
      
      include(vtkOpenGL)
      vtk_opengl_link(${module})
      
      for every ${module} that uses OpenGL. This takes care of include directories and
      linking of proper libraries.
      f09903e4
  20. 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
  21. 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
  22. 10 Jul, 2015 1 commit
  23. 09 Jul, 2015 2 commits
    • Sean McBride's avatar
      Replace VTKGL2 define with VTK_OPENGL2 · 51f1fbee
      Sean McBride authored
      Previously both existed and had the same meaning.
      Now they are unified.
      51f1fbee
    • Ben Boeckel's avatar
      vtkOpenGLRenderUtilities: move Render{Quad,Triangle} · bba39d5b
      Ben Boeckel authored
      These methods cause vtkOpenGLRenderWindow to include vtk_glew.h (for
      GLuint) which must be included before gl.h to work properly. Since this
      header gets included in many places, move the affected methods to
      another class rather than forcing all users to do the proper inclusion
      order dance.
      bba39d5b
  24. 10 Jun, 2015 1 commit
  25. 01 Jun, 2015 2 commits
    • Ken Martin's avatar
      More cleanups · f1535309
      Ken Martin authored
      vtkgl::CellBO renamed vtkOpenGLHelper
      vtkgl::substitute moved to vtkShaderProgram::Substitute
      Creation of vtkOpenGLIndexBufferObject
      Creation of vtkOpenGLVertexBufferObject
      Move methods that were in vtkglVBOHelper into new classes
      Move IndexCount from CellBO to vtkOpenGLIndexBufferObject
      etc
      f1535309
    • Ken Martin's avatar
      Clenup some OpenGL2 code · 37f39403
      Ken Martin authored
      As we get closer to a next VTK release, make sure this is
      fairly clean or at least cleaner than it was.
      37f39403
  26. 01 May, 2015 1 commit
    • Ken Martin's avatar
      Make VTK work with OpenGL 3.2 Core · b8a4007f
      Ken Martin authored
      Lots of changes to make VTK work with both 2.1 and 3.2 versions
      of OpenGL. The main differences in OpenGL 3.2 are that the
      following features no longer are supported
      
      intensity textures - recoded to use red
      luminanace textures - recoded to use red
      line stipple - vtk error macro
      querying extensions in one string - replaced with multiple calls
      pixel transfer bias and scale - recoded to be done in the shader
      glPush and PopAttrib - recoded to get and set instead
      texelFetchBuffer - defined to texelFetch
      txture1D - defined to texture
      texture3D - defined to texture
      b8a4007f
  27. 06 Apr, 2015 1 commit
  28. 01 Apr, 2015 1 commit
  29. 25 Mar, 2015 1 commit
  30. 18 Dec, 2014 1 commit
  31. 13 Dec, 2014 1 commit
    • Ken Martin's avatar
      Fix some release graphics resource issues · 5c1c4b19
      Ken Martin authored
      ParaView IceT does a WindowRemap when using tile display. That
      means everythgin has to work with a new window/context so it
      identifies a bunch of release graphics resource issues. This
      patch fixes a bunch of them. Mostly minor changes the one
      large change is to make ReleaseGraphicsResources in Renderer
      public like it is for every other class. This is the way it
      should be and the original protected method was a mistake from
      way way back.  Making it public save us from doing the
      
      SetRenderWindow(NULL)
      SetRenderWindow(this)
      
      hack that we have been using to free up resources in the
      renderer since we could nto call the protected method.
      
      Change-Id: If31406fa9425417d240311aac110c82409637163
      5c1c4b19
  32. 10 Dec, 2014 2 commits
  33. 09 Dec, 2014 1 commit