feat: v0.1.0更新
This commit is contained in:
27
include/gui/PointCloudWidget.h
Normal file
27
include/gui/PointCloudWidget.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef POINTCLOUDWIDGET_H
|
||||
#define POINTCLOUDWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QLabel>
|
||||
#include <pcl/point_cloud.h>
|
||||
#include <pcl/point_types.h>
|
||||
|
||||
class PointCloudGLWidget;
|
||||
|
||||
class PointCloudWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit PointCloudWidget(QWidget *parent = nullptr);
|
||||
~PointCloudWidget();
|
||||
|
||||
// 更新点云显示
|
||||
void updatePointCloud(pcl::PointCloud<pcl::PointXYZ>::Ptr cloud);
|
||||
|
||||
private:
|
||||
QLabel *m_statusLabel;
|
||||
PointCloudGLWidget *m_glWidget;
|
||||
};
|
||||
|
||||
#endif // POINTCLOUDWIDGET_H
|
||||
Reference in New Issue
Block a user