When rendering a node with ImageVtkMapper2D with the node property 'Image Rendering.Mode' set to COLORTRANSFERFUNCTION_LEVELWINDOW_COLOR or COLORTRANSFERFUNCTION_COLOR only the ColorTransferFunction part of the TransferFunctionProperty is used. The ScalarOpacityFunction part is ignored.
Description
Related Objects
- Mentioned In
- T17844: RT refactoring
Event Timeline
High importance, as there seems to be a fix already. I will try to find someone who can integrate this.
Taylor, thank you for your contribution! It is very much appreciated.
still need the core change request: http://mitk.org/ChangeRequests/15899
maybe someone should take a look at the rendering test I wrote
[c2664a]: Merge branch 'bug-15899-ImageVtkMapper2DIgnoresOpacityIntegration'
Merged commits:
2014-09-11 23:53:47 Sascha Zelzer [4bd7d8]
Added scalar opacity transfer function test data.
2014-09-11 21:47:29 Sascha Zelzer [0e40d7]
Merge branch 'master' into bug-15899-ImageVtkMapper2DIgnoresOpacityIntegration
Conflicts:
Core/Code/Rendering/vtkMitkLevelWindowFilter.cpp
Core/Code/Rendering/vtkMitkLevelWindowFilter.h
Core/Code/Testing/CMakeLists.txt
2013-11-28 16:23:23 Nico Riecker [fd7134]
added the mitkImageVtkMapper2DOpacityTransferFunctionTest
2013-11-28 11:48:30 Nico Riecker [337c36]
added a rendering test for ImageVtkMapper2DOpacityTransferFunction
2013-10-23 16:36:14 Nico Riecker [a85651]
Merge branch 'bug-15899-ImageVtkMapper2DIgnoresOpacity' into bug-15899-ImageVtkMapper2DIgnoresOpacityIntegration
2013-08-22 17:08:31 Taylor Braun-Jones [507544]
Fix ScalarOpacityFunction part of TransferFunctionProperty ignored
2013-08-22 17:07:36 Taylor Braun-Jones [c1eaeb]
Add OpacityPiecewiseFunction support to vtkMitkLevelWindowFilter