Go to the documentation of this file.
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;
Definition: JointMaker.hh:40
Forward declarations for the common classes.
Definition: Animation.hh:27
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.
uint32_t TriangleCount(const uint32_t _id) const
Get the triangle count.
WindowManager()
Constructor.
rendering
Definition: RenderEngine.hh:31
Ogre::RenderWindow * Window(const uint32_t _id) const
Get the render window associated with the given id.
virtual ~WindowManager()
Destructor.
void Resize(uint32_t _id, int _width, int _height)
Resize a window.
void Fini()
Shutdown all the windows.
Class to mangage render windows.
Definition: WindowManager.hh:49
boost::shared_ptr< Camera > CameraPtr
Definition: RenderTypes.hh:90
int CreateWindow(const std::string &_ogreHandle, uint32_t _width, uint32_t _height, const double _devicePixelRatio=1.0)
Create a window.
void SetCamera(int _windowId, CameraPtr _camera)
Attach a camera to a window.