ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
qStepCADImport.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 // ##########################################################################
11 // # #
12 // # ACloudViewer PLUGIN: qSTEPCADImport #
13 // # #
14 // # This program is free software; you can redistribute it and/or modify #
15 // # it under the terms of the GNU General Public License as published by #
16 // # the Free Software Foundation; version 2 of the License. #
17 // # #
18 // # This program is distributed in the hope that it will be useful, #
19 // # but WITHOUT ANY WARRANTY; without even the implied warranty of #
20 // # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
21 // # GNU General Public License for more details. #
22 // # #
23 // # COPYRIGHT: EDF R&D #
24 // # #
25 // ##########################################################################
26 
27 #include <ecvIOPluginInterface.h>
28 
30 class qStepCADImport : public QObject, public ccIOPluginInterface {
31  Q_OBJECT
33 
34  Q_PLUGIN_METADATA(IID "ecvcorp.cloudviewer.plugin.qStepCADImport" FILE
35  "../info.json")
36 
37 public:
39  explicit qStepCADImport(QObject *parent = nullptr);
40 
41  // inherited from ccIOPluginInterface
42  void registerCommands(ccCommandLineInterface *inCmdLine) override;
43  FilterList getFilters() override;
44 };
Command line interface.
I/O filter plugin interface.
QVector< FileIOFilter::Shared > FilterList
Standard ECV plugin interface.
virtual void registerCommands(ccCommandLineInterface *cmd)
Optional: registers commands (for the command line mode)
Step file import plugin.