|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <NoneEclipseCalculator.hpp>
类 ast::NoneEclipseCalculator 继承关系图:Public 成员函数 | |
| NoneEclipseCalculator (CelestialBody *lightSource) | |
| double | getLightingRatio (const TimePoint &time, const Vector3d &position, Frame *frame) override |
Public 成员函数 继承自 ast::EclipseCalculator | |
| EclipseCalculator (CelestialBody *lightSource) | |
| CelestialBody * | lightSource () const |
| void | setLightSource (CelestialBody *lightSource) |
| void | setOccultingBodies (const std::vector< HCelestialBody > &occultingBodies) |
| void | addOccultingBody (HCelestialBody occultingBody) |
额外继承的成员函数 | |
Protected 属性 继承自 ast::EclipseCalculator | |
| HCelestialBody | lightSource_ {nullptr} |
| std::vector< HCelestialBody > | occultingBodies_ |
空阴影光照计算器(无阴影模型)
不计算任何阴影,始终返回全光照(1.0)。 用于无需考虑阴影影响的场景,或作为默认/占位计算器。 采用空对象模式(Null Object Pattern),避免空指针检查。
|
inlineoverridevirtual |
始终返回全光照
| time | 时间点(未使用) |
| position | 观测者位置(未使用) |
| frame | 观测者所在参考系(未使用) |