/** * * @file OperatorsGeoBool.h * @brief 几何布尔运算操作器 * @author BaGuijun (baguijun@163.com) * @date 2024-08-14 * */ #ifndef _OperatorsGeoBool_H #define _OperatorsGeoBool_H #include "OperManagerBase.h" namespace ModelOper { /** * @brief 几何布尔运算操作器 * @author BaGuijun (baguijun@163.com) * @date 2024-08-14 */ class OperatorsGeoBool :public OperManagerBase { Q_OBJECT; public: /** * @brief Construct a new Operators Geo Bool object * @author BaGuijun (baguijun@163.com) * @date 2024-08-14 */ OperatorsGeoBool(); /** * @brief Destroy the Operators Geo Bool object * @author BaGuijun (baguijun@163.com) * @date 2024-08-14 */ ~OperatorsGeoBool(); /** * @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 = QVariant()) override; private slots: ; /** * @brief 面组选择槽函数 * @author BaGuijun (baguijun@163.com) * @date 2024-08-14 */ void slotSelectFaceGroup(); }; // 按钮注册相关操作 Register2FITKOPeratorRepo(actionGeoBoolFause, OperatorsGeoBool); Register2FITKOPeratorRepo(actionGeoBoolCut, OperatorsGeoBool); Register2FITKOPeratorRepo(actionGeoBoolCommon, OperatorsGeoBool); Register2FITKOPeratorRepo(actionGeoBoolOrImportEdit, OperatorsGeoBool); Register2FITKOPeratorRepo(actionGeoBoolOrImportDelete, OperatorsGeoBool); } #endif