🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
ReportStyle.hpp
浏览该文件的文档.
1
21
22
#pragma once
23
24
#include "AstGlobal.h"
25
#include "
ReportSection.hpp
"
26
#include "AstUtil/Color.hpp"
27
28
#include <string>
29
#include <vector>
30
31
AST_NAMESPACE_BEGIN
32
38
// 枚举定义见 ReportElement.hpp
39
43
class
AST_REPORT_API
ReportStyle
44
{
45
public
:
46
// ---- 标识 ----
47
std::string
name_
;
48
std::string
className_
;
49
50
// ---- 文件头属性 ----
51
EStyleType
styleType_ = EStyleType::eTabular;
52
std::string
title_
;
53
bool
showDate_ =
true
;
54
bool
showName_ =
true
;
55
bool
showDescShort_ =
false
;
56
bool
showDescLong_ =
false
;
57
58
// ---- 坐标轴/比例 ----
59
bool
yLog10_ =
false
;
60
bool
y2Log10_ =
false
;
61
bool
verticalGridLines_ =
false
;
62
bool
horizontalGridLines_ =
false
;
63
int
numAnnotations_ = 3;
64
int
annotationRotation_ = 1;
65
66
// ---- 外观 ----
67
Color
backgroundColor_ =
Color
(0xFFFFFFFF);
68
double
viewableDuration_ = 0.0;
69
bool
realTimeMode_ =
false
;
70
bool
readOnlyMode_ =
false
;
71
int
dayLinesStatus_ = 1;
72
int
legendStatus_ = 1;
73
74
// ---- 数据段 ----
75
std::vector<ReportSection> sections_;
76
};
77
80
AST_NAMESPACE_END
ReportSection.hpp
报表数据段定义
ast::Color
颜色类
定义
Color.hpp:87
ast::ReportStyle
报表样式
定义
ReportStyle.hpp:44
ast::ReportStyle::name_
std::string name_
报表名称(如 "Classical Orbit Elements")
定义
ReportStyle.hpp:47
ast::ReportStyle::title_
std::string title_
报表标题
定义
ReportStyle.hpp:52
ast::ReportStyle::className_
std::string className_
对象类型名(来自 ClassId 块的 Class 字段)
定义
ReportStyle.hpp:48
ast::EStyleType
EStyleType
报表样式类型
定义
AstReportGlobal.hpp:37
src
AstReport
ReportStyle.hpp
制作者
1.12.0