25#include "AstUtil/ScopedPtr.hpp"
67 void setMainModel(
Atmosphere* mainModel) { mainModel_ = mainModel; }
71 void setLowAltModel(
Atmosphere* lowAltModel) { lowAltModel_ = lowAltModel; }
75 void setBlendAltitude(
double blendAltitude) { blendAltitude_ = blendAltitude; }
79 void setBlendRange(
double blendRange) { blendRange_ = blendRange; }
81 ScopedPtr<Atmosphere> mainModel_{};
82 ScopedPtr<Atmosphere> lowAltModel_{};
84 double blendRange_{0.0};
大气模型基类
定义 Atmosphere.hpp:48
virtual Frame * getFrame() const =0
获取大气模型的参考坐标系
virtual BodyShape * getShape() const
获取大气模型对应的天体形状
定义 Atmosphere.cpp:28
virtual double getDensity(const TimePoint &tp, const Vector3d &posInBodyFixed) const =0
获取大气密度
主/低高度大气密度模型的混合过渡模型
定义 BlendingAtmosphere.hpp:47
double blendRange() const
过渡带宽度
定义 BlendingAtmosphere.hpp:78
double blendAltitude() const
过渡带中心高度
定义 BlendingAtmosphere.hpp:74
Atmosphere * lowAltModel() const
低高度大气模型
定义 BlendingAtmosphere.hpp:70
Atmosphere * mainModel() const
主(高高度)大气模型
定义 BlendingAtmosphere.hpp:66
天体形状基类
定义 BodyShape.hpp:33
绝对时间点
定义 TimePoint.hpp:109
constexpr double kDefaultBlendAltitude
主/低高度大气模型的过渡带中心高度默认值
定义 BlendingAtmosphere.hpp:38