17 #ifndef GAZEBO_GUI_OCULUS_WINDOW_HH_ 18 #define GAZEBO_GUI_OCULUS_WINDOW_HH_ 45 public:
OculusWindow(
int _x,
int _y,
const std::string &_visual,
46 QWidget *_parent = 0);
53 public:
bool CreateCamera();
56 protected:
virtual void showEvent(QShowEvent *_e);
59 protected:
virtual void resizeEvent(QResizeEvent *_e);
62 protected:
void keyPressEvent(QKeyEvent *_event);
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;
Forward declarations for the common classes.
Definition: Animation.hh:26
A widget that renders a camera view suitable for the Oculus Rift.
Definition: OculusWindow.hh:40
Forward declarations for transport.
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:82