#include <publish_click_camera_display.h>
Public Member Functions | |
virtual void | createProperties () |
const std::string & | getPublishClickTopic () |
virtual void | onInitialize () |
virtual void | postRenderSelectionHandler (uint32_t pass) |
virtual void | postRenderTargetUpdate (const Ogre::RenderTargetEvent &evt) |
virtual void | preRenderSelectionHandler (uint32_t pass) |
virtual void | preRenderTargetUpdate (const Ogre::RenderTargetEvent &evt) |
PublishClickCameraDisplay () | |
void | setPublishClickTopic (const std::string &topic) |
virtual void | update (float wall_dt, float ros_dt) |
Overrides update so it can request a render at each pass. | |
virtual | ~PublishClickCameraDisplay () |
Private Member Functions | |
void | hideBlacklistDisplays (std::string blacklist_name) |
void | restoreBlacklistDisplays () |
Private Attributes | |
std::set< rviz::DisplayWrapper * > | hidden_displays_ |
rviz::ROSTopicStringPropertyWPtr | publish_click_topic_property_ |
PublishClickViewController * | publish_click_view_controller_ |
boost::shared_ptr < PublishClickSelectionHandler > | selection_handler_ |
Extends the default camera display of rviz so that mouse clicks are broadcasted on a given topic Also can hide selected displays so they don't show up / are not selectable.
Definition at line 50 of file publish_click_camera_display.h.
Definition at line 43 of file publish_click_camera_display.cpp.
Definition at line 63 of file publish_click_camera_display.cpp.
void pr2_interactive_manipulation::PublishClickCameraDisplay::createProperties | ( | ) | [virtual] |
Reimplemented from rviz::CameraDisplay.
Definition at line 68 of file publish_click_camera_display.cpp.
const std::string & pr2_interactive_manipulation::PublishClickCameraDisplay::getPublishClickTopic | ( | ) |
Definition at line 87 of file publish_click_camera_display.cpp.
void pr2_interactive_manipulation::PublishClickCameraDisplay::hideBlacklistDisplays | ( | std::string | blacklist_name | ) | [private] |
Definition at line 128 of file publish_click_camera_display.cpp.
void pr2_interactive_manipulation::PublishClickCameraDisplay::onInitialize | ( | ) | [virtual] |
Reimplemented from rviz::CameraDisplay.
Definition at line 50 of file publish_click_camera_display.cpp.
void pr2_interactive_manipulation::PublishClickCameraDisplay::postRenderSelectionHandler | ( | uint32_t | pass | ) | [virtual] |
Definition at line 118 of file publish_click_camera_display.cpp.
void pr2_interactive_manipulation::PublishClickCameraDisplay::postRenderTargetUpdate | ( | const Ogre::RenderTargetEvent & | evt | ) | [virtual] |
Reimplemented from rviz::CameraDisplay.
Definition at line 104 of file publish_click_camera_display.cpp.
void pr2_interactive_manipulation::PublishClickCameraDisplay::preRenderSelectionHandler | ( | uint32_t | pass | ) | [virtual] |
Definition at line 110 of file publish_click_camera_display.cpp.
void pr2_interactive_manipulation::PublishClickCameraDisplay::preRenderTargetUpdate | ( | const Ogre::RenderTargetEvent & | evt | ) | [virtual] |
Reimplemented from rviz::CameraDisplay.
Definition at line 98 of file publish_click_camera_display.cpp.
void pr2_interactive_manipulation::PublishClickCameraDisplay::restoreBlacklistDisplays | ( | ) | [private] |
Definition at line 162 of file publish_click_camera_display.cpp.
void pr2_interactive_manipulation::PublishClickCameraDisplay::setPublishClickTopic | ( | const std::string & | topic | ) |
Definition at line 81 of file publish_click_camera_display.cpp.
void pr2_interactive_manipulation::PublishClickCameraDisplay::update | ( | float | wall_dt, |
float | ros_dt | ||
) | [virtual] |
Overrides update so it can request a render at each pass.
Reimplemented from rviz::CameraDisplay.
Definition at line 92 of file publish_click_camera_display.cpp.
std::set<rviz::DisplayWrapper*> pr2_interactive_manipulation::PublishClickCameraDisplay::hidden_displays_ [private] |
Definition at line 78 of file publish_click_camera_display.h.
rviz::ROSTopicStringPropertyWPtr pr2_interactive_manipulation::PublishClickCameraDisplay::publish_click_topic_property_ [private] |
Definition at line 80 of file publish_click_camera_display.h.
PublishClickViewController* pr2_interactive_manipulation::PublishClickCameraDisplay::publish_click_view_controller_ [private] |
Definition at line 82 of file publish_click_camera_display.h.
boost::shared_ptr<PublishClickSelectionHandler> pr2_interactive_manipulation::PublishClickCameraDisplay::selection_handler_ [private] |
Definition at line 76 of file publish_click_camera_display.h.