Hi Federico,

prior to the 2015.05 Release, we have added a flag to the Overlays, that forces 
them to be drawn in front:
<http://bugs.mitk.org/show_bug.cgi?id=18536>http://bugs.mitk.org/show_bug.cgi?id=18536
http://docs.mitk.org/nightly-qt4/classmitk_1_1OverlayManager.html#a78c770eb3f088025c9b8026d3c51fa7e

Alternatively you could use the TextOverlay2D which is always on top. The 
difference is that this ones position is defined on the display.

Regards
Christoph

On Sun, 2015-08-30 at 02:14 +0200, Federico Milano wrote:
Hi. I'm trying to display an overlay in a 3D window. I'm using this 
document<http://mitk.org/images/d/d1/BugSquashingSeminars$Overlays_in_MITK.pdf>:
as a guide. I've created a plugin that adds a TextOverlay3D to the 3D window 
renderer overlay manager (exaclty as it is stated in that document). The 
problem is that the TextOverlay3D is not being drawn over the scene. If you 
position, for example, a cube in front of it, it occludes the text (see 
attached screenshot). I'm using MITK 2014.03.

I'll really appreciate any hint.

Thanks,

Federico


------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to