|
WSF
|
#include <WsfHeatMap.hpp>
Inherits UtHeatMap.
Public Member Functions | |
| WsfHeatMap (const double aGridCenterLLA[3], double aGridExtentMeters, double aGridCellSizeMeters) | |
| WsfHeatMap (const WsfHeatMap &aSrc) | |
| WsfHeatMap & | operator= (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) |
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.
| WsfHeatMap::WsfHeatMap | ( | const double | aGridCenterLLA[3], |
| double | aGridExtentMeters, | ||
| double | aGridCellSizeMeters ) |
Referenced by operator=(), and WsfHeatMap().
| WsfHeatMap::WsfHeatMap | ( | const WsfHeatMap & | aSrc | ) |
References WsfHeatMap().
| WsfHeatMap::WsfHeatMap | ( | ) |
|
override |
| void WsfHeatMap::DrawGrid | ( | double | aDrawDuration | ) |
Referenced by operator=(), and Update().
| void WsfHeatMap::DrawHeat | ( | double | aDrawDuration | ) |
Referenced by operator=(), and Update().
|
virtual |
Referenced by operator=().
| 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=().
|
delete |
References DrawGrid(), DrawHeat(), Initialize(), LocalTrackDropped(), ProcessInput(), and WsfHeatMap().
| bool WsfHeatMap::ProcessInput | ( | UtInput & | aInput | ) |
Referenced by operator=().
| void WsfHeatMap::Update | ( | double | aSimTime, |
| double | aUpdateInterval, | ||
| std::vector< WsfAssetPerception * > & | aPerceivedAssets ) |
Updates the state of the heat map values in the grid
| aSimTime | Current simulation time in seconds |
| aUpdateInterval | How often the processor is updating in seconds |
| aPerceivedAssets | A list of asset platforms |
References DrawGrid(), DrawHeat(), WsfAssetPerception::mIndex, WsfAssetPerception::mLocationWCS, WsfAssetPerception::mOrientationNED, and platformPtr.