Public Member Functions | Private Slots | Private Attributes
rviz::IntensityPCTransformer Class Reference

#include <point_cloud_transformers.h>

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

List of all members.

Public Member Functions

virtual void createProperties (Property *parent_property, uint32_t mask, QList< Property * > &out_props)
 Create any properties necessary for this transformer. Will be called once when the transformer is loaded. All properties must be added to the out_props vector.
virtual uint8_t score (const sensor_msgs::PointCloud2ConstPtr &cloud)
 "Score" a message for how well supported the message is. For example, a "flat color" transformer can support any cloud, but will return a score of 0 here since it should not be preferred over others that explicitly support fields in the message. This allows that "flat color" transformer to still be selectable, but generally not chosen automatically.
virtual uint8_t supports (const sensor_msgs::PointCloud2ConstPtr &cloud)
 Returns a level of support for a specific cloud. This level of support is a mask using the SupportLevel enum.
virtual bool transform (const sensor_msgs::PointCloud2ConstPtr &cloud, uint32_t mask, const Ogre::Matrix4 &transform, V_PointCloudPoint &points_out)
 Transforms a PointCloud2 into an rviz::PointCloud. The rviz::PointCloud is assumed to have been preallocated into the correct size. The mask determines which part of the cloud should be output (xyz or color). This method will only be called if supports() of the same cloud has returned a non-zero mask, and will only be called with masks compatible with the one returned from supports()
void updateChannels (const sensor_msgs::PointCloud2ConstPtr &cloud)

Private Slots

void updateAutoComputeIntensityBounds ()
void updateUseRainbow ()

Private Attributes

BoolPropertyauto_compute_intensity_bounds_property_
V_string available_channels_
EditableEnumPropertychannel_name_property_
BoolPropertyinvert_rainbow_property_
ColorPropertymax_color_property_
FloatPropertymax_intensity_property_
ColorPropertymin_color_property_
FloatPropertymin_intensity_property_
BoolPropertyuse_rainbow_property_

Detailed Description

Definition at line 113 of file point_cloud_transformers.h.


Member Function Documentation

void rviz::IntensityPCTransformer::createProperties ( Property parent_property,
uint32_t  mask,
QList< Property * > &  out_props 
) [virtual]

Create any properties necessary for this transformer. Will be called once when the transformer is loaded. All properties must be added to the out_props vector.

Reimplemented from rviz::PointCloudTransformer.

Definition at line 171 of file point_cloud_transformers.cpp.

uint8_t rviz::IntensityPCTransformer::score ( const sensor_msgs::PointCloud2ConstPtr &  cloud) [virtual]

"Score" a message for how well supported the message is. For example, a "flat color" transformer can support any cloud, but will return a score of 0 here since it should not be preferred over others that explicitly support fields in the message. This allows that "flat color" transformer to still be selectable, but generally not chosen automatically.

Reimplemented from rviz::PointCloudTransformer.

Definition at line 72 of file point_cloud_transformers.cpp.

uint8_t rviz::IntensityPCTransformer::supports ( const sensor_msgs::PointCloud2ConstPtr &  cloud) [virtual]

Returns a level of support for a specific cloud. This level of support is a mask using the SupportLevel enum.

Implements rviz::PointCloudTransformer.

Definition at line 66 of file point_cloud_transformers.cpp.

bool rviz::IntensityPCTransformer::transform ( const sensor_msgs::PointCloud2ConstPtr &  cloud,
uint32_t  mask,
const Ogre::Matrix4 &  transform,
V_PointCloudPoint out 
) [virtual]

Transforms a PointCloud2 into an rviz::PointCloud. The rviz::PointCloud is assumed to have been preallocated into the correct size. The mask determines which part of the cloud should be output (xyz or color). This method will only be called if supports() of the same cloud has returned a non-zero mask, and will only be called with masks compatible with the one returned from supports()

Implements rviz::PointCloudTransformer.

Definition at line 77 of file point_cloud_transformers.cpp.

Definition at line 247 of file point_cloud_transformers.cpp.

void rviz::IntensityPCTransformer::updateChannels ( const sensor_msgs::PointCloud2ConstPtr &  cloud)

Definition at line 222 of file point_cloud_transformers.cpp.

Definition at line 265 of file point_cloud_transformers.cpp.


Member Data Documentation

Definition at line 135 of file point_cloud_transformers.h.

Definition at line 131 of file point_cloud_transformers.h.

Definition at line 140 of file point_cloud_transformers.h.

Definition at line 137 of file point_cloud_transformers.h.

Definition at line 134 of file point_cloud_transformers.h.

Definition at line 139 of file point_cloud_transformers.h.

Definition at line 133 of file point_cloud_transformers.h.

Definition at line 138 of file point_cloud_transformers.h.

Definition at line 136 of file point_cloud_transformers.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Thu Jun 6 2019 18:02:17