#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>
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 52 of file pointcloud_viewer.cpp.
typedef pcl::PointCloud<Point> PointCloud |
Definition at line 53 of file pointcloud_viewer.cpp.
typedef pcl::PointCloud<PointRGB> PointCloudRGB |
Definition at line 55 of file pointcloud_viewer.cpp.
typedef pcl::PointXYZRGB PointRGB |
Definition at line 54 of file pointcloud_viewer.cpp.
void cloud_cb | ( | const sensor_msgs::PointCloud2ConstPtr & | cloud | ) |
Definition at line 63 of file pointcloud_viewer.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 186 of file pointcloud_viewer.cpp.
void sigIntHandler | ( | int | sig | ) |
Definition at line 180 of file pointcloud_viewer.cpp.
void updateVisualization | ( | ) |
Definition at line 73 of file pointcloud_viewer.cpp.
sensor_msgs::PointCloud2ConstPtr cloud_ |
Definition at line 58 of file pointcloud_viewer.cpp.
sensor_msgs::PointCloud2ConstPtr cloud_old_ |
Definition at line 58 of file pointcloud_viewer.cpp.
int counter_ |
Definition at line 61 of file pointcloud_viewer.cpp.
boost::mutex m |
Definition at line 59 of file pointcloud_viewer.cpp.
bool viewer_initialized_ |
Definition at line 60 of file pointcloud_viewer.cpp.