LAMPCAE/src/PluginWBFZExchangePlugin/WBFZExchangePlugin.h

42 lines
863 B
C
Raw Normal View History

2024-04-07 16:19:33 +00:00
#ifndef _WBFZEXCHANGEPLUGIN_H_
#define _WBFZEXCHANGEPLUGIN_H_
#include "WBFZExchangePluginAPI.h"
#include "PluginManager/pluginBase.h"
namespace WBFZ
{
enum PointCloudOperation
{
POINTCLOUD_NONE,
POINTCLOUD_FILTER,
POINTCLOUD_MESH
};
class WBFZAPI WBFZExchangePlugin : public Plugins::PluginBase
{
public:
WBFZExchangePlugin(GUI::MainWindow* m);
~WBFZExchangePlugin() = default;
bool install();
bool uninstall();
void reTranslate(QString);
static GUI::MainWindow* getMWpt();
private:
static GUI::MainWindow* _mainwindow;
};
}
extern "C"
{
void WBFZAPI Register(GUI::MainWindow* m, QList<Plugins::PluginBase*>* plugs);
//函数返回值是无效的,不要通过返回值判断
bool WBFZAPI CGNSimportMesh(QString AbFileName, int modelId);
bool WBFZAPI MSHimportMesh(QString AbFileName, int modelId);
}
#endif