Ignition Gazebo

API Reference

3.7.0

Rendering thread. More...

#include <Scene3D.hh>

Public Slots

void RenderNext ()
 Render the next frame. More...
 
void ShutDown ()
 Shutdown the thread and the render engine. More...
 
void SizeChanged ()
 Slot called to update render texture size. More...
 

Signals

void TextureReady (int _id, const QSize &_size)
 Signal to indicate that a frame has been rendered and ready to be displayed. More...
 

Public Member Functions

 RenderThread ()
 Constructor. More...
 

Public Attributes

QOpenGLContext * context = nullptr
 OpenGL context to be passed to the render engine. More...
 
IgnRenderer ignRenderer
 Ign-rendering renderer. More...
 
QOffscreenSurface * surface = nullptr
 Offscreen surface to render to. More...
 

Detailed Description

Rendering thread.

Constructor & Destructor Documentation

◆ RenderThread()

Constructor.

Member Function Documentation

◆ RenderNext

void RenderNext ( )
slot

Render the next frame.

◆ ShutDown

void ShutDown ( )
slot

Shutdown the thread and the render engine.

◆ SizeChanged

void SizeChanged ( )
slot

Slot called to update render texture size.

◆ TextureReady

void TextureReady ( int  _id,
const QSize &  _size 
)
signal

Signal to indicate that a frame has been rendered and ready to be displayed.

Parameters
[in]_idGLuid of the opengl texture
[in]_sizeSize of the texture

Member Data Documentation

◆ context

QOpenGLContext* context = nullptr

OpenGL context to be passed to the render engine.

◆ ignRenderer

IgnRenderer ignRenderer

Ign-rendering renderer.

◆ surface

QOffscreenSurface* surface = nullptr

Offscreen surface to render to.


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