9 #include <pcl/point_cloud.h>
10 #include <pcl/point_types.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_;
void saveFileButtonPressed()
Triggered whenever the "Save file" button is clicked.
boost::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.
int filtering_axis_
0 = x | 1 = y | 2 = z
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.
boost::shared_ptr< pcl::visualization::PCLVisualizer > viewer_
The PCL visualizer object.
int color_mode_
Holds the color mode for colorCloudDistances.