Difference between revisions of "Documentation/Labs/VTK8"

From Slicer Wiki
Jump to: navigation, search
(Created page with "This page documents the update of Slicer to use VTK 8.0. ==Overview== It is planned to update the version of VTK that Slicer uses from 7.1 to 8.0. ==Status== TBD ===Branc...")
 
Line 28: Line 28:
 
Slicer's VTK 8.0 branch includes fixes/changes that aren't in upstream:
 
Slicer's VTK 8.0 branch includes fixes/changes that aren't in upstream:
 
* Respect access specifier of using statements in wrapping
 
* Respect access specifier of using statements in wrapping
** https://github.com/Slicer/VTK/commit/0b57aba27dfeca72227ff417e4254aaad8ccb367
+
** https://github.com/Slicer/VTK/commit/93a7c677481259cf23121a053d82ba4b7c2286e6
 
* ENH: Allow selection of seed points using vtkSeedWidget
 
* ENH: Allow selection of seed points using vtkSeedWidget
** https://github.com/Slicer/VTK/commit/10d00ffe2526265925754eb8eed802082c03c842
+
** https://github.com/Slicer/VTK/commit/734709ee38a0a25c92a9a0c7477cfddec5e12cf3
* Revert "Increase VTK OS X minimum check from 10.6.0 to 10.6.8"
 
** https://github.com/Slicer/VTK/commit/68b7313c50f62a8a263413ada2181123d38e7e64 (commit should be removed)
 
 
* Ensure vtkVariant stream associated with << operator is set back to "dec".
 
* Ensure vtkVariant stream associated with << operator is set back to "dec".
 
** https://github.com/Slicer/VTK/commit/dbf5de60c0809ca6233fe428761ef19e561ef542
 
** https://github.com/Slicer/VTK/commit/dbf5de60c0809ca6233fe428761ef19e561ef542

Revision as of 20:21, 28 June 2017

Home < Documentation < Labs < VTK8

This page documents the update of Slicer to use VTK 8.0.

Overview

It is planned to update the version of VTK that Slicer uses from 7.1 to 8.0.

Status

TBD

Branches/Merge Requests

VTK:

Slicer:

  • TBD

Outstanding VTK issues

Slicer-specific VTK commits

Slicer's VTK 8.0 branch includes fixes/changes that aren't in upstream:

Tests

This section lists test failures on each platform for Release builds.

Windows:

Test results:

  • TBD

Linux:

Test results:

  • TBD

OS X:

Test results:

  • TBD

Rendering backend

Although VTK 7 changed the default setting of VTK_RENDERING_BACKEND to OpenGL2, Slicer still explicitly sets it to OpenGL. Using the OpenGL2 backend in Slicer is untested and may require updates to properly build and function. This rendering backend in Slicer is set using Slicer_VTK_RENDERING_BACKEND.

OpenGL2 backend known issues

Open

Discussion

The transition plan was announced on the Slicer forum: https://discourse.slicer.org/t/transition-to-vtk-8-0/379.

Future work

Future work in Slicer related to VTK 8 could include:

  • Remove BTX/ETX markers.
  • CHeck for and resolve build warnings in Slicer VTK classes.
  • Check that settings in External_VTKv8.cmake are all still necessary, specifically VTK_USE_PARALLEL, and anything related to Qt.