Typedefs | Functions | Variables
pointcloud_viewer.cpp File Reference
#include <signal.h>
#include <ros/ros.h>
#include <std_msgs/String.h>
#include <boost/thread/mutex.hpp>
#include <boost/thread.hpp>
#include <pcl/common/centroid.h>
#include <pcl/point_types.h>
#include <pcl_ros/point_cloud.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/features/feature.h>
#include <pcl/io/pcd_io.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/filters/passthrough.h>
Include dependency graph for pointcloud_viewer.cpp:

Go to the source code of this file.

Typedefs

typedef pcl::PointXYZ Point
typedef pcl::PointCloud< PointPointCloud
typedef pcl::PointCloud< PointRGBPointCloudRGB
typedef pcl::PointXYZRGB PointRGB

Functions

void cloud_cb (const sensor_msgs::PointCloud2ConstPtr &cloud)
PointCloudRGB::Ptr filter (PointCloudRGB::Ptr cloud, double voxel_size)
void keyboardEventOccurred (const pcl::visualization::KeyboardEvent &event, void *nothing)
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
std::string pcd_filename_
bool save_cloud_
bool viewer_initialized_

Typedef Documentation

typedef pcl::PointXYZ Point

Definition at line 56 of file pointcloud_viewer.cpp.

Definition at line 57 of file pointcloud_viewer.cpp.

Definition at line 59 of file pointcloud_viewer.cpp.

typedef pcl::PointXYZRGB PointRGB

Definition at line 58 of file pointcloud_viewer.cpp.


Function Documentation

void cloud_cb ( const sensor_msgs::PointCloud2ConstPtr &  cloud)

Definition at line 69 of file pointcloud_viewer.cpp.

PointCloudRGB::Ptr filter ( PointCloudRGB::Ptr  cloud,
double  voxel_size 
)

Definition at line 79 of file pointcloud_viewer.cpp.

void keyboardEventOccurred ( const pcl::visualization::KeyboardEvent &  event,
void *  nothing 
)

Definition at line 97 of file pointcloud_viewer.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 237 of file pointcloud_viewer.cpp.

void sigIntHandler ( int  sig)

Definition at line 231 of file pointcloud_viewer.cpp.

Definition at line 103 of file pointcloud_viewer.cpp.


Variable Documentation

sensor_msgs::PointCloud2ConstPtr cloud_

Definition at line 62 of file pointcloud_viewer.cpp.

sensor_msgs::PointCloud2ConstPtr cloud_old_

Definition at line 62 of file pointcloud_viewer.cpp.

int counter_

Definition at line 67 of file pointcloud_viewer.cpp.

boost::mutex m

Definition at line 63 of file pointcloud_viewer.cpp.

std::string pcd_filename_

Definition at line 66 of file pointcloud_viewer.cpp.

Definition at line 65 of file pointcloud_viewer.cpp.

Definition at line 64 of file pointcloud_viewer.cpp.



pointcloud_tools
Author(s): Pep Lluis Negre
autogenerated on Fri Aug 28 2015 13:15:25