Page MenuHomePhabricator

ContourModelGLMapper2DBase causes vtkWarnings
Closed, WontfixPublic

Description

The class ContourModelGLMapper2DBase causes vtkWarnings to be triggered when rendering the contours.

The reason for the warning is that during at the begining of the rendering-pipeline the vtkRendererCollection determines the number of layers used.

After that it calls Render() on all the renderers.
In the Render() of the 'ContourModelGLMapper2DBase' the method DrawContour() is called that adds additional renderers.

This is bad as the vtkRendererCollection cannot adapt the number of layers accordingly.

Calling Render() on a renderer should not add additional renderers!

Event Timeline

User engelm has pushed new remote branch:

bug-19291-fix-vtkWarning-in-ContourModelGLMapper2DBase
kislinsk added a subscriber: kislinsk.

@engelm Status? :-)

engelm added a subscriber: engelm.

As far as I know, this issue still persists as I have not worked on it yet.

kislinsk added a project: Auto-closed.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs