#include <pcl/io/image_grabber.h>
#include <pcl/console/parse.h>
#include <pcl/console/print.h>
#include <pcl/visualization/boost.h>
#include <pcl/visualization/cloud_viewer.h>
#include <pcl/visualization/image_viewer.h>
#include <pcl/io/pcd_io.h>
Go to the source code of this file.
Classes | |
struct | EventHelper |
Defines | |
#define | DISPLAY_IMAGE |
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::ImageGrabber < pcl::PointXYZRGBA > > | grabber |
boost::shared_ptr < pcl::visualization::ImageViewer > | img_viewer |
boost::mutex | mutex_ |
#define DISPLAY_IMAGE |
Definition at line 48 of file image_grabber_viewer.cpp.
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 111 of file image_grabber_viewer.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 130 of file image_grabber_viewer.cpp.
void mouse_callback | ( | const pcl::visualization::MouseEvent & | mouse_event, |
void * | cookie | ||
) |
Definition at line 119 of file image_grabber_viewer.cpp.
void printHelp | ( | int | , |
char ** | argv | ||
) |
Definition at line 60 of file image_grabber_viewer.cpp.
pcl::PointCloud<pcl::PointXYZRGBA>::ConstPtr cloud_ |
Definition at line 57 of file image_grabber_viewer.cpp.
boost::shared_ptr<pcl::visualization::PCLVisualizer> cloud_viewer |
Definition at line 85 of file image_grabber_viewer.cpp.
std::vector<double> fcolor_b |
Definition at line 90 of file image_grabber_viewer.cpp.
std::vector<double> fcolor_g |
Definition at line 90 of file image_grabber_viewer.cpp.
std::vector<double> fcolor_r |
Definition at line 90 of file image_grabber_viewer.cpp.
bool fcolorparam = false |
Definition at line 91 of file image_grabber_viewer.cpp.
boost::shared_ptr<pcl::ImageGrabber<pcl::PointXYZRGBA> > grabber |
Definition at line 56 of file image_grabber_viewer.cpp.
boost::shared_ptr<pcl::visualization::ImageViewer> img_viewer |
Definition at line 87 of file image_grabber_viewer.cpp.
boost::mutex mutex_ |
Definition at line 55 of file image_grabber_viewer.cpp.