Hi, I used ForceImmeduateUpdate() to "solve" this issue. HTH


-------- Original Message --------
From: Federico Milano <[email protected]>
Sent: September 17, 2015 9:44:19 PM CEST
To: [email protected]
Subject: [mitk-users] Overlay visibility in VtkMapper

Hi. I'm having an issue with the overlays visibility in my mapper.
In GenerateDataForRenderer() of my mapper I'm doing the following 
GetDataNode()->GetVisibility(visible, renderer); 
m_TextOverlay2D->SetVisibility(visible);/* update some other things if 
necessary */m_TextOverlay2D->Update(renderer);
where m_TextOverlay2D is a mitk::TextOverlay2D. The problem is that the 
visibility is not updated until the next rendering loop. 
Do you have any idea of what could be going on here?
Thanks in advance,
Fede


Mit freundlichen Grüßen,
-- 
stud. info. ex. cand. phys. OFM RH AGT, Martin Hettich esq.,
+49 162 7767688.
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to