ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
qDracoIO.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 // # CloudViewer #
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 or later 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: ACloudViewer project #
24 // # #
25 // ##########################################################################
26 
27 #include <ecvIOPluginInterface.h>
28 
29 class qDracoIO : public QObject, public ccIOPluginInterface {
30  Q_OBJECT
32 
33  Q_PLUGIN_METADATA(IID "cccorp.cloudviewer.plugin.qDracoIO" FILE
34  "../info.json")
35 
36 public:
37  explicit qDracoIO(QObject *parent = nullptr);
38 
39  void registerCommands(ccCommandLineInterface *cmd) override;
40 
41  FilterList getFilters() override;
42 };
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)