18 #ifndef _GAZEBO_OCULUS_WINDOW_HH_ 
   19 #define _GAZEBO_OCULUS_WINDOW_HH_ 
   21 #include <boost/thread.hpp> 
   44       public: 
OculusWindow(
int _x, 
int _y, 
const std::string &_visual,
 
   45                   QWidget *_parent = 0);
 
   52       public: 
bool CreateCamera();
 
   55       protected: 
virtual void showEvent(QShowEvent *_e);
 
   58       protected: 
virtual void resizeEvent(QResizeEvent *_e);
 
   61       protected: 
void keyPressEvent(QKeyEvent *_event);
 
   65       private: std::string GetOgreHandle() 
const;
 
   68       private: 
void AttachCameraToVisual();
 
   71       private: QFrame *renderFrame;
 
   74       private: 
int windowId;
 
   83       private: 
bool isFullScreen;
 
   92       private: std::string visualName;
 
   95       private: boost::thread *attachCameraThread;
 
A widget that renders a camera view suitable for the Oculus Rift. 
Definition: OculusWindow.hh:39
Forward declarations for transport. 
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:74
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported. 
Definition: system.hh:48
boost::shared_ptr< OculusCamera > OculusCameraPtr
Definition: RenderTypes.hh:167