Hi Sascha, No, I did not since. I now tried with adding an image->Modified() call before as suggested, and it works :)
Thanks! Hortense ---- Hortense KIRISLI, PhD Research & Development Engineer AQUILAB Parc Eurasanté - Lille Métropole Bâtiment Hermès 250 rue Salvador Allende 59120 Loos Les Lille - France Tel. +33 3 69 61 51 65 www.aquilab.com<http://www.aquilab.com> [AQUILAB] ---- De : Sascha Zelzer [mailto:[email protected]] Envoyé : mardi 4 février 2014 19:48 À : Hortense KIRISLI; [email protected] Objet : Re: [mitk-users] Rendering viewer update Hi Hortense, did you manage to update the render window? Maybe a image->Modified() call is necessary after changing the image contents and before calling this->RequestRenderWindowUpdate()? Best, Sascha On 01/22/2014 12:14 PM, Hortense KIRISLI wrote: Hi Sascha, all, Thank you for your indication. I have been adding the following line to my code either this->RequestRenderWindowUpdate(mitk); or this->RequestRenderWindowUpdate(mitk::RenderingManager::REQUEST_UPDATE_ALL); but the behavior does not change, viewers are not updated. Would you have any idea why? Best, Hortense ---- Hortense KIRISLI, PhD Research & Development Engineer AQUILAB Parc Eurasanté - Lille Métropole Bâtiment Hermès 250 rue Salvador Allende 59120 Loos Les Lille - France Tel. +33 3 69 61 51 65 www.aquilab.com<http://www.aquilab.com> [AQUILAB] ---- De : Sascha Zelzer [mailto:[email protected]] Envoyé : mardi 21 janvier 2014 17:04 À : Hortense KIRISLI; Kislinskiy, Stefan; [email protected]<mailto:[email protected]> Objet : Re: [mitk-users] Erase content of a binary image stored in a datanode Hi, On 01/21/2014 03:32 PM, Hortense KIRISLI wrote: Once I reset my image, I still see in the viewer the old image; only when I scroll through the image the image displayed will be updated. Is there a way to 'force' the refresh of the viewer display? if you want to trigger the update from within a sub-class of QmitkAbstractView, use http://docs.mitk.org/2013.12/classQmitkAbstractView.html#adb0d756b51c3734bd3031618fe5aaea7 otherwise have a look at the mitk::RenderingManager class. Best, Sascha
<<inline: image003.jpg>>
<<inline: image002.jpg>>
------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
