#include <threatlistitem.h>
Public Member Functions | |
| threatListItem (threatType t, trendDir d, int a, int i, int x, int y, int ra=0, int va=0) | |
| The constructor of a new threatListItem. | |
Public Attributes | |
| threatType | type |
| The type of threat. | |
| trendDir | dir |
| The trend direction of the threat (ascending, descending). | |
| int | relAlt |
| The alitude of the this threat relative to the aircraft. | |
| int | id |
| The index value associated with this threat item. | |
| int | xPos |
| The x location of the threat. | |
| int | yPos |
| The y location of the threat. | |
| int | relangle |
| The angle of the threat relative to the aircraft coordinate system. | |
| int | vecangle |
| The angle of the direction vector of the threat in aircraft coordinate system. | |
This class contains the necessary data associated with a specific threat.
Definition at line 16 of file threatlistitem.h.
| threatListItem::threatListItem | ( | threatType | t, | |
| trendDir | d, | |||
| int | a, | |||
| int | i, | |||
| int | x, | |||
| int | y, | |||
| int | ra = 0, |
|||
| int | va = 0 | |||
| ) | [inline] |
The constructor of a new threatListItem.
| t | The type of threat. | |
| d | The trend direction of the threat (ascending, descending). | |
| a | The alitude of the this threat relative to the aircraft. | |
| i | The index value associated with this threat item. | |
| x | The x location of the threat. | |
| y | The y location of the threat. | |
| ra | The relative angle of the threat with the aircraft. | |
| va | The direction vector of the threat. |
Definition at line 30 of file threatlistitem.h.
References dir, relAlt, relangle, type, vecangle, xPos, and yPos.
| trendDir threatListItem::dir |
The trend direction of the threat (ascending, descending).
Definition at line 34 of file threatlistitem.h.
Referenced by threatListItem().
The alitude of the this threat relative to the aircraft.
Definition at line 36 of file threatlistitem.h.
Referenced by threatListItem().
The angle of the threat relative to the aircraft coordinate system.
Definition at line 44 of file threatlistitem.h.
Referenced by threatListItem().
| threatType threatListItem::type |
The angle of the direction vector of the threat in aircraft coordinate system.
Definition at line 46 of file threatlistitem.h.
Referenced by threatListItem().
The x location of the threat.
Definition at line 40 of file threatlistitem.h.
Referenced by threatListItem().
The y location of the threat.
Definition at line 42 of file threatlistitem.h.
Referenced by threatListItem().
1.4.7