#include <pcl/io/pcd_grabber.h>
#include <pcl/console/parse.h>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/thread/thread.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <pcl/console/print.h>
#include <pcl/visualization/cloud_viewer.h>
#include <pcl/visualization/image_viewer.h>
Go to the source code of this file.
Classes | |
struct | EventHelper |
Functions | |
void | keyboard_callback (const pcl::visualization::KeyboardEvent &event, void *) |
int | main (int argc, char **argv) |
void | mouse_callback (const pcl::visualization::MouseEvent &mouse_event, void *cookie) |
void | printHelp (int, char **argv) |
Variables | |
pcl::PointCloud < pcl::PointXYZRGBA > ::ConstPtr | cloud_ |
boost::shared_ptr < pcl::visualization::PCLVisualizer > | cloud_viewer |
std::vector< double > | fcolor_b |
std::vector< double > | fcolor_g |
std::vector< double > | fcolor_r |
bool | fcolorparam = false |
boost::shared_ptr < pcl::PCDGrabber < pcl::PointXYZRGBA > > | grabber |
boost::shared_ptr < pcl::visualization::ImageViewer > | img_viewer |
boost::mutex | mutex_ |
void keyboard_callback | ( | const pcl::visualization::KeyboardEvent & | event, |
void * | |||
) |
If SPACE is pressed, trigger new cloud callback (only works if framerate is set to 0)
Definition at line 96 of file pcd_grabber_viewer.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 115 of file pcd_grabber_viewer.cpp.
void mouse_callback | ( | const pcl::visualization::MouseEvent & | mouse_event, |
void * | cookie | ||
) |
Definition at line 104 of file pcd_grabber_viewer.cpp.
void printHelp | ( | int | , |
char ** | argv | ||
) |
Definition at line 59 of file pcd_grabber_viewer.cpp.
pcl::PointCloud<pcl::PointXYZRGBA>::ConstPtr cloud_ |
Definition at line 56 of file pcd_grabber_viewer.cpp.
boost::shared_ptr<pcl::visualization::PCLVisualizer> cloud_viewer |
Definition at line 74 of file pcd_grabber_viewer.cpp.
std::vector<double> fcolor_b |
Definition at line 79 of file pcd_grabber_viewer.cpp.
std::vector<double> fcolor_g |
Definition at line 79 of file pcd_grabber_viewer.cpp.
std::vector<double> fcolor_r |
Definition at line 79 of file pcd_grabber_viewer.cpp.
bool fcolorparam = false |
Definition at line 80 of file pcd_grabber_viewer.cpp.
boost::shared_ptr<pcl::PCDGrabber<pcl::PointXYZRGBA> > grabber |
Definition at line 55 of file pcd_grabber_viewer.cpp.
boost::shared_ptr<pcl::visualization::ImageViewer> img_viewer |
Definition at line 76 of file pcd_grabber_viewer.cpp.
boost::mutex mutex_ |
Definition at line 54 of file pcd_grabber_viewer.cpp.