Go to the documentation of this file.
29 #ifndef QT_OGRE_RENDER_WINDOW_OGRE_RENDER_WINDOW_H_
30 #define QT_OGRE_RENDER_WINDOW_OGRE_RENDER_WINDOW_H_
32 #include <boost/function.hpp>
36 #include <OgreColourValue.h>
37 #include <OgreRenderTargetListener.h>
82 return QSize(320, 240);
172 #endif // QT_OGRE_RENDER_WINDOW_OGRE_RENDER_WINDOW_H_
QtOgreRenderWindow(QWidget *parent=nullptr)
Ogre::Camera * left_camera_
void prepareStereoViewport(Ogre::Viewport *)
Ogre::Camera * getCamera() const
QSize sizeHint() const override
Ogre::Viewport * viewport_
boost::function< void()> post_render_callback_
Functor which is called after each render.
virtual void setPreRenderCallback(boost::function< void()> func)
void setupStereo()
Prepare to render in stereo if enabled and supported.
bool enableStereo(bool enable)
Enable or disable stereo rendering If stereo is not supported this is ignored.
void setCameraAspectRatio()
void setBackgroundColor(Ogre::ColourValue color)
void postViewportUpdate(const Ogre::RenderTargetViewportEvent &evt) override
void setOrthoScale(float scale)
Set the scale of the orthographic window. Only valid for an orthographic camera.
boost::function< void()> pre_render_callback_
Functor which is called before each render.
void preViewportUpdate(const Ogre::RenderTargetViewportEvent &evt) override
void paintEvent(QPaintEvent *e) override
void resizeEvent(QResizeEvent *event) override
void setCamera(Ogre::Camera *camera)
~QtOgreRenderWindow() override
virtual void setPostRenderCallback(boost::function< void()> func)
void setAutoRender(bool auto_render)
void setOverlaysEnabled(bool overlays_enabled)
Ogre::Viewport * right_viewport_
Ogre::Viewport * getViewport() const
Ogre::Camera * right_camera_
Ogre::ColourValue background_color_
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Aug 2 2024 08:43:10