🛰️航天仿真算法库 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
UiODEIntegratorEditor
(
const
UiODEIntegratorEditor
&) =
delete
;
43
UiODEIntegratorEditor
& operator=(
const
UiODEIntegratorEditor
&) =
delete
;
44
45
void
setIntegrator(
ODEIntegrator
* integrator);
46
ODEIntegrator
* getIntegrator()
const
;
47
void
apply();
48
void
clear();
49
50
signals:
51
void
integratorChanged(
ODEIntegrator
* integrator);
52
53
private
:
54
void
setupUi();
55
56
QStackedWidget* stack_ =
nullptr
;
57
QDoubleSpinBox* fixedStepEdit_ =
nullptr
;
58
int
fixedStepIdx_ = -1;
59
UiODEVarStepIntegrator
* varStepPage_ =
nullptr
;
60
int
varStepIdx_ = -1;
61
};
62
63
AST_NAMESPACE_END
ast::ODEIntegrator
ODE 积分器
定义
ODEIntegrator.hpp:87
ast::UiODEIntegratorEditor
ODE 积分器编辑器 — RTTI 类型分发 + 信号转发
定义
UiODEIntegratorEditor.hpp:37
ast::UiODEVarStepIntegrator
定义
UiODEVarStepIntegrator.hpp:28
src
AstGUI
Math
UiODEIntegratorEditor.hpp
制作者
1.12.0