WSF
Target Class Reference

#include <Target.hpp>

Public Member Functions

 Target (const UtAtmosphere &aAtmosphere)
 ~Target ()
bool Create (const WsfScenario &aScenario)
bool CreateAndInitialize (WsfSimulation &aSim)
 Create and initialize a local platform.
bool ProcessInput (UtInput &aInput)
void SetLocationRBA (Sensor &aSensor, double aGroundRange, double aBearing, double aAltitude)
void SetPitchRange (double aMin, double aMax, double aStep)
void SetRollRange (double aMin, double aMax, double aStep)
void SetSpeedAndAttitude (Sensor &aSensor)
void SetSpeedAndAttitude (WsfSensor *aSensorPtr)
WsfPlatformGetPlatform () const
double GetTargetPitch () const
double GetTargetPitchMin () const
double GetTargetPitchMax () const
double GetTargetPitchStep () const
double GetTargetRoll () const
double GetTargetRollMin () const
double GetTargetRollMax () const
double GetTargetRollStep () const
double GetSpeed ()
void SetPitch (double aPitch)
void SetRoll (double aRoll)

Constructor & Destructor Documentation

◆ Target()

Target::Target ( const UtAtmosphere & aAtmosphere)
explicit

◆ ~Target()

Target::~Target ( )

Member Function Documentation

◆ Create()

bool Target::Create ( const WsfScenario & aScenario)

◆ CreateAndInitialize()

bool Target::CreateAndInitialize ( WsfSimulation & aSim)

Create and initialize a local platform.

References WsfSimulation::AddPlatform(), Create(), and WsfSimulation::GetScenario().

◆ GetPlatform()

WsfPlatform * Target::GetPlatform ( ) const
inline

◆ GetSpeed()

double Target::GetSpeed ( )

Referenced by SetSpeedAndAttitude().

◆ GetTargetPitch()

double Target::GetTargetPitch ( ) const
inline

◆ GetTargetPitchMax()

double Target::GetTargetPitchMax ( ) const
inline

◆ GetTargetPitchMin()

double Target::GetTargetPitchMin ( ) const
inline

◆ GetTargetPitchStep()

double Target::GetTargetPitchStep ( ) const
inline

◆ GetTargetRoll()

double Target::GetTargetRoll ( ) const
inline

◆ GetTargetRollMax()

double Target::GetTargetRollMax ( ) const
inline

◆ GetTargetRollMin()

double Target::GetTargetRollMin ( ) const
inline

◆ GetTargetRollStep()

double Target::GetTargetRollStep ( ) const
inline

◆ ProcessInput()

bool Target::ProcessInput ( UtInput & aInput)

◆ SetLocationRBA()

void Target::SetLocationRBA ( Sensor & aSensor,
double aGroundRange,
double aBearing,
double aAltitude )

Set the target location using the ground range, bearing and altitude from a sensor.

Parameters
aSensorThe reference sensor.
aGroundRangeThe ground range to the target from the sensor. (meters)
aBearingThe bearing of the target (radians, clockwise from north)
aAltitudeThe altitude of the target (meters MSL).

References Sensor::ConvertRBA_ToWCS().

◆ SetPitch()

void Target::SetPitch ( double aPitch)
inline

◆ SetPitchRange()

void Target::SetPitchRange ( double aMin,
double aMax,
double aStep )

◆ SetRoll()

void Target::SetRoll ( double aRoll)
inline

◆ SetRollRange()

void Target::SetRollRange ( double aMin,
double aMax,
double aStep )

◆ SetSpeedAndAttitude() [1/2]

void Target::SetSpeedAndAttitude ( Sensor & aSensor)

◆ SetSpeedAndAttitude() [2/2]

void Target::SetSpeedAndAttitude ( WsfSensor * aSensorPtr)

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