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