Page MenuHomePhabricator

Volume rendering plugin fails to detect VTK version 6 and above
Closed, ResolvedPublic

Description

The volume rendering plugin uses the VTK_MAJOR_VERSION and VTK_MINOR_VERSION preprocessor directives in order to determine which rendering modes are available. However, VTK 6 requires #include <vtkVersionMacros.h> for these directives to be available. As a result, the plugin won't offer the rendering modes "GPU raycast" and "GPU MIP raycast" when compiled with VTK 6.

Event Timeline

Patch: #include <vtkVersionMacros.h> to resolve the issue

User goch has pushed new remote branch:

bug-19052-add-vtk-include

[9f295b]: Merge branch 'bug-19052-add-vtk-include'

Merged commits:

2015-05-12 11:06:33 Caspar Goch [f463dc]
Add vtk include needed for version check to work