Point Cloud Library (PCL)
1.10.1
|
8 #include <pcl/point_cloud.h>
10 #include <pcl/io/ply_io.h>
11 #include <pcl/io/pcd_io.h>
12 #include <pcl/filters/filter.h>
13 #include <pcl/visualization/pcl_visualizer.h>
16 #include <boost/math/special_functions/round.hpp>
19 #include <vtkRenderWindow.h>
int color_mode_
Holds the color mode for colorCloudDistances.
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.
shared_ptr< PCLVisualizer > Ptr
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...
shared_ptr< PointCloud< PointT > > Ptr
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.
pcl::visualization::PCLVisualizer::Ptr viewer_
The PCL visualizer object.
int filtering_axis_
0 = x | 1 = y | 2 = z