WSF
WsfHeatMap Class Reference

#include <WsfHeatMap.hpp>

Inherits UtHeatMap.

Public Member Functions

 WsfHeatMap (const double aGridCenterLLA[3], double aGridExtentMeters, double aGridCellSizeMeters)
 WsfHeatMap (const WsfHeatMap &aSrc)
WsfHeatMapoperator= (const WsfHeatMap &)=delete
 WsfHeatMap ()
 ~WsfHeatMap () override
virtual bool Initialize (WsfPlatform *aPlatformPtr)
bool ProcessInput (UtInput &aInput)
void Update (double aSimTime, double aUpdateInterval, std::vector< WsfAssetPerception * > &aPerceivedAssets)
void LocalTrackDropped (double aSimTime, const WsfLocalTrack *aLocalTrackPtr)
 Called to add a track to the heat map.

HeatMap Display Methods

These will generate WsfDraw commands to visualize the heat map for the length of time specified by the DrawDuration argument

void DrawGrid (double aDrawDuration)
void DrawHeat (double aDrawDuration)

Detailed Description

This class is used to simulate perception of the last known location of a track. It is intended to be used with the WsfPerceptionProcessor and provides an interface to the UtHeatMap. It provides the input to the base utility class and handles the drawn representation of the heat map.

Constructor & Destructor Documentation

◆ WsfHeatMap() [1/3]

WsfHeatMap::WsfHeatMap ( const double aGridCenterLLA[3],
double aGridExtentMeters,
double aGridCellSizeMeters )

Referenced by operator=(), and WsfHeatMap().

◆ WsfHeatMap() [2/3]

WsfHeatMap::WsfHeatMap ( const WsfHeatMap & aSrc)

References WsfHeatMap().

◆ WsfHeatMap() [3/3]

WsfHeatMap::WsfHeatMap ( )

◆ ~WsfHeatMap()

WsfHeatMap::~WsfHeatMap ( )
override

Member Function Documentation

◆ DrawGrid()

void WsfHeatMap::DrawGrid ( double aDrawDuration)

Referenced by operator=(), and Update().

◆ DrawHeat()

void WsfHeatMap::DrawHeat ( double aDrawDuration)

Referenced by operator=(), and Update().

◆ Initialize()

bool WsfHeatMap::Initialize ( WsfPlatform * aPlatformPtr)
virtual

Referenced by operator=().

◆ LocalTrackDropped()

void WsfHeatMap::LocalTrackDropped ( double aSimTime,
const WsfLocalTrack * aLocalTrackPtr )

Called to add a track to the heat map.

References WsfMeasurement::GetExtrapolatedLocationWCS(), and WsfTrack::GetUpdateTime().

Referenced by operator=().

◆ operator=()

WsfHeatMap & WsfHeatMap::operator= ( const WsfHeatMap & )
delete

◆ ProcessInput()

bool WsfHeatMap::ProcessInput ( UtInput & aInput)

Referenced by operator=().

◆ Update()

void WsfHeatMap::Update ( double aSimTime,
double aUpdateInterval,
std::vector< WsfAssetPerception * > & aPerceivedAssets )

Updates the state of the heat map values in the grid

Parameters
aSimTimeCurrent simulation time in seconds
aUpdateIntervalHow often the processor is updating in seconds
aPerceivedAssetsA list of asset platforms

References DrawGrid(), DrawHeat(), WsfAssetPerception::mIndex, WsfAssetPerception::mLocationWCS, WsfAssetPerception::mOrientationNED, and platformPtr.


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved