$search

rviz::RenderPanel Class Reference

#include <render_panel.h>

Inheritance diagram for rviz::RenderPanel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void createRenderWindow ()
Ogre::Camera * getCamera ()
VisualizationManagergetManager ()
ViewControllergetViewController ()
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_
Displaydisplay_
VisualizationManagermanager_
int mouse_x_
 X position of the last mouse event.
int mouse_y_
 Y position of the last mouse event.
Ogre::SceneManager * scene_manager_
ViewControllerview_controller_

Private Member Functions

void setCamera (Ogre::Camera *)

Detailed Description

Definition at line 74 of file render_panel.h.


Constructor & Destructor Documentation

rviz::RenderPanel::RenderPanel ( wxWindow *  parent,
bool  create_render_window = true,
Display display = NULL 
)

Constructor.

Parameters:
parent Parent window
Returns:

Definition at line 39 of file render_panel.cpp.

rviz::RenderPanel::~RenderPanel (  )  [virtual]

Definition at line 66 of file render_panel.cpp.


Member Function Documentation

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.


Member Data Documentation

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.

Definition at line 129 of file render_panel.h.

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.

Definition at line 122 of file render_panel.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


rviz
Author(s): Josh Faust, Dave Hershberger
autogenerated on Sat Mar 2 14:17:37 2013