17#ifndef GAZEBO_GUI_OCULUS_WINDOW_HH_
18#define GAZEBO_GUI_OCULUS_WINDOW_HH_
46 QWidget *_parent = 0);
66 private: std::string GetOgreHandle()
const;
69 private:
void AttachCameraToVisual();
72 private: QFrame *renderFrame;
75 private:
int windowId;
78 private: rendering::OculusCameraPtr oculusCamera;
84 private:
bool isFullScreen;
93 private: std::string visualName;
96 private: std::thread *attachCameraThread;
gui
Definition KeyEventHandler.hh:29
Forward declarations for transport.
A widget that renders a camera view suitable for the Oculus Rift.
Definition OculusWindow.hh:41
virtual ~OculusWindow()
Destructor.
OculusWindow(int _x, int _y, const std::string &_visual, QWidget *_parent=0)
Constructor.
void keyPressEvent(QKeyEvent *_event)
virtual void resizeEvent(QResizeEvent *_e)
virtual void showEvent(QShowEvent *_e)
bool CreateCamera()
Initialize Oculus and create a camera.
boost::shared_ptr< Scene > ScenePtr
Definition RenderTypes.hh:82
Forward declarations for the common classes.
Definition Animation.hh:27