Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
rviz_backdrop::BackdropDisplay Class Reference

Display an image *in* the 3D scene, at the pose of the frame published in the sensor_msgs/Image. More...

#include <backdrop_display.h>

Inheritance diagram for rviz_backdrop::BackdropDisplay:
Inheritance graph
[legend]

List of all members.

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::FloatPropertyscale_property_
Ogre::SceneNode * scene_node_
rviz::ROSImageTexture texture_
std::string topic_
rviz::RosTopicPropertytopic_property_

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 55 of file backdrop_display.cpp.

Definition at line 132 of file backdrop_display.cpp.


Member Function Documentation

Definition at line 251 of file backdrop_display.cpp.

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.

Reimplemented from rviz::Display.

Definition at line 66 of file backdrop_display.cpp.

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::update ( float  dt,
float  ros_dt 
) [virtual]

Reimplemented from rviz::Display.

Definition at line 198 of file backdrop_display.cpp.


Member Data Documentation

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.

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.

Definition at line 96 of file backdrop_display.h.

Definition at line 105 of file backdrop_display.h.


The documentation for this class was generated from the following files:


rviz_backdrop
Author(s): Dave Hershberger
autogenerated on Thu Jun 6 2019 20:32:07