Public Slots | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
rviz::ImageDisplay Class Reference

#include <image_display.h>

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

List of all members.

Public Slots

virtual void updateNormalizeOptions ()

Public Member Functions

 ImageDisplay ()
virtual void onInitialize ()
 Override this function to do subclass-specific initialization.
virtual void reset ()
 Reset display.
virtual void update (float wall_dt, float ros_dt)
 Called periodically by the visualization manager.
virtual ~ImageDisplay ()

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.
virtual void processMessage (const sensor_msgs::Image::ConstPtr &msg)
 Implement this to process the contents of a message.

Private Member Functions

void clear ()
void updateStatus ()

Private Attributes

bool got_float_image_
Ogre::SceneManager * img_scene_manager_
Ogre::SceneNode * img_scene_node_
Ogre::MaterialPtr material_
FloatPropertymax_property_
IntPropertymedian_buffer_size_property_
FloatPropertymin_property_
BoolPropertynormalize_property_
RenderPanelrender_panel_
Ogre::Rectangle2D * screen_rect_
ROSImageTexture texture_

Detailed Description

Definition at line 62 of file image_display.h.


Constructor & Destructor Documentation

Definition at line 57 of file image_display.cpp.

Definition at line 131 of file image_display.cpp.


Member Function Documentation

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

Definition at line 175 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 145 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 139 of file image_display.cpp.

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 75 of file image_display.cpp.

void rviz::ImageDisplay::processMessage ( const sensor_msgs::Image::ConstPtr &  msg) [protected, virtual]

Implement this to process the contents of a message.

This is called by incomingMessage().

Implements rviz::ImageDisplayBase.

Definition at line 228 of file image_display.cpp.

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

Reset display.

Reimplemented from rviz::ImageDisplayBase.

Definition at line 221 of file image_display.cpp.

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

Called periodically by the visualization manager.

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

Reimplemented from rviz::Display.

Definition at line 185 of file image_display.cpp.

Definition at line 152 of file image_display.cpp.


Member Data Documentation

Definition at line 102 of file image_display.h.

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

Definition at line 89 of file image_display.h.

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

Definition at line 90 of file image_display.h.

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

Definition at line 92 of file image_display.h.

Definition at line 100 of file image_display.h.

Definition at line 101 of file image_display.h.

Definition at line 99 of file image_display.h.

Definition at line 98 of file image_display.h.

Definition at line 96 of file image_display.h.

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

Definition at line 91 of file image_display.h.

Definition at line 94 of file image_display.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Mon Oct 6 2014 07:26:37