PointCloudSegmentsTable.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <map>
4 
5 #include <QTableWidget>
6 
7 #include <pcl/point_cloud.h>
8 #include <pcl/point_types.h>
9 #include <pcl/PointIndices.h>
10 
11 #include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
12 
13 
14 namespace Ui
15 {
16  class PointCloudSegmentsTable;
17 }
18 
19 
20 namespace visionx
21 {
22 
23  class PointCloudSegmentsTable : public QTableWidget
24  {
25  Q_OBJECT
26 
27  public:
28  using Label = uint32_t;
29 
30  public:
31 
32  explicit PointCloudSegmentsTable(QWidget* parent = nullptr);
34 
35 
36  void setData(const pcl::PointCloud<pcl::PointXYZRGBL>& pointCloud, bool excludeZero = false);
37  void setData(const std::map<Label, pcl::PointIndices>& segmentMap);
38 
39 
40  private:
41 
42  Ui::PointCloudSegmentsTable* ui;
43 
44  };
45 
46 }
visionx
ArmarX headers.
Definition: OpenPoseStressTest.h:38
visionx::PointCloudSegmentsTable::Label
uint32_t Label
Definition: PointCloudSegmentsTable.h:28
Ui
ArmarX Headers.
Definition: ArmarXMainWindow.h:54
visionx::PointCloudSegmentsTable::PointCloudSegmentsTable
PointCloudSegmentsTable(QWidget *parent=nullptr)
Definition: PointCloudSegmentsTable.cpp:26
visionx::PointCloudSegmentsTable
Definition: PointCloudSegmentsTable.h:23
visionx::PointCloudSegmentsTable::setData
void setData(const pcl::PointCloud< pcl::PointXYZRGBL > &pointCloud, bool excludeZero=false)
Definition: PointCloudSegmentsTable.cpp:50
visionx::PointCloudSegmentsTable::~PointCloudSegmentsTable
~PointCloudSegmentsTable()
Definition: PointCloudSegmentsTable.cpp:44