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