rviz::ImageDisplay Class Reference

#include <image_display.h>

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

List of all members.

Public Member Functions

virtual void createProperties ()
 Called from setPropertyManager, gives the display a chance to create some properties immediately.
virtual void fixedFrameChanged ()
 Called from within setFixedFrame, notifying child classes that the fixed frame has changed.
const std::string & getTopic ()
const std::string & getTransport ()
 ImageDisplay (const std::string &name, VisualizationManager *manager)
virtual void reset ()
 Called to tell the display to clear its state.
void setTopic (const std::string &topic)
void setTransport (const std::string &transport)
virtual void targetFrameChanged ()
 Called from within setTargetFrame, notifying child classes that the target frame has changed.
virtual void update (float wall_dt, float ros_dt)
 Called periodically by the visualization panel.
virtual ~ImageDisplay ()

Protected Member Functions

void clear ()
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.
void onTransportEnumOptions (V_string &choices)
void subscribe ()
void unsubscribe ()
void updateStatus ()

Protected Attributes

wxFrame * frame_
Ogre::MaterialPtr material_
RenderPanelrender_panel_
Ogre::SceneManager * scene_manager_
 The scene manager we're associated with.
Ogre::SceneNode * scene_node_
Ogre::Rectangle2D * screen_rect_
ROSImageTexture texture_
std::string topic_
ROSTopicStringPropertyWPtr topic_property_
std::string transport_
EditEnumPropertyWPtr transport_property_

Detailed Description

Definition at line 62 of file image_display.h.


Constructor & Destructor Documentation

rviz::ImageDisplay::ImageDisplay ( const std::string &  name,
VisualizationManager manager 
)

Definition at line 33 of file image_display.cpp.

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

Definition at line 110 of file image_display.cpp.


Member Function Documentation

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

Definition at line 202 of file image_display.cpp.

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

Called from setPropertyManager, gives the display a chance to create some properties immediately.

Once this function is called, the property_manager_ member is valid and will stay valid

Reimplemented from rviz::Display.

Definition at line 245 of file image_display.cpp.

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

Called from within setFixedFrame, notifying child classes that the fixed frame has changed.

Implements rviz::Display.

Definition at line 259 of file image_display.cpp.

const std::string& rviz::ImageDisplay::getTopic (  )  [inline]

Definition at line 68 of file image_display.h.

const std::string& rviz::ImageDisplay::getTransport (  )  [inline]

Definition at line 71 of file image_display.h.

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

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

Implements rviz::Display.

Definition at line 147 of file image_display.cpp.

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

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

Implements rviz::Display.

Definition at line 130 of file image_display.cpp.

void rviz::ImageDisplay::onTransportEnumOptions ( V_string choices  )  [protected]

Definition at line 240 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 268 of file image_display.cpp.

void rviz::ImageDisplay::setTopic ( const std::string &  topic  ) 

Definition at line 181 of file image_display.cpp.

void rviz::ImageDisplay::setTransport ( const std::string &  transport  ) 

Definition at line 193 of file image_display.cpp.

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

Definition at line 166 of file image_display.cpp.

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

Called from within setTargetFrame, notifying child classes that the target frame has changed.

Implements rviz::Display.

Definition at line 263 of file image_display.cpp.

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

Definition at line 176 of file image_display.cpp.

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

Called periodically by the visualization panel.

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

Reimplemented from rviz::Display.

Definition at line 225 of file image_display.cpp.

void rviz::ImageDisplay::updateStatus (  )  [protected]

Definition at line 211 of file image_display.cpp.


Member Data Documentation

wxFrame* rviz::ImageDisplay::frame_ [protected]

Definition at line 108 of file image_display.h.

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

Definition at line 97 of file image_display.h.

Definition at line 107 of file image_display.h.

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

The scene manager we're associated with.

Reimplemented from rviz::Display.

Definition at line 94 of file image_display.h.

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

Definition at line 95 of file image_display.h.

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

Definition at line 96 of file image_display.h.

Definition at line 105 of file image_display.h.

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

Definition at line 99 of file image_display.h.

ROSTopicStringPropertyWPtr rviz::ImageDisplay::topic_property_ [protected]

Definition at line 102 of file image_display.h.

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

Definition at line 100 of file image_display.h.

EditEnumPropertyWPtr rviz::ImageDisplay::transport_property_ [protected]

Definition at line 103 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): Josh Faust
autogenerated on Fri Jan 11 09:36:32 2013