12#ifndef WSFBISTATICSIG_HPP
13#define WSFBISTATICSIG_HPP
15#include "wsf_mil_export.h"
21#include "TblLookup.hpp"
22#include "UtAzElTable.hpp"
23#include "UtAzElTypes.hpp"
41 bool Validate(
size_t aTgtToRcvrAzCount,
size_t aTgtToRcvrElCount);
72 bool aIsACopy =
false);
74 bool AddTable(UtAzElTable* aTablePtr,
80 bool aIsACopy =
false);
154 void ProcessInputState(UtInput& aInput);
155 void ProcessInputPolarization(UtInput& aInput);
156 void ProcessInputFrequencyLimit(UtInput& aInput);
157 void ProcessInputAzimuth(UtInput& aInput);
158 void ProcessInputElevation(UtInput& aInput);
159 bool ProcessInputTableData(UtInput& aInput);
161 void UseDefaultPolarization(State& aState,
int aPolarization);
166 double mCurrentFrequencyLimit{1.0E+30};
167 double mCurrentTgtToXmtrAz{-UtMath::cPI};
168 double mCurrentTgtToXmtrEl{-UtMath::cPI_OVER_2};
169 int mCurrentAzimuthIndex{-1};
170 int mCurrentElevationIndex{-1};
172 bool mInterpolateTables{
true};
173 InterpolationType mInterpolationType{InterpolationType::cLinear};
174 bool mInterpTgtToXmtrAngles{
false};
175 InterpolationType mInterpTgtToXmtrType{InterpolationType::cLinear};
176 StateIndex mDefaultStateIndex{0};
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
Definition WsfBistaticSig.hpp:34
bool Validate(size_t aTgtToRcvrAzCount, size_t aTgtToRcvrElCount)
Definition WsfBistaticSig.cpp:862
TblLookupLU< double > mTgtToXmtrElLU
Definition WsfBistaticSig.hpp:51
void CreateConstantTable(float aValue)
Definition WsfBistaticSig.cpp:839
TblLookupU< double > mTgtToXmtrAzU
Definition WsfBistaticSig.hpp:47
TblDepVar2< UtAzElTable * > mAzElTables
Definition WsfBistaticSig.hpp:45
TblLookupU< double > mTgtToXmtrElU
Definition WsfBistaticSig.hpp:48
TblIndVarU< double > mTgtToXmtrEl
Definition WsfBistaticSig.hpp:44
TblIndVarU< double > mTgtToXmtrAz
Definition WsfBistaticSig.hpp:43
TblLookupLU< double > mTgtToXmtrAzLU
Definition WsfBistaticSig.hpp:50
virtual ~AzElAzElTable()=default
TableSet mPolarization[WsfEM_Types::cPOL_COUNT]
There is one set of tables for each polarization.
Definition WsfBistaticSig.hpp:134
WsfStringId mStateId
Definition WsfBistaticSig.hpp:131
State(WsfStringId aStateId)
Definition WsfBistaticSig.cpp:919
AzElAzElTable * mTablePtr
A pointer to the actual table data for this table.
Definition WsfBistaticSig.hpp:110
double mFrequencyLimit
The upper frequency to which this table applies.
Definition WsfBistaticSig.hpp:107
Table(double aFrequencyLimit, AzElAzElTable *aTablePtr, bool aIsACopy)
Definition WsfBistaticSig.cpp:911
bool mIsACopy
Definition WsfBistaticSig.hpp:115
void SetInterpolateTables(bool aInterpolateTables)
Definition WsfBistaticSig.hpp:146
float GetSignature(UtAzElLookup &aContext, WsfStringId aStateId, WsfEM_Types::Polarization aPolarization, double aFrequency, double aTgtToXmtrAz, double aTgtToXmtrEl, double aTgtToRcvrAz, double aTgtToRcvrEl)
Definition WsfBistaticSig.cpp:630
const States & GetStates() const
Definition WsfBistaticSig.hpp:143
bool AddTable(AzElAzElTable *aTablePtr, WsfStringId aState, WsfEM_Types::Polarization aPolarization, double aFrequency, bool aIsACopy=false)
Definition WsfBistaticSig.cpp:420
void SetInterpTgtToXmtrAngles(bool aInterpTgtToXmtrAngles)
Definition WsfBistaticSig.hpp:149
virtual bool Initialize()
Definition WsfBistaticSig.cpp:68
bool IsA_ValidState(WsfStringId aId)
Definition WsfBistaticSig.cpp:818
std::vector< State > States
Definition WsfBistaticSig.hpp:137
void SetInterpTgtToXmtrType(InterpolationType aIType)
Definition WsfBistaticSig.hpp:150
std::vector< Table >::size_type TableIndex
Definition WsfBistaticSig.hpp:123
void SetInterpolationType(InterpolationType aInterpolationType)
Definition WsfBistaticSig.hpp:147
static WsfBistaticSig * GetDefaultSig()
Definition WsfBistaticSig.cpp:771
ut::azel::InterpolationType InterpolationType
Definition WsfBistaticSig.hpp:145
std::map< std::string, std::map< double, AzElAzElTable * > > PolFreqTableMapType
Definition WsfBistaticSig.hpp:56
std::vector< Table > TableSet
Definition WsfBistaticSig.hpp:121
void SelectTable(AzElAzElTable &aContext, WsfStringId aState, WsfEM_Types::Polarization aPolarization, double aFrequency)
Definition WsfBistaticSig.cpp:715
std::vector< State >::size_type StateIndex
Definition WsfBistaticSig.hpp:138
WsfObject()
This is the constructor for the WsfObject class.
Definition WsfObject.cpp:88
virtual WsfObject * Clone() const =0
virtual bool ProcessInput(UtInput &aInput)
Definition WsfObject.cpp:140
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