Hi everybody,

I have a question regarding mitk::TextAnnotation3D. As far as I can see, this 
replaces mitk::TextOverlay3D from the 2016.11 release.

I am just modifying a custom mapper to use TextAnnotation3D instead of 
TextOverlay3D. I took orientation from documentation and 
Modules/DiffusionImaging/Connectomics/Rendering/mitkConnectomicsNetworkMapper3D.cpp.
Most works fine with one exception: when I change the visibility of the text 
annotation, this change takes only effect one rendered frame later.

I guess this is because of rendering order - perhaps the overlay gets rendered 
first by VTK and only then my mapper gets to work? (did not yet debug that deep)

Questions:
- is TextAnnotation3D supposed to be used by mappers? How are visibility 
changes supposed to work? Or should I fall back to managing my own VTK text 
follower?
- is this effect known for ConnectomicsNetworkMapper3D?
- is there a way to workaround this effect / to influence rendering order?

Thanks for any input,
Daniel


_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to