Page MenuHomePhabricator

Rendering pipeline is not executed correctly when applying properties for 2D images
Closed, ResolvedPublic

Description

If you change a property (e.g. color, opacity, or flags like "use color") for an image in the new ImageVtkMapper2D, they will not be applied immediatly.

The reason is that at first the GetVtkProp() method of the mapper is called and afterwards the GenerateData() method. The GetVtkProp() method transfers the actor to the renderer in order to draw everything. The GenerateData() method modifies the actor and so the changes are applied after the data is rendered.

This could be associated with the mitk::VtkMapper3D/2D issues (T8150)

Event Timeline

A quick fix for this is to call the Update() method of the mapper in GetVtkProp(). We should discuss if there is a proper solution.

Resetting all bugs without active assignee flag to "CONFIRMED". Change status to IN_PROGRESS if you are working on it.