|
| virtual bool | WithinFieldOfView (double aThisToTgtAz, double aThisToTgtEl)=0 |
| virtual bool | WithinFieldOfView (WsfArticulatedPart *aArticulatedPart, double aTgtLocWCS[3], double aEarthRadiusMultiplier, double &aTrueThisToTgtAz, double &aTrueThisToTgtEl, double aApparentThisToTgtLocWCS[3], double &aApparentThisToTgtAz, double &aApparentThisToTgtEl, double aApparentTgtToThisLocWCS[3]) |
| | Compute azimuth and elevation of the target and determine if it is within the field of view.
|
| virtual bool | WithinFieldOfView (WsfEM_Antenna *aAntennaPtr, double aTgtLocWCS[3], double aEarthRadiusMultiplier, double &aTrueThisToTgtAz, double &aTrueThisToTgtEl, double aApparentThisToTgtLocWCS[3], double &aApparentThisToTgtAz, double &aApparentThisToTgtEl, double aApparentTgtToThisLocWCS[3]) |
| | Compute azimuth and elevation of the target and determine if it is within the field of view.
|
| virtual bool | GetAzimuthFieldOfView (double &aMinAzFOV, double &aMaxAzFOV) const |
| virtual bool | GetElevationFieldOfView (double &aMinElFOV, double &aMaxElFOV) const |
| virtual bool | SetAzimuthFieldOfView (double aMinAzFOV, double aMaxAzFOV) |
| virtual bool | SetElevationFieldOfView (double aMinElFOV, double aMaxElFOV) |
| const WsfStringId & | GetType () const |
| void | SetType (const WsfStringId &aType) |
| | Set the type corresponding with the type of derived class.
|
| const WsfArticulatedPart * | GetArticulatedPart () const |
A class that represents a field-of-view / field-of-regard methods. This class is abstract in that the developer is required to implement the WithinFieldOfView(double aThisToTgtAz, double aThisToTgtEl) and Clone(WsfEM_Antenna& aAntenna) methods. Implementations are provided for rectangular, circular, and polygonal fields of view. The WsfAntenna class aggregates the field of view. By default a rectangular field of view is assumed, as this was the only option available prior to AFSIM 2.1.0 Legacy methods for GetAzimuthFieldOfView(), etc. are retained, as some sensors may assume the rectangular FOV.
| bool WsfFieldOfView::WithinFieldOfView |
( |
WsfArticulatedPart * | aArticulatedPartPtr, |
|
|
double | aTgtLocWCS[3], |
|
|
double | aEarthRadiusMultiplier, |
|
|
double & | aTrueThisToTgtAz, |
|
|
double & | aTrueThisToTgtEl, |
|
|
double | aApparentThisToTgtLocWCS[3], |
|
|
double & | aApparentThisToTgtAz, |
|
|
double & | aApparentThisToTgtEl, |
|
|
double | aApparentTgtToThisLocWCS[3] ) |
|
virtual |
Compute azimuth and elevation of the target and determine if it is within the field of view.
This method computes the azimuth and elevation angles for a target wrt to the articulated part. The 'true' values are computed using the actual geometric coordinates. The 'apparent' values are those computed using the 'Earth Radius Multiplier', which simulates the effects of atmospheric refraction.
- Parameters
-
| aArticulatedPartPtr | [input] The source articulated part. |
| aTgtLocWCS | [input] A target WCS position. |
| aEarthRadiusMultiplier | [input] A scale factor to be applied to the Earth's radius to simulate the effect of atmospheric refraction. |
| aTrueThisToTgtAz | [output] The true (geometric) azimuth of the target with respect to the antenna coordinate system (radians). |
| aTrueThisToTgtEl | [output] The true (geometric) elevation of the target with respect to the antenna coordinate system (radians). |
| aApparentThisToTgtLocWCS | [output] The WCS vector from the antenna to the apparent position of the target (meters). |
| aApparentThisToTgtAz | [output] The azimuth of the apparent target with respect to the antenna coordinate system (radians). |
| aApparentThisToTgtEl | [output] The elevation of the apparent target with respect to the antenna coordinate system (radians). |
| aApparentTgtToThisLocWCS | [output] The WCS vector from the target to the apparent position of the antenna (meters). |
- Returns
- 'true' if within the field of view or 'false' if not.
- Note
- Sorry this has so many arguments, but various routine need these values and they are too expensive to recompute.
References WsfEM_Util::ComputeApparentPosition(), and WithinFieldOfView().
| bool WsfFieldOfView::WithinFieldOfView |
( |
WsfEM_Antenna * | aAntennaPtr, |
|
|
double | aTgtLocWCS[3], |
|
|
double | aEarthRadiusMultiplier, |
|
|
double & | aTrueThisToTgtAz, |
|
|
double & | aTrueThisToTgtEl, |
|
|
double | aApparentThisToTgtLocWCS[3], |
|
|
double & | aApparentThisToTgtAz, |
|
|
double & | aApparentThisToTgtEl, |
|
|
double | aApparentTgtToThisLocWCS[3] ) |
|
virtual |
Compute azimuth and elevation of the target and determine if it is within the field of view.
This method computes the azimuth and elevation angles for a target wrt to the antenna. The 'true' values are computed using the actual geometric coordinates. The 'apparent' values are those computed using the 'Earth Radius Multiplier', which simulates the effects of atmospheric refraction.
- Parameters
-
| aAntennaPtr | [input] A source antenna. |
| aTgtLocWCS | [input] A target WCS position. |
| aEarthRadiusMultiplier | [input] A scale factor to be applied to the Earth's radius to simulate the effect of atmospheric refraction. |
| aTrueThisToTgtAz | [output] The true (geometric) azimuth of the target with respect to the antenna coordinate system (radians). |
| aTrueThisToTgtEl | [output] The true (geometric) elevation of the target with respect to the antenna coordinate system (radians). |
| aApparentThisToTgtLocWCS | [output] The WCS vector from the antenna to the apparent position of the target (meters). |
| aApparentThisToTgtAz | [output] The azimuth of the apparent target with respect to the antenna coordinate system (radians). |
| aApparentThisToTgtEl | [output] The elevation of the apparent target with respect to the antenna coordinate system (radians). |
| aApparentTgtToThisLocWCS | [output] The WCS vector from the target to the apparent position of the antenna (meters). |
- Returns
- 'true' if within the field of view or 'false' if not.
- Note
- Sorry this has so many arguments, but various routine need these values and they are too expensive to recompute.
References WsfEM_Util::ComputeApparentPosition(), WsfEM_Antenna::ComputeAspect(), WsfEM_Antenna::GetLocationLLA(), WsfEM_Antenna::GetLocationWCS(), and WithinFieldOfView().