42 lines
863 B
C
42 lines
863 B
C
|
#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
|