COMPASSi/trunk/code/inc/Application/ToolUIFunction.h

129 lines
3.9 KiB
C
Raw Normal View History

2025-06-25 15:06:42 +08:00
#ifndef ToolUIFunction_H
#define ToolUIFunction_H
//#include <functional>
#include <QString>
#include <QMap>
#include <QObject>
#include "UIFunctionBase.h"
#include "FIFOContainer.h"
#include "MenuShipUIFunction.h"
class ToolUIFunction:public UIFunctionBase
{
Q_OBJECT
public slots:
// 定义槽
void onUpdate3dFunction(const QString message);
signals:
// 定义信号
void update3dFunction(const QString message); // 这是你可以发出的信号
public:
ToolUIFunction();
~ToolUIFunction();
void from(const QString& message);
void to(json);
void snap_start_point(const QString& message);
void snap_end_point(const QString& message);
void snap_line_point(const QString& message);
void snap_any_point(const QString& message);
void snap_cross_point(const QString& message);
void create_point(const QString &message);
void create_line(const QString &message);
void create_surface(const QString &message);
void create_solid(const QString &message);
void create_hull(const QString &message);
void create_unit(const QString &message);
void create_space(const QString &message);
void create_appendage(const QString &message);
void command_stream_modeling(const QString& message);
void setObjVisible(const QString& message);
void stab_model_editor_hydro_static(const QString &message);
void stab_model_editor_tank_cap(const QString &message);
void stab_model_editor_intact(const QString &message);
void stab_model_editor_allow_kg(const QString &message);
void stab_model_editor_damage(const QString &message);
void stab_model_editor_damage_prob(const QString &message);
void stab_model_editor_inclining(const QString &message);
void stab_model_editor_save(const QString &message);
void stab_model_editor_check(const QString &message);
void hull_show_tree(const QString &message);
void structure_show_tree(const QString &message);
void analysis_show_tree(const QString &message);
void certify_Tonnage(const QString &message);
void result_show_tree(const QString &message);
void cmd_copy(const QString &message);
void cmd_trim(const QString &message);
void cmd_join(const QString &message);
void cmd_delete(const QString &message);
void cmd_mirror(const QString &message);
void cmd_intersection(const QString &message);
void cmd_appendage(const QString &message);
void cmd_undo(const QString& message);
void cmd_redo(const QString& message);
//显示命令 命令
void cmd_tool_show_obj_command(const QString &message);
//显示 点、线 坐标 XYZ
void cmd_tool_show_pt_curve_xyz(const QString &message);
//显示曲线肋位坐标 #
void cmd_tool_show_curve_rib_crd(const QString &message);
//显示曲线站位点坐标 $
void cmd_tool_show_curve_station_points_crd(const QString &message);
//查找并定位图元
void cmd_tool_find_and_locate_obj(const QString &message);
//查询坐标
void cmd_tool_find_obj_crd(const QString &message);
//查询体积
void cmd_tool_find_obj_V(const QString &message);
void certify_save_Tonnage(const QString &message);
void certify_check_Tonnage(const QString &message);
void certify_create_cal(const QString &message);
void certify_cal(const QString &message);
void certify_delete_cal(const QString &message);
void certify_EEDI(const QString &message);
void certify_EEDI_save(const QString &message);
void certify_EEDI_check(const QString &message);
2025-06-25 17:44:40 +08:00
void calculate_section(const QString &message);
void calculate_diagonal(const QString &message);
void calculate_strut(const QString &message);
void calculate_strut_open(const QString &message);
void calculate_section_open(const QString &message);
void calculate_diagonal_open(const QString &message);
2025-06-25 15:06:42 +08:00
};
#endif // MessageHandle_H