Loading...
Searching...
No Matches
pclviewer.h
#pragma once
#include <iostream>
// Qt
#include <QMainWindow>
// Point Cloud Library
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/visualization/pcl_visualizer.h>
typedef pcl::PointXYZRGBA PointT;
typedef pcl::PointCloud<PointT> PointCloudT;
namespace Ui
{
class PCLViewer;
}
class PCLViewer : public QMainWindow
{
Q_OBJECT
public:
explicit PCLViewer (QWidget *parent = 0);
~PCLViewer ();
public Q_SLOTS:
void
randomButtonPressed ();
void
RGBsliderReleased ();
void
pSliderValueChanged (int value);
void
redSliderValueChanged (int value);
void
greenSliderValueChanged (int value);
void
blueSliderValueChanged (int value);
protected:
void
refreshView();
pcl::visualization::PCLVisualizer::Ptr viewer;
PointCloudT::Ptr cloud;
unsigned int red;
unsigned int green;
unsigned int blue;
private:
Ui::PCLViewer *ui;
};
PCLViewer
Definition pclviewer.h:27
PCLViewer::refreshView
void refreshView()
PCLViewer::RGBsliderReleased
void RGBsliderReleased()
PCLViewer::PCLViewer
PCLViewer(QWidget *parent=0)
PCLViewer::viewer
pcl::visualization::PCLVisualizer::Ptr viewer
Definition pclviewer.h:52
PCLViewer::blueSliderValueChanged
void blueSliderValueChanged(int value)
PCLViewer::randomButtonPressed
void randomButtonPressed()
PCLViewer::pSliderValueChanged
void pSliderValueChanged(int value)
PCLViewer::cloud
PointCloudT::Ptr cloud
Definition pclviewer.h:53
PCLViewer::redSliderValueChanged
void redSliderValueChanged(int value)
PCLViewer::~PCLViewer
~PCLViewer()
PCLViewer::blue
unsigned int blue
Definition pclviewer.h:57
PCLViewer::greenSliderValueChanged
void greenSliderValueChanged(int value)
PCLViewer::green
unsigned int green
Definition pclviewer.h:56
PCLViewer::red
unsigned int red
Definition pclviewer.h:55
pcl::PointCloud
PointCloud represents the base class in PCL for storing collections of 3D points.
Definition point_cloud.h:173
pcl::PointCloud::Ptr
shared_ptr< PointCloud< PointT > > Ptr
Definition point_cloud.h:413
pcl::visualization::PCLVisualizer::Ptr
shared_ptr< PCLVisualizer > Ptr
Definition pcl_visualizer.h:96
point_types.h
Defines all the PCL implemented PointT point type structures.
Ui
Definition pclviewer.h:22
pcl::PointXYZRGBA
A point structure representing Euclidean xyz coordinates, and the RGBA color.
Definition point_types.hpp:528
pcl::PointXYZRGB
A point structure representing Euclidean xyz coordinates, and the RGB color.
Definition point_types.hpp:594