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;
92 return view_controller_;
104 bool contextMenuVisible();
106 void sceneManagerDestroyed(Ogre::SceneManager* source)
override;
109 bool getFocusOnMouseMove()
const;
112 void setFocusOnMouseMove(
bool enabled);
116 void contextMenuEvent(QContextMenuEvent* event)
override;
119 void onRenderWindowMouseEvents(QMouseEvent* event);
125 onRenderWindowMouseEvents(event);
129 onRenderWindowMouseEvents(event);
133 onRenderWindowMouseEvents(event);
137 onRenderWindowMouseEvents(event);
140 void leaveEvent(QEvent* event)
override;
143 void wheelEvent(QWheelEvent* event)
override;
145 void keyPressEvent(QKeyEvent* event)
override;
168 void sendMouseMoveEvent();
169 void onContextMenuHide();
DisplayContext * getManager()
ViewController * view_controller_
ViewController * getViewController()
ROSCONSOLE_DECL void initialize()
void mouseReleaseEvent(QMouseEvent *event) override
bool context_menu_visible_
Ogre::SceneManager * scene_manager_
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.
void mousePressEvent(QMouseEvent *event) override
DisplayContext * context_
QTimer * fake_mouse_move_event_timer_
bool focus_on_mouse_move_
a moving the mouse catches keyboard focus
int mouse_x_
X position of the last mouse event.
void mouseDoubleClickEvent(QMouseEvent *event) override
boost::shared_ptr< QMenu > context_menu_
void mouseMoveEvent(QMouseEvent *event) override
boost::mutex context_menu_mutex_
Ogre::Camera * default_camera_
A default camera created in initialize().