#ifndef SVPOINTCLOUDVIEWMODEL_H #define SVPOINTCLOUDVIEWMODEL_H #include #include "svpointcloud.h" class SvApplicationContext : public QObject { Q_OBJECT public: explicit SvApplicationContext(QObject *parent = 0); void setPointCloud(SvPointCloud *pointCloud) { m_pointCloud = pointCloud; } Q_INVOKABLE SvPointCloud* getPointCloud() { return m_pointCloud; } private: SvPointCloud *m_pointCloud; }; #endif // SVPOINTCLOUDVIEWMODEL_H