WSF
WsfMaskingPattern.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
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#ifndef WSFMASKINGPATTERN_HPP
12#define WSFMASKINGPATTERN_HPP
13
14#include "wsf_export.h"
15
16#include <vector>
17
18class UtAzElLookup;
19class UtAzElTable;
21#include "WsfObject.hpp"
22
33
35{
36public:
38 ~WsfMaskingPattern() override;
39
40 virtual bool Initialize();
41
42 bool ProcessInput(UtInput& aInput) override;
43
44 double GetFactor(WsfStringId aStateId,
45 WsfArticulatedPart* aPartPtr,
46 double aViewAzPCS,
47 double aViewElPCS,
48 const double aViewVecWCS[3]);
49
50 class State
51 {
52 public:
54 : mECS_TablePtr(nullptr)
55 , mPCS_TablePtr(nullptr)
56 , mStateId(aStateId)
57 {
58 }
59
61 UtAzElTable* mECS_TablePtr;
63 UtAzElTable* mPCS_TablePtr;
66 };
67
68private:
69 using StateIndex = std::vector<State>::size_type;
70
71 StateIndex mDefaultStateIndex;
72 std::vector<State> mStates;
73};
74
75#endif
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfArticulatedPart.hpp:36
UtAzElTable * mECS_TablePtr
The ECS (platform-relative) effects table.
Definition WsfMaskingPattern.hpp:61
State(WsfStringId aStateId)
Definition WsfMaskingPattern.hpp:53
WsfStringId mStateId
The state to which this table corresponds.
Definition WsfMaskingPattern.hpp:65
UtAzElTable * mPCS_TablePtr
The PCS (platform part-relative) effects table.
Definition WsfMaskingPattern.hpp:63
double GetFactor(WsfStringId aStateId, WsfArticulatedPart *aPartPtr, double aViewAzPCS, double aViewElPCS, const double aViewVecWCS[3])
Definition WsfMaskingPattern.cpp:140
virtual bool Initialize()
Definition WsfMaskingPattern.cpp:46
WsfMaskingPattern()
Definition WsfMaskingPattern.cpp:24
virtual bool ProcessInput(UtInput &aInput)
Definition WsfObject.cpp:140
WsfUncloneableObject()
Definition WsfObject.hpp:148
Copyrights Multiple, All Rights Reserved