Point Cloud Library (PCL)  1.8.1
pclviewer.h
1 #ifndef PCLVIEWER_H
2 #define PCLVIEWER_H
3 
4 #include <iostream>
5 
6 // Qt
7 #include <QMainWindow>
8 
9 // Point Cloud Library
10 #include <pcl/point_cloud.h>
11 #include <pcl/point_types.h>
12 #include <pcl/visualization/pcl_visualizer.h>
13 
14 // Visualization Toolkit (VTK)
15 #include <vtkRenderWindow.h>
16 
19 
20 namespace Ui
21 {
22  class PCLViewer;
23 }
24 
25 class PCLViewer : public QMainWindow
26 {
27  Q_OBJECT
28 
29 public:
30  explicit PCLViewer (QWidget *parent = 0);
31  ~PCLViewer ();
32 
33 public Q_SLOTS:
34  void
36 
37  void
39 
40  void
41  pSliderValueChanged (int value);
42 
43  void
44  redSliderValueChanged (int value);
45 
46  void
47  greenSliderValueChanged (int value);
48 
49  void
50  blueSliderValueChanged (int value);
51 
52 protected:
53  boost::shared_ptr<pcl::visualization::PCLVisualizer> viewer;
55 
56  unsigned int red;
57  unsigned int green;
58  unsigned int blue;
59 
60 private:
61  Ui::PCLViewer *ui;
62 
63 };
64 
65 #endif // PCLVIEWER_H
void redSliderValueChanged(int value)
Definition: pclviewer.h:25
PointCloudT::Ptr cloud
Definition: pclviewer.h:54
~PCLViewer()
Destructor.
A point structure representing Euclidean xyz coordinates, and the RGBA color.
unsigned int blue
Definition: pclviewer.h:58
boost::shared_ptr< PointCloud< PointT > > Ptr
Definition: point_cloud.h:428
boost::shared_ptr< pcl::visualization::PCLVisualizer > viewer
Definition: pclviewer.h:53
unsigned int red
Definition: pclviewer.h:56
void RGBsliderReleased()
unsigned int green
Definition: pclviewer.h:57
PCLViewer(QWidget *parent=0)
Constructor.
Defines all the PCL implemented PointT point type structures.
void greenSliderValueChanged(int value)
void randomButtonPressed()
void pSliderValueChanged(int value)
PointCloud represents the base class in PCL for storing collections of 3D points. ...
void blueSliderValueChanged(int value)
A point structure representing Euclidean xyz coordinates, and the RGB color.