$search
#include <render_panel.h>
Public Member Functions | |
virtual void | createRenderWindow () |
Ogre::Camera * | getCamera () |
VisualizationManager * | getManager () |
ViewController * | getViewController () |
void | initialize (Ogre::SceneManager *scene_manager, VisualizationManager *manager) |
void | onContextMenu (wxContextMenuEvent &event) |
RenderPanel (wxWindow *parent, bool create_render_window=true, Display *display=NULL) | |
Constructor. | |
void | setContextMenu (boost::shared_ptr< wxMenu > menu) |
void | setViewController (ViewController *controller) |
virtual | ~RenderPanel () |
Protected Member Functions | |
void | onChar (wxKeyEvent &event) |
Called when a key is pressed. | |
void | onClose (wxCloseEvent &event) |
void | onRenderWindowMouseEvents (wxMouseEvent &event) |
Called when a mouse event happens inside the render window. | |
Protected Attributes | |
Ogre::Camera * | camera_ |
boost::shared_ptr< wxMenu > | context_menu_ |
boost::mutex | context_menu_mutex_ |
Display * | display_ |
VisualizationManager * | manager_ |
int | mouse_x_ |
X position of the last mouse event. | |
int | mouse_y_ |
Y position of the last mouse event. | |
Ogre::SceneManager * | scene_manager_ |
ViewController * | view_controller_ |
Private Member Functions | |
void | setCamera (Ogre::Camera *) |
Definition at line 74 of file render_panel.h.
rviz::RenderPanel::RenderPanel | ( | wxWindow * | parent, | |
bool | create_render_window = true , |
|||
Display * | display = NULL | |||
) |
Constructor.
parent | Parent window |
Definition at line 39 of file render_panel.cpp.
rviz::RenderPanel::~RenderPanel | ( | ) | [virtual] |
Definition at line 66 of file render_panel.cpp.
void rviz::RenderPanel::createRenderWindow | ( | ) | [virtual] |
Reimplemented from ogre_tools::wxOgreRenderWindow.
Definition at line 150 of file render_panel.cpp.
Ogre::Camera* rviz::RenderPanel::getCamera | ( | ) | [inline] |
Definition at line 90 of file render_panel.h.
VisualizationManager* rviz::RenderPanel::getManager | ( | ) | [inline] |
Definition at line 88 of file render_panel.h.
ViewController* rviz::RenderPanel::getViewController | ( | ) | [inline] |
Definition at line 91 of file render_panel.h.
void rviz::RenderPanel::initialize | ( | Ogre::SceneManager * | scene_manager, | |
VisualizationManager * | manager | |||
) |
Definition at line 85 of file render_panel.cpp.
void rviz::RenderPanel::onChar | ( | wxKeyEvent & | event | ) | [protected] |
Called when a key is pressed.
Definition at line 129 of file render_panel.cpp.
void rviz::RenderPanel::onClose | ( | wxCloseEvent & | event | ) | [protected] |
Definition at line 98 of file render_panel.cpp.
void rviz::RenderPanel::onContextMenu | ( | wxContextMenuEvent & | event | ) |
Definition at line 162 of file render_panel.cpp.
void rviz::RenderPanel::onRenderWindowMouseEvents | ( | wxMouseEvent & | event | ) | [protected] |
Called when a mouse event happens inside the render window.
Definition at line 112 of file render_panel.cpp.
void rviz::RenderPanel::setCamera | ( | Ogre::Camera * | ) | [inline, private] |
Reimplemented from ogre_tools::wxOgreRenderWindow.
Definition at line 132 of file render_panel.h.
void rviz::RenderPanel::setContextMenu | ( | boost::shared_ptr< wxMenu > | menu | ) |
Definition at line 156 of file render_panel.cpp.
void rviz::RenderPanel::setViewController | ( | ViewController * | controller | ) |
Definition at line 137 of file render_panel.cpp.
Ogre::Camera* rviz::RenderPanel::camera_ [protected] |
Definition at line 120 of file render_panel.h.
boost::shared_ptr<wxMenu> rviz::RenderPanel::context_menu_ [protected] |
Definition at line 124 of file render_panel.h.
boost::mutex rviz::RenderPanel::context_menu_mutex_ [protected] |
Definition at line 125 of file render_panel.h.
Display* rviz::RenderPanel::display_ [protected] |
Definition at line 129 of file render_panel.h.
VisualizationManager* rviz::RenderPanel::manager_ [protected] |
Definition at line 118 of file render_panel.h.
int rviz::RenderPanel::mouse_x_ [protected] |
X position of the last mouse event.
Definition at line 115 of file render_panel.h.
int rviz::RenderPanel::mouse_y_ [protected] |
Y position of the last mouse event.
Definition at line 116 of file render_panel.h.
Ogre::SceneManager* rviz::RenderPanel::scene_manager_ [protected] |
Definition at line 119 of file render_panel.h.
ViewController* rviz::RenderPanel::view_controller_ [protected] |
Definition at line 122 of file render_panel.h.