12#ifndef WSFSTANDARDOPTICALSIGNATURE_HPP
13#define WSFSTANDARDOPTICALSIGNATURE_HPP
20#include "wsf_mil_export.h"
22#include "UtAzElTypes.hpp"
53 const std::vector<State>&
GetStates()
const;
56 using StateIndex = std::vector<State>::size_type;
60 using InterpolationType = ut::azel::InterpolationType;
63 SharedData() =
default;
72 bool AddTable(UtAzElTable* aTablePtr,
WsfStringId aStateId);
74 void SelectTable(UtAzElLookup& aContext,
WsfStringId aStateId);
77 StateIndex mDefaultStateIndex{0};
78 std::vector<State> mStates;
80 bool mInterpolateTables{
true};
81 InterpolationType mInterpolationType{InterpolationType::cLinear};
84 std::shared_ptr<SharedData> mSharedDataPtr{
new SharedData()};
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
WsfObject()
This is the constructor for the WsfObject class.
Definition WsfObject.cpp:88
WsfOpticalSignature * Clone() const override=0
virtual float GetSignature(double aSimTime, WsfStringId aStateId, double aAzimuth, double aElevation)=0
WsfOpticalSignature()
Definition WsfOpticalSignature.cpp:32
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
State(WsfStringId aStateId, UtAzElTable *aTablePtr)
Definition WsfStandardOpticalSignature.cpp:270
WsfStringId mStateId
Definition WsfStandardOpticalSignature.hpp:49
UtAzElTable * mTablePtr
Definition WsfStandardOpticalSignature.hpp:50
static WsfOpticalSignature * ObjectFactory(const std::string &aTypeName)
Factory method called by WsfOpticalSignatureTypes.
Definition WsfStandardOpticalSignature.cpp:27
const std::vector< State > & GetStates() const
Definition WsfStandardOpticalSignature.cpp:89
WsfStandardOpticalSignature()=default
bool ProcessInput(UtInput &aInput) override
Definition WsfStandardOpticalSignature.cpp:63
bool InitializeType() override
Definition WsfStandardOpticalSignature.cpp:46