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> void saveFileButtonPressed()
Triggered whenever the "Save file" button is clicked.
shared_ptr< PointCloud< PointT > > Ptr
void loadFileButtonPressed()
Triggered whenever the "Load file" button is clicked.
void axisChosen()
Triggered whenever a button in the "Color on axis" group is clicked.
PointCloudT::Ptr cloud_
The point cloud displayed.
A point structure representing Euclidean xyz coordinates, and the RGBA color.
void lookUpTableChosen()
Triggered whenever a button in the "Color mode" group is clicked.
PCLViewer(QWidget *parent=0)
Constructor.
shared_ptr< PCLVisualizer > Ptr
Defines all the PCL implemented PointT point type structures.
int filtering_axis_
0 = x | 1 = y | 2 = z
pcl::visualization::PCLVisualizer::Ptr viewer_
The PCL visualizer object.
PointCloud represents the base class in PCL for storing collections of 3D points. ...
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...
A point structure representing Euclidean xyz coordinates, and the RGB color.
int color_mode_
Holds the color mode for colorCloudDistances.