Point Cloud Library (PCL)
1.9.1
|
9 #include <pcl/point_cloud.h>
11 #include <pcl/io/ply_io.h>
12 #include <pcl/io/pcd_io.h>
13 #include <pcl/filters/filter.h>
14 #include <pcl/visualization/pcl_visualizer.h>
17 #include <boost/math/special_functions/round.hpp>
20 #include <vtkRenderWindow.h>
61 boost::shared_ptr<pcl::visualization::PCLVisualizer>
viewer_;
boost::shared_ptr< PointCloud< PointT > > Ptr
int color_mode_
Holds the color mode for colorCloudDistances.
boost::shared_ptr< pcl::visualization::PCLVisualizer > viewer_
The PCL visualizer object.
PointCloudT::Ptr cloud_
The point cloud displayed.
PointCloud represents the base class in PCL for storing collections of 3D points.
A point structure representing Euclidean xyz coordinates, and the RGB color.
void saveFileButtonPressed()
Triggered whenever the "Save file" button is clicked.
A point structure representing Euclidean xyz coordinates, and the RGBA color.
void colorCloudDistances()
Color point cloud on X,Y or Z axis using a Look-Up Table (LUT) Computes a LUT and color the cloud acc...
void lookUpTableChosen()
Triggered whenever a button in the "Color mode" group is clicked.
void loadFileButtonPressed()
Triggered whenever the "Load file" button is clicked.
void axisChosen()
Triggered whenever a button in the "Color on axis" group is clicked.
PCLViewer(QWidget *parent=0)
Constructor.
int filtering_axis_
0 = x | 1 = y | 2 = z