WSF
SOSM_SimpleAtmosphere.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI//REL TO USA ONLY
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef SOSM_SIMPLEATMOSPHERE_HPP
13#define SOSM_SIMPLEATMOSPHERE_HPP
14
15#include "SOSM_Atmosphere.hpp"
16#include "UtAtmosphere.hpp"
17
19{
20public:
21 SOSM_SimpleAtmosphere(const UtAtmosphere& aAtmosphere);
22
23 SOSM_Atmosphere* Clone() const override;
24
25 bool ProcessInput(UtInput& aInput) override;
26
27 void ComputeAtmosphereData(const SOSM_Selector& aSelector,
28 SOSM_Interaction& aInteraction,
29 std::vector<float>& aBackgroundRadiance,
30 std::vector<float>& aForegroundRadiance,
31 std::vector<float>& aForegroundTransmittance) override;
32
33 void GetSamplePoints(std::vector<float>& aAltValues, std::vector<float>& aElValues, std::vector<float>& aRangeValues) override;
34
35 double ComputeSimpleTransmittance(double aAttenuationPerMeter, double aHeightMSL_1, double aHeightMSL_2, double aGroundRange);
36
37 double GetAttenuation() const { return mAtmosphericAttenuation; }
38
39 UtAtmosphere& GetAtmosphere() { return mAtmosphere; }
40
41private:
43 double mAtmosphericAttenuation;
44
46 double mRhoSeaLevel;
47
49 UtAtmosphere mAtmosphere;
50};
51
52#endif
SOSM_Atmosphere()
Constructor.
Definition SOSM_Atmosphere.cpp:16
Definition SOSM_Interaction.hpp:46
Definition SOSM_Selector.hpp:24
void GetSamplePoints(std::vector< float > &aAltValues, std::vector< float > &aElValues, std::vector< float > &aRangeValues) override
Get the sample points to be used for fast detection mode table generation.
Definition SOSM_SimpleAtmosphere.cpp:82
double GetAttenuation() const
Definition SOSM_SimpleAtmosphere.hpp:37
void ComputeAtmosphereData(const SOSM_Selector &aSelector, SOSM_Interaction &aInteraction, std::vector< float > &aBackgroundRadiance, std::vector< float > &aForegroundRadiance, std::vector< float > &aForegroundTransmittance) override
Definition SOSM_SimpleAtmosphere.cpp:67
SOSM_SimpleAtmosphere(const UtAtmosphere &aAtmosphere)
Definition SOSM_SimpleAtmosphere.cpp:23
UtAtmosphere & GetAtmosphere()
Definition SOSM_SimpleAtmosphere.hpp:39
bool ProcessInput(UtInput &aInput) override
Definition SOSM_SimpleAtmosphere.cpp:40
SOSM_Atmosphere * Clone() const override
A virtual copy constructor.
Definition SOSM_SimpleAtmosphere.cpp:33
double ComputeSimpleTransmittance(double aAttenuationPerMeter, double aHeightMSL_1, double aHeightMSL_2, double aGroundRange)
Definition SOSM_SimpleAtmosphere.cpp:137
Copyrights Multiple, All Rights Reserved