NorMIT-nav  22.09
An IGT application
cx::RenderLoop Class Reference

#include <cxRenderLoop.h>

Inheritance diagram for cx::RenderLoop:

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 ()
 

Detailed Description

Render a set of Views in a loop.

This is the main render loop in Custus.

Date
2014-02-06
Author
christiana

Definition at line 34 of file cxRenderLoop.h.

Constructor & Destructor Documentation

◆ RenderLoop()

cx::RenderLoop::RenderLoop ( )

Definition at line 25 of file cxRenderLoop.cpp.

Member Function Documentation

◆ addLayout()

void cx::RenderLoop::addLayout ( ViewCollectionWidget layout)

Definition at line 88 of file cxRenderLoop.cpp.

◆ clearViews()

void cx::RenderLoop::clearViews ( )

Definition at line 94 of file cxRenderLoop.cpp.

◆ fps

void cx::RenderLoop::fps ( int  number)
signal

Emits number of frames per second.

◆ getRenderTimer()

CyclicActionLoggerPtr cx::RenderLoop::getRenderTimer ( )
inline

Definition at line 49 of file cxRenderLoop.h.

◆ isRunning()

bool cx::RenderLoop::isRunning ( ) const

Definition at line 52 of file cxRenderLoop.cpp.

◆ preRender

void cx::RenderLoop::preRender ( )
signal

◆ renderFinished

void cx::RenderLoop::renderFinished ( )
signal

◆ setLogging()

void cx::RenderLoop::setLogging ( bool  on)

Definition at line 63 of file cxRenderLoop.cpp.

◆ setRenderingInterval()

void cx::RenderLoop::setRenderingInterval ( int  interval)

Definition at line 57 of file cxRenderLoop.cpp.

◆ setSmartRender()

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 68 of file cxRenderLoop.cpp.

◆ start()

void cx::RenderLoop::start ( )

Definition at line 41 of file cxRenderLoop.cpp.

◆ stop()

void cx::RenderLoop::stop ( )

Definition at line 46 of file cxRenderLoop.cpp.


The documentation for this class was generated from the following files: