Point Cloud Library (PCL)  1.10.1
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 
13 // Visualization Toolkit (VTK)
14 #include <vtkRenderWindow.h>
15 
18 
19 namespace Ui
20 {
21  class PCLViewer;
22 }
23 
24 class PCLViewer : public QMainWindow
25 {
26  Q_OBJECT
27 
28 public:
29  explicit PCLViewer (QWidget *parent = 0);
30  ~PCLViewer ();
31 
32 public Q_SLOTS:
33  void
35 
36  void
38 
39  void
40  pSliderValueChanged (int value);
41 
42  void
43  redSliderValueChanged (int value);
44 
45  void
46  greenSliderValueChanged (int value);
47 
48  void
49  blueSliderValueChanged (int value);
50 
51 protected:
54 
55  unsigned int red;
56  unsigned int green;
57  unsigned int blue;
58 
59 private:
60  Ui::PCLViewer *ui;
61 
62 };
PCLViewer::redSliderValueChanged
void redSliderValueChanged(int value)
PCLViewer::blueSliderValueChanged
void blueSliderValueChanged(int value)
point_types.h
PCLViewer::viewer
pcl::visualization::PCLVisualizer::Ptr viewer
Definition: pclviewer.h:52
PCLViewer::randomButtonPressed
void randomButtonPressed()
pcl::PointCloud
PointCloud represents the base class in PCL for storing collections of 3D points.
Definition: projection_matrix.h:52
pcl::PointXYZRGB
A point structure representing Euclidean xyz coordinates, and the RGB color.
Definition: point_types.hpp:620
PCLViewer::blue
unsigned int blue
Definition: pclviewer.h:57
PCLViewer::green
unsigned int green
Definition: pclviewer.h:56
pcl::PointXYZRGBA
A point structure representing Euclidean xyz coordinates, and the RGBA color.
Definition: point_types.hpp:545
PCLViewer::RGBsliderReleased
void RGBsliderReleased()
PCLViewer::pSliderValueChanged
void pSliderValueChanged(int value)
PCLViewer::red
unsigned int red
Definition: pclviewer.h:55
pcl::visualization::PCLVisualizer::Ptr
shared_ptr< PCLVisualizer > Ptr
Definition: pcl_visualizer.h:89
Ui
Definition: ui_help_window.h:234
PCLViewer::cloud
PointCloudT::Ptr cloud
Definition: pclviewer.h:53
pcl::PointCloud::Ptr
shared_ptr< PointCloud< PointT > > Ptr
Definition: point_cloud.h:415
PCLViewer
Definition: pclviewer.h:29
PCLViewer::PCLViewer
PCLViewer(QWidget *parent=0)
Constructor.
PCLViewer::greenSliderValueChanged
void greenSliderValueChanged(int value)
PCLViewer::~PCLViewer
~PCLViewer()
Destructor.