ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
qFBXIO.cpp
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 #include "qFBXIO.h"
9 
10 #include "FBXCommand.h"
11 #include "FBXFilter.h"
12 
13 qFBXIO::qFBXIO(QObject *parent)
14  : QObject(parent), ccIOPluginInterface(":/CC/plugin/qFBXIO/info.json") {}
15 
17  cmd->registerCommand(
19 }
20 
21 ccIOPluginInterface::FilterList qFBXIO::getFilters() {
22  return {FileIOFilter::Shared(new FBXFilter)};
23 }
Autodesk FBX format I/O filter.
Definition: FBXFilter.h:15
QSharedPointer< FileIOFilter > Shared
Shared type.
Definition: FileIOFilter.h:97
Command line interface.
virtual bool registerCommand(Command::Shared command)=0
Registers a new command.
I/O filter plugin interface.
QVector< FileIOFilter::Shared > FilterList
virtual void registerCommands(ccCommandLineInterface *cmd)
Optional: registers commands (for the command line mode)
QSharedPointer< Command > Shared
Shared type.