#ifndef DUST3D_APPLICATION_MESH_GENERATOR_H_ #define DUST3D_APPLICATION_MESH_GENERATOR_H_ #include "model_mesh.h" #include "monochrome_mesh.h" #include #include #include #include class MeshGenerator : public QObject, public dust3d::MeshGenerator { Q_OBJECT public: MeshGenerator(dust3d::Snapshot* snapshot); ~MeshGenerator(); ModelMesh* takeResultMesh(); std::map>* takeComponentPreviewMeshes(); MonochromeMesh* takeWireframeMesh(); public slots: void process(); signals: void finished(); private: std::unique_ptr m_resultMesh; std::unique_ptr>> m_componentPreviewMeshes; std::unique_ptr m_wireframeMesh; }; #endif