rviz::ImageDisplay Class Reference

#include <image_display.h>

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

List of all members.

Public Member Functions

 ImageDisplay ()
virtual void onInitialize ()
 Override this function to do subclass-specific initialization.
virtual void reset ()
 Called to tell the display to clear its state.
virtual void setName (const QString &name)
 Overridden from Property to update the view widget's title.
virtual void update (float wall_dt, float ros_dt)
 Called periodically by the visualization manager.
virtual ~ImageDisplay ()

Protected Slots

void updateQueueSize ()
void updateTopic ()
void updateTransport ()

Protected Member Functions

virtual void onDisable ()
 Derived classes override this to do the actual work of disabling themselves.
virtual void onEnable ()
 Derived classes override this to do the actual work of enabling themselves.

Private Slots

void fillTransportOptionList (QStringList *options_out)

Private Member Functions

void clear ()
void subscribe ()
void unsubscribe ()
void updateStatus ()

Private Attributes

Ogre::MaterialPtr material_
PanelDockWidgetpanel_container_
IntPropertyqueue_size_property_
RenderPanelrender_panel_
Ogre::SceneManager * scene_manager_
 A convenience variable equal to context_->getSceneManager().
Ogre::SceneNode * scene_node_
Ogre::Rectangle2D * screen_rect_
ROSImageTexture texture_
std::string topic_
RosTopicPropertytopic_property_
std::string transport_
EditableEnumPropertytransport_property_

Detailed Description

Definition at line 63 of file image_display.h.


Constructor & Destructor Documentation

rviz::ImageDisplay::ImageDisplay (  ) 

Definition at line 58 of file image_display.cpp.

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

Definition at line 138 of file image_display.cpp.


Member Function Documentation

void rviz::ImageDisplay::clear (  )  [private]

Definition at line 234 of file image_display.cpp.

void rviz::ImageDisplay::fillTransportOptionList ( QStringList *  options_out  )  [private, slot]

Definition at line 296 of file image_display.cpp.

void rviz::ImageDisplay::onDisable (  )  [protected, virtual]

Derived classes override this to do the actual work of disabling themselves.

Reimplemented from rviz::Display.

Definition at line 175 of file image_display.cpp.

void rviz::ImageDisplay::onEnable (  )  [protected, virtual]

Derived classes override this to do the actual work of enabling themselves.

Reimplemented from rviz::Display.

Definition at line 159 of file image_display.cpp.

void rviz::ImageDisplay::onInitialize (  )  [virtual]

Override this function to do subclass-specific initialization.

This is called after vis_manager_ and scene_manager_ are set, and before load() or setEnabled().

setName() may or may not have been called before this.

Reimplemented from rviz::Display.

Definition at line 76 of file image_display.cpp.

void rviz::ImageDisplay::reset (  )  [virtual]

Called to tell the display to clear its state.

Reimplemented from rviz::Display.

Definition at line 306 of file image_display.cpp.

void rviz::ImageDisplay::setName ( const QString &  name  )  [virtual]

Overridden from Property to update the view widget's title.

Reimplemented from rviz::Property.

Definition at line 312 of file image_display.cpp.

void rviz::ImageDisplay::subscribe (  )  [private]

Definition at line 199 of file image_display.cpp.

void rviz::ImageDisplay::unsubscribe (  )  [private]

Definition at line 217 of file image_display.cpp.

void rviz::ImageDisplay::update ( float  wall_dt,
float  ros_dt 
) [virtual]

Called periodically by the visualization manager.

Parameters:
wall_dt Wall-clock time, in seconds, since the last time the update list was run through.
ros_dt ROS time, in seconds, since the last time the update list was run through.

Reimplemented from rviz::Display.

Definition at line 258 of file image_display.cpp.

void rviz::ImageDisplay::updateQueueSize (  )  [protected, slot]
void rviz::ImageDisplay::updateStatus (  )  [private]

Definition at line 246 of file image_display.cpp.

void rviz::ImageDisplay::updateTopic (  )  [protected, slot]

Definition at line 222 of file image_display.cpp.

void rviz::ImageDisplay::updateTransport (  )  [protected, slot]

Definition at line 229 of file image_display.cpp.


Member Data Documentation

Ogre::MaterialPtr rviz::ImageDisplay::material_ [private]

Definition at line 101 of file image_display.h.

Definition at line 114 of file image_display.h.

Definition at line 108 of file image_display.h.

Definition at line 112 of file image_display.h.

Ogre::SceneManager* rviz::ImageDisplay::scene_manager_ [private]

A convenience variable equal to context_->getSceneManager().

This is set after the constructor and before onInitialize() is called. The scene manager we're associated with

Reimplemented from rviz::Display.

Definition at line 98 of file image_display.h.

Ogre::SceneNode* rviz::ImageDisplay::scene_node_ [private]

Definition at line 99 of file image_display.h.

Ogre::Rectangle2D* rviz::ImageDisplay::screen_rect_ [private]

Definition at line 100 of file image_display.h.

Definition at line 110 of file image_display.h.

std::string rviz::ImageDisplay::topic_ [private]

Definition at line 103 of file image_display.h.

Definition at line 106 of file image_display.h.

std::string rviz::ImageDisplay::transport_ [private]

Definition at line 104 of file image_display.h.

Definition at line 107 of file image_display.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): Dave Hershberger, Josh Faust
autogenerated on Wed Jun 6 11:25:47 2012