Point Cloud Library (PCL)  1.14.0-dev
pclviewer.h
1 #pragma once
2 
3 #include <iostream>
4 
5 // Qt
6 #include <QMainWindow>
7 
8 // Point Cloud Library
9 #include <pcl/point_cloud.h>
10 #include <pcl/point_types.h>
11 #include <pcl/visualization/pcl_visualizer.h>
12 
15 
16 namespace Ui
17 {
18  class PCLViewer;
19 }
20 
21 class PCLViewer : public QMainWindow
22 {
23  Q_OBJECT
24 
25 public:
26  explicit PCLViewer (QWidget *parent = 0);
28 
29 public Q_SLOTS:
30  void
32 
33  void
35 
36  void
37  pSliderValueChanged (int value);
38 
39  void
40  redSliderValueChanged (int value);
41 
42  void
44 
45  void
47 
48 protected:
49  void
51 
54 
55  unsigned int red;
56  unsigned int green;
57  unsigned int blue;
58 
59 private:
60  Ui::PCLViewer *ui;
61 };
void refreshView()
void RGBsliderReleased()
PCLViewer(QWidget *parent=0)
pcl::visualization::PCLVisualizer::Ptr viewer
Definition: pclviewer.h:52
void blueSliderValueChanged(int value)
void randomButtonPressed()
void pSliderValueChanged(int value)
PointCloudT::Ptr cloud
Definition: pclviewer.h:53
void redSliderValueChanged(int value)
unsigned int blue
Definition: pclviewer.h:57
void greenSliderValueChanged(int value)
unsigned int green
Definition: pclviewer.h:56
unsigned int red
Definition: pclviewer.h:55
PointCloud represents the base class in PCL for storing collections of 3D points.
Definition: point_cloud.h:173
shared_ptr< PointCloud< PointT > > Ptr
Definition: point_cloud.h:413
shared_ptr< PCLVisualizer > Ptr
Defines all the PCL implemented PointT point type structures.
Definition: pclviewer.h:22
A point structure representing Euclidean xyz coordinates, and the RGBA color.
A point structure representing Euclidean xyz coordinates, and the RGB color.