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.
84 lines
2.4 KiB
C++
84 lines
2.4 KiB
C++
/**
|
|
*
|
|
* @file OperatorsGeoSphereManager.h
|
|
* @brief 球型几何操作器
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-08-14
|
|
*
|
|
*/
|
|
#ifndef _OperatorsGeoSphereManager_H
|
|
#define _OperatorsGeoSphereManager_H
|
|
|
|
#include "OperManagerBase.h"
|
|
|
|
namespace ModelOper
|
|
{
|
|
/**
|
|
* @brief 球型几何操作器
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-08-14
|
|
*/
|
|
class OperatorsGeoSphereManager :public OperManagerBase
|
|
{
|
|
Q_OBJECT;
|
|
public:
|
|
/**
|
|
* @brief Construct a new Operators Geo Sphere Manager object
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-08-14
|
|
*/
|
|
OperatorsGeoSphereManager();
|
|
/**
|
|
* @brief Destroy the Operators Geo Sphere Manager object
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-08-14
|
|
*/
|
|
~OperatorsGeoSphereManager();
|
|
/**
|
|
* @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();
|
|
/**
|
|
* @brief 其他事件执行
|
|
* @param[i] index 事件索引(自定义)
|
|
* @param[i] value 其他数据
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-08-01
|
|
*/
|
|
void eventProcess(int index, QVariant value) override;
|
|
private slots:
|
|
;
|
|
/**
|
|
* @brief 中心点选择事件
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-08-14
|
|
*/
|
|
void slotReselectCurrentPoint();
|
|
/**
|
|
* @brief 面组选择事件
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-08-14
|
|
*/
|
|
void slotSelectFaceGroup();
|
|
};
|
|
|
|
// 按钮注册相关操作
|
|
Register2FITKOPeratorRepo(actionGeoSphereCreate, OperatorsGeoSphereManager);
|
|
Register2FITKOPeratorRepo(actionGeoSphereEdit, OperatorsGeoSphereManager);
|
|
Register2FITKOPeratorRepo(actionGeoSphereDelete, OperatorsGeoSphereManager);
|
|
Register2FITKOPeratorRepo(actionGeoSphereRename, OperatorsGeoSphereManager);
|
|
}
|
|
|
|
#endif |