ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
actorexporter.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <QRunnable>
11 #include <QString>
12 
13 #include "../qPCL.h"
14 
15 class vtkActor;
16 namespace VtkUtils {
17 
18 class QPCL_ENGINE_LIB_API ActorExporter : public QRunnable {
19 public:
20  ActorExporter(vtkActor* actor, const QString& file);
21 
22  void run();
23 
24 protected:
25  vtkActor* m_actor = nullptr;
26  QString m_exportFile;
27 };
28 
29 } // namespace VtkUtils
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15