[Insight-users] fltk image viewer

Luis Ibanez luis . ibanez at kitware . com
Tue, 27 May 2003 14:07:22 -0400


Hi Zein,


GLSliceView derives from Fl_Gl_Window.
a call to "redraw()" will invoke the "draw()"
method in the next GUI refreshment cycle.


Please ty calling "redraw()" just after you
display the image window.


    Luis


----------------
salah wrote:
> Hello,
> 
> I have been using viewers that derive the GlSliceView class.
> I face always an uncomfortable effect:
> When the viewer window is shown for the first moment, it 
> does NOT show the image, I can see only a blank widget!!!
> Only after I interact with this window (for example simply by
> clicking inside it), it display the image. 
> How can make force my viewer to display the image as soon
> as it (the viewer) appears on the screen?? In other words, 
> which method trigers this ? draw, redraw, ?????
> 
> Thanks,
> 
> Zein
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at public . kitware . com
> http://public . kitware . com/mailman/listinfo/insight-users
>