Open CASCADE Technology  7.7.0
Data Structures

ViewerTest_ContinuousRedrawer.hxx File Reference

#include <OSD_Thread.hxx>
#include <Standard_Condition.hxx>
#include <Standard_Mutex.hxx>
#include <Standard_Type.hxx>

Data Structures

class  ViewerTest_ContinuousRedrawer
 Auxiliary tool performing continuous redraws of specified window. Tool creates an extra working thread pushing content invalidation messages to specific window using Aspect_Window::InvalidateContent() method. Normally, GUI application should done continuous rendering in simple fashion - just by drawing next frame without waiting for new events from windowing system; however, implementation of this approach is problematic in context of ViewerTest due to message loop binding mechanism implied by Tcl/Tk. More...