Display an image *in* the 3D scene, at the pose of the frame published in the sensor_msgs/Image. More...
#include <backdrop_display.h>
Public Member Functions | |
BackdropDisplay () | |
virtual void | createProperties () |
float | getScale () |
const std::string & | getTopic () |
virtual void | onInitialize () |
void | setScale (float scale) |
void | setTopic (const std::string &topic) |
virtual void | update (float dt, float ros_dt) |
virtual | ~BackdropDisplay () |
Protected Member Functions | |
virtual void | onDisable () |
virtual void | onEnable () |
Private Member Functions | |
void | subscribe () |
void | unsubscribe () |
Private Attributes | |
Ogre::MaterialPtr | image_material_ |
Ogre::ManualObject * | manual_object_ |
float | scale_ |
Scale at which to display the image, in meters-per-image-pixel. | |
rviz::FloatProperty * | scale_property_ |
Ogre::SceneNode * | scene_node_ |
rviz::ROSImageTexture | texture_ |
std::string | topic_ |
rviz::RosTopicProperty * | topic_property_ |
Display an image *in* the 3D scene, at the pose of the frame published in the sensor_msgs/Image.
Definition at line 53 of file backdrop_display.h.
Definition at line 55 of file backdrop_display.cpp.
rviz_backdrop::BackdropDisplay::~BackdropDisplay | ( | ) | [virtual] |
Definition at line 132 of file backdrop_display.cpp.
void rviz_backdrop::BackdropDisplay::createProperties | ( | ) | [virtual] |
Definition at line 251 of file backdrop_display.cpp.
float rviz_backdrop::BackdropDisplay::getScale | ( | ) | [inline] |
Definition at line 71 of file backdrop_display.h.
const std::string& rviz_backdrop::BackdropDisplay::getTopic | ( | ) | [inline] |
Definition at line 68 of file backdrop_display.h.
void rviz_backdrop::BackdropDisplay::onDisable | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 192 of file backdrop_display.cpp.
void rviz_backdrop::BackdropDisplay::onEnable | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 186 of file backdrop_display.cpp.
void rviz_backdrop::BackdropDisplay::onInitialize | ( | ) | [virtual] |
Reimplemented from rviz::Display.
Definition at line 66 of file backdrop_display.cpp.
void rviz_backdrop::BackdropDisplay::setScale | ( | float | scale | ) |
Definition at line 241 of file backdrop_display.cpp.
void rviz_backdrop::BackdropDisplay::setTopic | ( | const std::string & | topic | ) |
Definition at line 141 of file backdrop_display.cpp.
void rviz_backdrop::BackdropDisplay::subscribe | ( | ) | [private] |
void rviz_backdrop::BackdropDisplay::unsubscribe | ( | ) | [private] |
void rviz_backdrop::BackdropDisplay::update | ( | float | dt, |
float | ros_dt | ||
) | [virtual] |
Reimplemented from rviz::Display.
Definition at line 198 of file backdrop_display.cpp.
Ogre::MaterialPtr rviz_backdrop::BackdropDisplay::image_material_ [private] |
Definition at line 88 of file backdrop_display.h.
Ogre::ManualObject* rviz_backdrop::BackdropDisplay::manual_object_ [private] |
Definition at line 89 of file backdrop_display.h.
float rviz_backdrop::BackdropDisplay::scale_ [private] |
Scale at which to display the image, in meters-per-image-pixel.
Definition at line 98 of file backdrop_display.h.
Definition at line 104 of file backdrop_display.h.
Ogre::SceneNode* rviz_backdrop::BackdropDisplay::scene_node_ [private] |
Reimplemented from rviz::Display.
Definition at line 93 of file backdrop_display.h.
Definition at line 90 of file backdrop_display.h.
std::string rviz_backdrop::BackdropDisplay::topic_ [private] |
Definition at line 96 of file backdrop_display.h.
Definition at line 105 of file backdrop_display.h.