12#ifndef WSFSTANDARDINHERENTCONTRAST_HPP
13#define WSFSTANDARDINHERENTCONTRAST_HPP
15#include "wsf_mil_export.h"
20#include "UtAzElTypes.hpp"
49 State(
WsfStringId aStateId, UtAzElTable* aTablePtr);
52 UtAzElTable* mTablePtr;
55 using StateIndex = std::vector<State>::size_type;
59 using InterpolationType = ut::azel::InterpolationType;
62 SharedData() =
default;
69 bool ProcessInput(UtInput& aInput,
WsfObject& aBase);
71 bool AddTable(UtAzElTable* aTablePtr,
WsfStringId aStateId);
73 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
WsfInherentContrast * Clone() const override=0
virtual float GetInherentContrast(WsfStringId aStateId, double aAzimuth, double aElevation)=0
WsfInherentContrast()
Definition WsfInherentContrast.cpp:22
Definition WsfObject.hpp:40
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
WsfStandardInherentContrast()=default
static WsfInherentContrast * ObjectFactory(const std::string &aTypeName)
Factory method called by WsfInherentContrastTypes.
Definition WsfStandardInherentContrast.cpp:25