Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rviz::RenderWidget Class Reference

#include <render_widget.h>

Inheritance diagram for rviz::RenderWidget:
Inheritance graph
[legend]

Public Member Functions

Ogre::RenderWindow * getRenderWindow ()
 
 RenderWidget (RenderSystem *render_system, QWidget *parent=nullptr)
 
 ~RenderWidget () override
 

Protected Member Functions

void moveEvent (QMoveEvent *e) override
 
QPaintEngine * paintEngine () const override
 
void paintEvent (QPaintEvent *e) override
 
qreal pixelRatio () const
 
void resizeEvent (QResizeEvent *e) override
 

Protected Attributes

RenderSystemrender_system_
 
Ogre::RenderWindow * render_window_
 
QFrame * renderFrame
 

Detailed Description

Definition at line 44 of file render_widget.h.

Constructor & Destructor Documentation

◆ RenderWidget()

rviz::RenderWidget::RenderWidget ( RenderSystem render_system,
QWidget *  parent = nullptr 
)

Definition at line 47 of file render_widget.cpp.

◆ ~RenderWidget()

rviz::RenderWidget::~RenderWidget ( )
override

Definition at line 81 of file render_widget.cpp.

Member Function Documentation

◆ getRenderWindow()

Ogre::RenderWindow* rviz::RenderWidget::getRenderWindow ( )
inline

Definition at line 49 of file render_widget.h.

◆ moveEvent()

void rviz::RenderWidget::moveEvent ( QMoveEvent *  e)
overrideprotected

Definition at line 92 of file render_widget.cpp.

◆ paintEngine()

QPaintEngine* rviz::RenderWidget::paintEngine ( ) const
inlineoverrideprotected

Definition at line 61 of file render_widget.h.

◆ paintEvent()

void rviz::RenderWidget::paintEvent ( QPaintEvent *  e)
overrideprotected

Definition at line 102 of file render_widget.cpp.

◆ pixelRatio()

qreal rviz::RenderWidget::pixelRatio ( ) const
protected

Definition at line 126 of file render_widget.cpp.

◆ resizeEvent()

void rviz::RenderWidget::resizeEvent ( QResizeEvent *  e)
overrideprotected

Definition at line 111 of file render_widget.cpp.

Member Data Documentation

◆ render_system_

RenderSystem* rviz::RenderWidget::render_system_
protected

Definition at line 67 of file render_widget.h.

◆ render_window_

Ogre::RenderWindow* rviz::RenderWidget::render_window_
protected

Definition at line 68 of file render_widget.h.

◆ renderFrame

QFrame* rviz::RenderWidget::renderFrame
protected

Definition at line 70 of file render_widget.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Sat May 27 2023 02:06:26