You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @file OperatorsMeshManager.h
|
|
|
|
|
* @brief 网格相关操作器
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-08-14
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
#ifndef _OperatorsMeshManager_H
|
|
|
|
|
#define _OperatorsMeshManager_H
|
|
|
|
|
|
|
|
|
|
#include "OperManagerBase.h"
|
|
|
|
|
|
|
|
|
|
namespace ModelOper
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* @brief 网格相关操作器
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-08-14
|
|
|
|
|
*/
|
|
|
|
|
class OperatorsMeshManager :public OperManagerBase
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT;
|
|
|
|
|
public:
|
|
|
|
|
/**
|
|
|
|
|
* @brief Construct a new Operators Mesh Manager object
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-08-14
|
|
|
|
|
*/
|
|
|
|
|
OperatorsMeshManager() = default;
|
|
|
|
|
/**
|
|
|
|
|
* @brief Destroy the Operators Mesh Manager object
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-08-14
|
|
|
|
|
*/
|
|
|
|
|
~OperatorsMeshManager() = default;
|
|
|
|
|
/**
|
|
|
|
|
* @brief 执行
|
|
|
|
|
* @return true 成功
|
|
|
|
|
* @return false 失败
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-08-14
|
|
|
|
|
*/
|
|
|
|
|
virtual bool execGUI();
|
|
|
|
|
/**
|
|
|
|
|
* @brief 执行结果处理
|
|
|
|
|
* @return true 成功
|
|
|
|
|
* @return false 失败
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-08-14
|
|
|
|
|
*/
|
|
|
|
|
virtual bool execProfession();
|
|
|
|
|
protected:
|
|
|
|
|
/**
|
|
|
|
|
* @brief 读取网格
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-08-14
|
|
|
|
|
*/
|
|
|
|
|
void readMesh();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 按钮注册相关操作
|
|
|
|
|
Register2FITKOPeratorRepo(actionClearMesh, OperatorsMeshManager);
|
|
|
|
|
Register2FITKOPeratorRepo(actionMesh, OperatorsMeshManager);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|