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

Displays a point cloud of type sensor_msgs::PointCloud. More...

#include <point_cloud_display.h>

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

List of all members.

Public Member Functions

 PointCloudDisplay ()
virtual void reset ()
 Called to tell the display to clear its state.
virtual void update (float wall_dt, float ros_dt)
 Called periodically by the visualization manager.
 ~PointCloudDisplay ()

Protected Member Functions

virtual void onInitialize ()
 Do initialization. Overridden from MessageFilterDisplay.
virtual void processMessage (const sensor_msgs::PointCloudConstPtr &cloud)
 Process a single message. Overridden from MessageFilterDisplay.

Protected Attributes

PointCloudCommonpoint_cloud_common_
IntPropertyqueue_size_property_

Private Slots

void updateQueueSize ()

Detailed Description

Displays a point cloud of type sensor_msgs::PointCloud.

By default it will assume channel 0 of the cloud is an intensity value, and will color them by intensity. If you set the channel's name to "rgb", it will interpret the channel as an integer rgb value, with r, g and b all being 8 bits.

Definition at line 55 of file point_cloud_display.h.


Constructor & Destructor Documentation

Definition at line 48 of file point_cloud_display.cpp.

Definition at line 62 of file point_cloud_display.cpp.


Member Function Documentation

void rviz::PointCloudDisplay::onInitialize ( ) [protected, virtual]

Do initialization. Overridden from MessageFilterDisplay.

Reimplemented from rviz::MessageFilterDisplay< sensor_msgs::PointCloud >.

Definition at line 67 of file point_cloud_display.cpp.

void rviz::PointCloudDisplay::processMessage ( const sensor_msgs::PointCloudConstPtr &  cloud) [protected, virtual]

Process a single message. Overridden from MessageFilterDisplay.

Definition at line 78 of file point_cloud_display.cpp.

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

Called to tell the display to clear its state.

Reimplemented from rviz::MessageFilterDisplay< sensor_msgs::PointCloud >.

Definition at line 88 of file point_cloud_display.cpp.

void rviz::PointCloudDisplay::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 83 of file point_cloud_display.cpp.

void rviz::PointCloudDisplay::updateQueueSize ( ) [private, slot]

Definition at line 73 of file point_cloud_display.cpp.


Member Data Documentation

Definition at line 78 of file point_cloud_display.h.

Definition at line 76 of file point_cloud_display.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Thu Aug 27 2015 15:02:29