🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
UiODEIntegratorEditor.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include <QWidget>
25
26
class
QStackedWidget;
27
class
QDoubleSpinBox;
28
29
AST_NAMESPACE_BEGIN
30
31
class
ODEIntegrator;
32
class
ODEVarStepIntegrator;
33
class
UiODEVarStepIntegrator;
34
36
class
AST_GUI_API
UiODEIntegratorEditor
:
public
QWidget
37
{
38
Q_OBJECT
39
public
:
40
explicit
UiODEIntegratorEditor
(QWidget* parent =
nullptr
);
41
~UiODEIntegratorEditor
()
override
;
42
43
void
setIntegrator(
ODEIntegrator
* integrator);
44
ODEIntegrator
* getIntegrator()
const
;
45
void
apply();
46
void
clear();
47
48
signals:
49
void
integratorChanged(
ODEIntegrator
* integrator);
50
51
private
:
52
void
setupUi();
53
54
QStackedWidget* stack_ =
nullptr
;
55
QDoubleSpinBox* fixedStepEdit_ =
nullptr
;
56
int
fixedStepIdx_ = -1;
57
UiODEVarStepIntegrator
* varStepPage_ =
nullptr
;
58
int
varStepIdx_ = -1;
59
};
60
61
AST_NAMESPACE_END
ast::ODEIntegrator
ODE 积分器
定义
ODEIntegrator.hpp:83
ast::UiODEIntegratorEditor
ODE 积分器编辑器 — RTTI 类型分发 + 信号转发
定义
UiODEIntegratorEditor.hpp:37
ast::UiODEVarStepIntegrator
定义
UiODEVarStepIntegrator.hpp:28
src
AstGUI
Math
UiODEIntegratorEditor.hpp
制作者
1.12.0