17 #ifndef GAZEBO_GUI_OCULUS_WINDOW_HH_ 18 #define GAZEBO_GUI_OCULUS_WINDOW_HH_ 43 public:
OculusWindow(
int _x,
int _y,
const std::string &_visual,
44 QWidget *_parent = 0);
51 public:
bool CreateCamera();
54 protected:
virtual void showEvent(QShowEvent *_e);
57 protected:
virtual void resizeEvent(QResizeEvent *_e);
60 protected:
void keyPressEvent(QKeyEvent *_event);
64 private: std::string GetOgreHandle()
const;
67 private:
void AttachCameraToVisual();
70 private: QFrame *renderFrame;
73 private:
int windowId;
76 private: rendering::OculusCameraPtr oculusCamera;
82 private:
bool isFullScreen;
91 private: std::string visualName;
94 private: std::thread *attachCameraThread;
Forward declarations for the common classes.
Definition: Animation.hh:33
A widget that renders a camera view suitable for the Oculus Rift.
Definition: OculusWindow.hh:38
Forward declarations for transport.
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:81