1. 30 Nov, 2017 1 commit
  2. 04 Oct, 2017 2 commits
  3. 10 Aug, 2017 1 commit
    • Max Smolens's avatar
      Fix QVTKOpenGLWidget rendering with disabled interactor · 1b9800b8
      Max Smolens authored
      In QVTKOpenGLWidget, paintGL() assumes that renderVTK() always renders
      something into the framebuffer. However, rendering doesn't occur when
      the vtkRenderWindowInteractor EnableRender flag is disabled. In this
      case, QVTKOpenGLWidget can display the contents of an uninitialized
      framebuffer.
      
      This commit clears the VTK rendering framebuffer upon creation. This
      ensures that paintGL() doesn't blit an uninitialized framebuffer when
      rendering doesn't occur in renderVTK().
      
      One example when the vtkRenderWindowInteractor EnableRender flag would
      be disabled is when an application enforces a specified framerate by
      rendering only when a timer fires, not in response to interaction
      events.
      1b9800b8
  4. 04 Aug, 2017 1 commit
    • Max Smolens's avatar
      Fix picking when using QVTKOpenGLWidget · 056dd9a3
      Max Smolens authored
      Picking both 2D and 3D actors could fail when using QVTKOpenGLWidget.
      This commit fixes picking by ensuring that the framebuffer object that
      VTK renders into is bound at the start picking operations.
      056dd9a3
  5. 29 May, 2017 1 commit
  6. 26 Feb, 2017 1 commit
  7. 10 Jan, 2017 1 commit
  8. 08 Mar, 2016 1 commit
  9. 23 Jul, 2015 1 commit
    • Peter Karasev's avatar
      Merge branch 'master' of gitlab.kitware.com:vtk/vtk into vtkOBJImporter-robustify-and-cleanup · a26dc789
      Peter Karasev authored
      Conflicts:
      	Common/Core/Testing/Python/TestEmptyInput.py
      	IO/Import/vtkOBJImporter.cxx
      	IO/Import/vtkOBJImporterInternals.cxx
      	Rendering/Core/vtkLabeledContourMapper.cxx
      	Rendering/External/vtkExternalOpenGLRenderer.cxx
      	Rendering/External/vtkExternalOpenGLRenderer.h
      	Rendering/OpenGL2/vtkGenericOpenGLRenderWindow.cxx
      	Rendering/OpenGL2/vtkGenericOpenGLRenderWindow.h
      	Rendering/Volume/Testing/Cxx/CMakeLists.txt
      a26dc789
  10. 20 Jul, 2015 1 commit
  11. 29 Apr, 2015 1 commit
  12. 16 Apr, 2014 1 commit
  13. 10 Jun, 2013 1 commit
  14. 05 Jun, 2013 1 commit
    • Jean-Christophe Fillion-Robin's avatar
      COMP 12945: Fix Qt5 specific build error related to vtkQtCxxTests · e4e3dfa7
      Jean-Christophe Fillion-Robin authored
      While commit 384636ec allows VTK libraries to be compiled against Qt5, an
      error preventing the tests from being built on Unix platform has been
      introduced while working on the different revision of the topic:
      
        ../TestQtDebugLeaksView.cxx:20:
        ../qglobal.h:1079:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC or -fPIE."
      
      
      This happened when it has been decided to use:
        VTK_QT_VERSION VERSION_GREATER "4"
      instead of
        VTK_USE_QT5
      
      At that time, the change has been tested doing a clean build on
      windows where the error wouldn't happen.
      
      This commit ensures VTK libraries, tests and examples can be built against
      Qt5.
      
      Finally, note that some of examples have been commented out while
      modularizing VTK. This commit and commit 384636ec are not addressing build
      issue that would occur if re-enabling the missing examples.
      
      Change-Id: Id72588d9f2d9cd9f45b2fe6a07f59513df9fd4c5
      e4e3dfa7
  15. 27 May, 2013 1 commit
    • Jean-Christophe Fillion-Robin's avatar
      COMP 12945: Allow VTK to build against Qt5 · 384636ec
      Jean-Christophe Fillion-Robin authored
      Since VTK build system has been updated to make use of CMake macros
      specific to Qt5, the support has to explicitly enabled configuring VTK
      with -DVTK_QT_VERSION:STRING="5"
      
      Additionally, in case Qt5 is not installed in a standard location,
      a custom prefix for "find_package" should be passed.
      For example:
        -DCMAKE_PREFIX_PATH:STRING=/home/jchris/Qt5.0.2/5.0.2/gcc_64/
      
      
      Finally, this commit also resolves the build errors reported below.
      
      Fix missing header build error by including Qt headers directly without
      specifying the intermediate directory.
      
      * Fix build error changing QString::toAscii into  QString::toLatin
      The method "toAscii" has been deprecated and is not available in
      default Qt5 distribution.
      See http://qt-project.org/doc/qt-5.0/qtcore/qstring.html#toAscii
      
      * Fix build error changing Qt::WFlags into Qt::WindowFlags
      See http://qt-project.org/doc/qt-5.0/qtcore/qt-obsolete.html
      
      * Fix build error changing QAbstractItemModel::reset() into
      combo QAbstractItemModel::beginResetModel()/QAbstractItemModel::endResetModel()
      The method "reset" has been deprecated and is not available in
      default Qt5 distribution.
      See http://qt-project.org/doc/qt-5.0/qtcore/qabstractitemmodel-compat.html#reset
      
      * Fix build error by including "vtkObjectBase.h":
      /home/jchris/Projects/Qt5.0.2/5.0.2/gcc_64/include/QtCore/qmetatype.h:464: error: invalid application of ‘sizeof’ to incomplete type ‘QStaticAssertFailure<false>’
      
      * Fix "no matching function for call to ‘QPixmap::grabWidget(QWidget*)’" by using
      "QWidget::grab"
      See http://qt-project.org/doc/qt-5.0/qtwidgets/qwidget.html#grab
      
      * Fix missing QHttpHeader/QHttpRequestHeader headers by removing them.
      They have been removed from Qt5 and were not used in the code.
      
      * Fix error: ‘qInstallMsgHandler’ was not declared in this scope
      by using "qInstallMessageHandler"
      See http://qt-project.org/doc/qt-5.0/qtdoc/sourcebreaks.html
      
      * Fix Q4VTKWidgetPlugin.cxx:147: error: invalid application of
      ‘sizeof’ to incomplete type ‘QStaticAssertFailure<false>’ by
      using "Q_PLUGIN_METADATA" macro instead of Q_EXPORT_PLUGIN
      or Q_EXPORT_PLUGIN2.
      See http://qt-project.org/wiki/Transition_from_Qt_4.x_to_Qt5#7ec1b8f08d7f31ebcb53188f0bd15ed5
      
      Change-Id: Ie7123e5990e3a8afb4d7d2efa0fda5bd7b98c1e3
      384636ec
  16. 14 May, 2013 2 commits
    • Brad King's avatar
      Mark non-baseline tests with NO_VALID option · 050fd10e
      Brad King authored
      Tell calls to vtk_add_test_(cxx|python|tcl) explicitly when there is no
      valid baseline image to avoid passing -V unnecessarily.
      
      Change-Id: Ibe5aecdfa076446ddda0b95e814483eb6622af73
      050fd10e
    • Brad King's avatar
      Use vtk_add_test_cxx function · 5b018861
      Brad King authored
      Refactor */*/Testing/Cxx/CMakeLists.txt to use the vtk_add_test_cxx
      function instead of direct add_test calls.
      
      Change-Id: I73dee627fa87a399c48b409af046b116fc75a0fd
      5b018861
  17. 08 Dec, 2012 1 commit
  18. 07 Dec, 2012 1 commit
    • Brad King's avatar
      Replace remove() with list(REMOVE_ITEM) · 6625fcec
      Brad King authored
      The remove() command is documented as discouraged and replaced by the
      list(REMOVE_ITEM) command which has been around since CMake 2.6.0.
      
      Change-Id: Ibd5a95ef9dc81eb09a28a344ef009d7f1511abf6
      6625fcec
  19. 23 Apr, 2012 1 commit
  20. 10 Apr, 2012 1 commit
    • Brad King's avatar
      Define VTK_TEST_OUTPUT_DIR to name Testing/Temporary directory · 13e19ed9
      Brad King authored
      Replace all references to ${VTK_BINARY_DIR}/Testing/Temporary with
      ${VTK_TEST_OUTPUT_DIR} and set the variable accordingly.  The latter is
      shorter and will also be useful to build module tests as an external
      application that does not have VTK_BINARY_DIR available.
      
      Change-Id: I5159077c10dd2eab23365e9ac917bc6cbd806589
      13e19ed9
  21. 09 Apr, 2012 1 commit
    • VTK Developers's avatar
      Add modular VTK build system · 0c1471f1
      VTK Developers authored
      Add module.cmake, CMakeLists.txt, and other build system files.
      
      The modular VTK build system is not yet mature.  The monolithic build
      files had a lot of infrastructure.  The modular build files reproduce
      much of the functionality but some features will need to be restored
      later.  Document status and tasks in "TODO-Modularization.txt".
      
      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>
      0c1471f1
  22. 13 Mar, 2012 1 commit
  23. 26 Feb, 2012 1 commit
  24. 15 Oct, 2010 1 commit
    • Marcus D. Hanwell's avatar
      ENH: Deprecation of the Qt based charts. · 867ecb9f
      Marcus D. Hanwell authored
      A new CMake option, VTK_USE_QTCHARTS, was added. This is off by default,
      the Qt based charts will be removed in a future release.
      
      Change-Id: I68ecac6ff08180c48518853f9774bf0cb979092a
      867ecb9f
  25. 12 Jun, 2009 1 commit
  26. 13 Mar, 2009 1 commit
  27. 10 Feb, 2009 1 commit
  28. 13 Jan, 2009 1 commit
  29. 17 Dec, 2008 1 commit
  30. 21 Oct, 2008 1 commit
  31. 16 Oct, 2008 1 commit
  32. 05 Sep, 2008 1 commit
    • Clinton Stimpson's avatar
      · fed301a2
      Clinton Stimpson authored
      COMP:  Fix build without infovis.  It looks like these chart tests have
             no direct dependency on infovis.
      fed301a2
  33. 11 Jul, 2008 1 commit
  34. 18 Jun, 2008 1 commit
    • Clinton Stimpson's avatar
      · 9952be12
      Clinton Stimpson authored
      ENH:  Add Qt chart code from vtkSNL/ParaView.
      9952be12
  35. 11 Feb, 2008 1 commit