|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <EclipseCalculator.hpp>
类 ast::EclipseCalculator 继承关系图:Public 成员函数 | |
| EclipseCalculator (CelestialBody *lightSource) | |
| virtual double | getLightingRatio (const TimePoint &time, const Vector3d &position, Frame *frame)=0 |
| CelestialBody * | lightSource () const |
| void | setLightSource (CelestialBody *lightSource) |
| void | setOccultingBodies (const std::vector< HCelestialBody > &occultingBodies) |
| void | addOccultingBody (HCelestialBody occultingBody) |
Protected 属性 | |
| HCelestialBody | lightSource_ {nullptr} |
| std::vector< HCelestialBody > | occultingBodies_ |
阴影光照计算器
|
pure virtual |
计算光照强度
| time | 时间点 |
| position | 观测者位置(相对于观测者所在参考系) |
| frame | 观测者所在参考系 |
在 ast::ConeEclipseCalculator, ast::CylindricalEclipseCalculator , 以及 ast::NoneEclipseCalculator 内被实现.