Fraxinus
17.12-rc4
An IGT application
|
#include <cxRenderLoop.h>
Signals | |
void | preRender () |
void | fps (int number) |
Emits number of frames per second. More... | |
void | renderFinished () |
Public Member Functions | |
RenderLoop () | |
void | start () |
void | stop () |
bool | isRunning () const |
void | setRenderingInterval (int interval) |
void | setSmartRender (bool val) |
If set: Render only views with modified props using the given interval, render nonmodified at a slower pace. More... | |
void | setLogging (bool on) |
void | clearViews () |
void | addLayout (ViewCollectionWidget *layout) |
CyclicActionLoggerPtr | getRenderTimer () |
Render a set of Views in a loop.
This is the main render loop in Custus.
Definition at line 55 of file cxRenderLoop.h.
cx::RenderLoop::RenderLoop | ( | ) |
Definition at line 46 of file cxRenderLoop.cpp.
void cx::RenderLoop::addLayout | ( | ViewCollectionWidget * | layout | ) |
Definition at line 109 of file cxRenderLoop.cpp.
void cx::RenderLoop::clearViews | ( | ) |
Definition at line 115 of file cxRenderLoop.cpp.
|
signal |
Emits number of frames per second.
|
inline |
Definition at line 70 of file cxRenderLoop.h.
bool cx::RenderLoop::isRunning | ( | ) | const |
Definition at line 73 of file cxRenderLoop.cpp.
|
signal |
|
signal |
void cx::RenderLoop::setLogging | ( | bool | on | ) |
Definition at line 84 of file cxRenderLoop.cpp.
void cx::RenderLoop::setRenderingInterval | ( | int | interval | ) |
Definition at line 78 of file cxRenderLoop.cpp.
void cx::RenderLoop::setSmartRender | ( | bool | val | ) |
If set: Render only views with modified props using the given interval, render nonmodified at a slower pace.
Definition at line 89 of file cxRenderLoop.cpp.
void cx::RenderLoop::start | ( | ) |
Definition at line 62 of file cxRenderLoop.cpp.
void cx::RenderLoop::stop | ( | ) |
Definition at line 67 of file cxRenderLoop.cpp.