30 #ifndef RVIZ_RENDER_PANEL_H 31 #define RVIZ_RENDER_PANEL_H 36 #include <OgreSceneManager.h> 38 #include <boost/thread/mutex.hpp> 59 class PropertyTreeWidget;
99 bool contextMenuVisible();
101 virtual void sceneManagerDestroyed( Ogre::SceneManager* source );
105 void contextMenuEvent( QContextMenuEvent* event );
108 void onRenderWindowMouseEvents( QMouseEvent* event );
112 virtual void mouseMoveEvent( QMouseEvent* event ) { onRenderWindowMouseEvents( event ); }
113 virtual void mousePressEvent( QMouseEvent* event ) { onRenderWindowMouseEvents( event ); }
117 virtual void leaveEvent ( QEvent * event );
120 virtual void wheelEvent( QWheelEvent* event );
122 virtual void keyPressEvent( QKeyEvent* event );
143 void sendMouseMoveEvent();
144 void onContextMenuHide();
DisplayContext * getManager()
ViewController * view_controller_
ViewController * getViewController()
ROSCONSOLE_DECL void initialize()
virtual void mouseMoveEvent(QMouseEvent *event)
bool context_menu_visible_
Ogre::SceneManager * scene_manager_
virtual void mousePressEvent(QMouseEvent *event)
virtual void mouseReleaseEvent(QMouseEvent *event)
virtual void mouseDoubleClickEvent(QMouseEvent *event)
Pure-virtual base class for objects which give Display subclasses context in which to work...
int mouse_y_
Y position of the last mouse event.
DisplayContext * context_
QTimer * fake_mouse_move_event_timer_
int mouse_x_
X position of the last mouse event.
boost::shared_ptr< QMenu > context_menu_
boost::mutex context_menu_mutex_
Ogre::Camera * default_camera_
A default camera created in initialize().