12#ifndef WSFMILRADARSIGNATURE_HPP
13#define WSFMILRADARSIGNATURE_HPP
15#include "wsf_mil_export.h"
20#include "UtAzElTypes.hpp"
62 Table(
double aFrequencyLimit, UtAzElTable* aTablePtr,
bool aIsACopy);
106 using InterpolationType = ut::azel::InterpolationType;
109 SharedData() =
default;
118 bool AddTable(UtAzElTable* aTablePtr,
121 double aFrequencyLimit,
122 bool aIsACopy =
false);
128 void UseDefaultPolarization(
State& aState,
int aPolarization);
133 double mCurrentFrequencyLimit{1.0E+30};
135 StateIndex mDefaultStateIndex{0};
138 bool mUseBisectorForBistatic{
true};
139 bool mBistaticSigDefined{
false};
140 bool mMonoStaticSigDefined{
true};
141 WsfBistaticSig mBistaticSig;
143 bool mInterpolateTables{
true};
144 InterpolationType mInterpolationType{InterpolationType::cLinear};
148 void ProcessInputState(UtInput& aInput, WsfObject& aBase);
150 void ProcessInputPolarization(UtInput& aInput, WsfObject& aBase);
152 void ProcessInputFrequencyLimit(UtInput& aInput, WsfObject& aBase);
154 bool ProcessInputTableData(UtInput& aInput, WsfObject& aBase);
157 std::shared_ptr<SharedData> mSharedDataPtr{
new SharedData()};
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
Definition WsfEM_Rcvr.hpp:68
Definition WsfEM_Xmtr.hpp:55
A 'State' represents all of the tables for a given signature state.
Definition WsfMilRadarSignature.hpp:84
TableSet mPolarization[WsfEM_Types::cPOL_COUNT]
There is one set of tables for each polarization.
Definition WsfMilRadarSignature.hpp:91
State(WsfStringId aStateId)
Definition WsfMilRadarSignature.cpp:693
WsfStringId mStateId
Definition WsfMilRadarSignature.hpp:88
bool mIsACopy
Definition WsfMilRadarSignature.hpp:73
UtAzElTable * mTablePtr
A pointer to the actual table data for this table.
Definition WsfMilRadarSignature.hpp:68
double mFrequencyLimit
The upper frequency to which this table applies.
Definition WsfMilRadarSignature.hpp:65
Table(double aFrequencyLimit, UtAzElTable *aTablePtr, bool aIsACopy)
Definition WsfMilRadarSignature.cpp:686
void SelectTable(UtAzElLookup &aContext, WsfStringId aState, WsfEM_Types::Polarization aPolarization, double aFrequency)
Definition WsfMilRadarSignature.cpp:193
std::vector< Table > TableSet
Definition WsfMilRadarSignature.hpp:79
bool ProcessInput(UtInput &aInput) override
Definition WsfMilRadarSignature.cpp:61
std::vector< State >::size_type StateIndex
Definition WsfMilRadarSignature.hpp:95
const States & GetStates() const
Definition WsfMilRadarSignature.cpp:205
WsfMilRadarSignature()
Definition WsfMilRadarSignature.cpp:46
bool InitializeType() override
Definition WsfMilRadarSignature.cpp:76
static WsfRadarSignature * ObjectFactory(const std::string &aTypeName)
Factory method called by WsfRadarSignatureTypes.
Definition WsfMilRadarSignature.cpp:34
std::vector< State > States
Definition WsfMilRadarSignature.hpp:94
std::vector< Table >::size_type TableIndex
Definition WsfMilRadarSignature.hpp:80
bool AddTable(UtAzElTable *aTablePtr, WsfStringId aStateId, WsfEM_Types::Polarization aPolarization, double aFrequencyLimit)
Definition WsfMilRadarSignature.cpp:220
WsfObject()
This is the constructor for the WsfObject class.
Definition WsfObject.cpp:88
WsfRadarSignature()
Definition WsfRadarSignature.cpp:30
virtual std::pair< float, float > GetSignatureLimits(WsfStringId aStateId, WsfEM_Types::Polarization aPolarization) const
Definition WsfRadarSignature.cpp:35
virtual float GetSignature(WsfStringId aStateId, WsfEM_Types::Polarization aPolarization, double aFrequency, double aTgtToXmtrAz, double aTgtToXmtrEl, double aTgtToRcvrAz, double aTgtToRcvrEl, WsfEM_Xmtr *aXmtrPtr=nullptr, WsfEM_Rcvr *aRcvrPtr=nullptr)=0
WsfRadarSignature * Clone() const override=0
bool ProcessInput(UtInput &aInput) override
Definition WsfSignature.cpp:74
virtual bool InitializeType()
Definition WsfSignature.cpp:40
virtual std::vector< WsfStringId > GetStateNames() const
get the list of all valid states belonging to the signature
Definition WsfSignature.hpp:43
virtual bool IsA_ValidState(WsfStringId aId) const
Definition WsfSignature.cpp:62
Polarization
Polarization of the electromagnetic wave.
Definition WsfEM_Types.hpp:21
@ cPOL_DEFAULT
Default.
Definition WsfEM_Types.hpp:22
@ cPOL_COUNT
Number of polarizations.
Definition WsfEM_Types.hpp:29