#include <signal.h>
#include <ros/ros.h>
#include <std_msgs/String.h>
#include <boost/thread/mutex.hpp>
#include <boost/thread.hpp>
#include <pcl/point_types.h>
#include <pcl_ros/point_cloud.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/features/feature.h>
#include <pcl/common/centroid.h>
Go to the source code of this file.
Typedefs | |
typedef pcl::PointXYZ | Point |
typedef pcl::PointCloud< Point > | PointCloud |
typedef pcl::PointCloud< PointRGB > | PointCloudRGB |
typedef pcl::PointXYZRGB | PointRGB |
Functions | |
void | cloud_cb (const sensor_msgs::PointCloud2ConstPtr &cloud) |
int | main (int argc, char **argv) |
void | sigIntHandler (int sig) |
void | updateVisualization () |
Variables | |
sensor_msgs::PointCloud2ConstPtr | cloud_ |
sensor_msgs::PointCloud2ConstPtr | cloud_old_ |
int | counter_ |
boost::mutex | m |
bool | viewer_initialized_ |
typedef pcl::PointXYZ Point |
Definition at line 53 of file pointcloud_viewer.cpp.
typedef pcl::PointCloud<Point> PointCloud |
Definition at line 54 of file pointcloud_viewer.cpp.
typedef pcl::PointCloud<PointRGB> PointCloudRGB |
Definition at line 56 of file pointcloud_viewer.cpp.
typedef pcl::PointXYZRGB PointRGB |
Definition at line 55 of file pointcloud_viewer.cpp.
void cloud_cb | ( | const sensor_msgs::PointCloud2ConstPtr & | cloud | ) |
Definition at line 64 of file pointcloud_viewer.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 187 of file pointcloud_viewer.cpp.
void sigIntHandler | ( | int | sig | ) |
Definition at line 181 of file pointcloud_viewer.cpp.
void updateVisualization | ( | ) |
Definition at line 74 of file pointcloud_viewer.cpp.
sensor_msgs::PointCloud2ConstPtr cloud_ |
Definition at line 59 of file pointcloud_viewer.cpp.
sensor_msgs::PointCloud2ConstPtr cloud_old_ |
Definition at line 59 of file pointcloud_viewer.cpp.
int counter_ |
Definition at line 62 of file pointcloud_viewer.cpp.
boost::mutex m |
Definition at line 60 of file pointcloud_viewer.cpp.
bool viewer_initialized_ |
Definition at line 61 of file pointcloud_viewer.cpp.