#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) |
RenderPanel (wxWindow *parent, bool create_render_window=true) | |
Constructor. | |
void | setViewController (ViewController *controller) |
virtual | ~RenderPanel () |
Protected Member Functions | |
void | onChar (wxKeyEvent &event) |
Called when a key is pressed. | |
void | onRenderWindowMouseEvents (wxMouseEvent &event) |
Called when a mouse event happens inside the render window. | |
Protected Attributes | |
Ogre::Camera * | camera_ |
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 | |||
) |
Constructor.
parent | Parent window |
Definition at line 38 of file render_panel.cpp.
rviz::RenderPanel::~RenderPanel | ( | ) | [virtual] |
Definition at line 61 of file render_panel.cpp.
void rviz::RenderPanel::createRenderWindow | ( | ) | [virtual] |
Definition at line 129 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 78 of file render_panel.cpp.
void rviz::RenderPanel::onChar | ( | wxKeyEvent & | event | ) | [protected] |
Called when a key is pressed.
Definition at line 108 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 91 of file render_panel.cpp.
void rviz::RenderPanel::setCamera | ( | Ogre::Camera * | ) | [inline, private] |
Definition at line 114 of file render_panel.h.
void rviz::RenderPanel::setViewController | ( | ViewController * | controller | ) |
Definition at line 116 of file render_panel.cpp.
Ogre::Camera* rviz::RenderPanel::camera_ [protected] |
Definition at line 109 of file render_panel.h.
VisualizationManager* rviz::RenderPanel::manager_ [protected] |
Definition at line 107 of file render_panel.h.
int rviz::RenderPanel::mouse_x_ [protected] |
X position of the last mouse event.
Definition at line 104 of file render_panel.h.
int rviz::RenderPanel::mouse_y_ [protected] |
Y position of the last mouse event.
Definition at line 105 of file render_panel.h.
Ogre::SceneManager* rviz::RenderPanel::scene_manager_ [protected] |
Definition at line 108 of file render_panel.h.
ViewController* rviz::RenderPanel::view_controller_ [protected] |
Definition at line 111 of file render_panel.h.