kDB: Knowledge DataBase
Loading...
Searching...
No Matches
PointCloud.h
1#pragma once
2
3#include <knowValues/Values.h>
4#include <knowVis/Entity.h>
5
6namespace Qt3DCore
7{
8 class QGeometry;
9}
10
11namespace knowVis::Entities
12{
14 {
15 Q_OBJECT
16 Q_PROPERTY(knowValues::Values::PointCloud pointCloud READ pointCloud WRITE setPointCloud NOTIFY
17 pointCloudChanged)
18 Q_PROPERTY(knowVis::PointCloudMaterial* material READ material)
19 Q_PROPERTY(Qt3DCore::QGeometry* geometry READ geometry CONSTANT)
20 public:
21 PointCloud(Qt3DCore::QNode* _parent = nullptr);
23 knowValues::Values::PointCloud pointCloud() const;
24 void setPointCloud(const knowValues::Values::PointCloud& _frame);
25 knowVis::PointCloudMaterial* material() const { return m_pointCloudMaterial; }
26 Qt3DCore::QGeometry* geometry() const;
27 signals:
28 void pointCloudChanged();
29 private:
30 knowVis::PointCloudRenderer* m_pointCloudRenderer;
31 knowVis::PointCloudMaterial* m_pointCloudMaterial;
32 knowValues::Values::PointCloud m_frame;
33 knowVis::GeoTransform* m_transform;
34 };
35} // namespace knowVis::Entities
Definition PointCloud.h:14
Definition Entity.h:10
Definition GeoTransform.h:15
Definition PointCloudMaterial.h:8
Definition PointCloudRenderer.h:10