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]
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: image001.jpg>>

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to