17#ifndef _GAZEBO_RENDERING_WINDOWMANAGER_HH_
18#define _GAZEBO_RENDERING_WINDOWMANAGER_HH_
41 class WindowManagerPrivate;
67 const double _devicePixelRatio = 1.0);
78 public:
void Resize(uint32_t _id,
int _width,
int _height);
82 public:
void Moved(uint32_t _id);
87 public:
float AvgFPS(
const uint32_t _id)
const;
97 public: Ogre::RenderWindow *
Window(
const uint32_t _id)
const;
101 private: std::unique_ptr<WindowManagerPrivate> dataPtr;
rendering
Definition RenderEngine.hh:31
Class to mangage render windows.
Definition WindowManager.hh:49
void Fini()
Shutdown all the windows.
Ogre::RenderWindow * Window(const uint32_t _id) const
Get the render window associated with the given id.
int CreateWindow(const std::string &_ogreHandle, uint32_t _width, uint32_t _height, const double _devicePixelRatio=1.0)
Create a window.
void Resize(uint32_t _id, int _width, int _height)
Resize a window.
uint32_t TriangleCount(const uint32_t _id) const
Get the triangle count.
void SetCamera(int _windowId, CameraPtr _camera)
Attach a camera to a window.
WindowManager()
Constructor.
virtual ~WindowManager()
Destructor.
float AvgFPS(const uint32_t _id) const
Get the average FPS.
void Moved(uint32_t _id)
Tells Ogre the window has moved, and needs updating.
Definition JointMaker.hh:40
boost::shared_ptr< Camera > CameraPtr
Definition RenderTypes.hh:90
Forward declarations for the common classes.
Definition Animation.hh:27