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

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

#include <point_cloud2_display.h>

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

List of all members.

Public Member Functions

 PointCloud2Display ()
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.
 ~PointCloud2Display ()

Protected Member Functions

virtual void onInitialize ()
 Do initialization. Overridden from MessageFilterDisplay.
virtual void processMessage (const sensor_msgs::PointCloud2ConstPtr &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::PointCloud2.

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 51 of file point_cloud2_display.h.


Constructor & Destructor Documentation

Definition at line 48 of file point_cloud2_display.cpp.

Definition at line 62 of file point_cloud2_display.cpp.


Member Function Documentation

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

Do initialization. Overridden from MessageFilterDisplay.

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

Definition at line 67 of file point_cloud2_display.cpp.

void rviz::PointCloud2Display::processMessage ( const sensor_msgs::PointCloud2ConstPtr &  cloud) [protected, virtual]

Process a single message. Overridden from MessageFilterDisplay.

Definition at line 78 of file point_cloud2_display.cpp.

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

Called to tell the display to clear its state.

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

Definition at line 173 of file point_cloud2_display.cpp.

void rviz::PointCloud2Display::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 168 of file point_cloud2_display.cpp.

Definition at line 73 of file point_cloud2_display.cpp.


Member Data Documentation

Definition at line 74 of file point_cloud2_display.h.

Definition at line 72 of file point_cloud2_display.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Tue Oct 3 2017 03:19:32