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...
#include <ViewerTest_ContinuousRedrawer.hxx>
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.
◆ ~ViewerTest_ContinuousRedrawer()
ViewerTest_ContinuousRedrawer::~ViewerTest_ContinuousRedrawer |
( |
| ) |
|
◆ Instance()
◆ IsPaused()
bool ViewerTest_ContinuousRedrawer::IsPaused |
( |
| ) |
const |
|
inline |
Return TRUE if redrawer thread is in paused state.
◆ IsStarted()
bool ViewerTest_ContinuousRedrawer::IsStarted |
( |
| ) |
const |
|
inline |
Return TRUE if redrawer thread is started.
◆ Pause()
void ViewerTest_ContinuousRedrawer::Pause |
( |
| ) |
|
Pause working thread, but does not terminate it.
◆ Start()
◆ Stop()
The documentation for this class was generated from the following file: