Eaagles::Simulation::Gimbal::Tdb Class Reference

as seen by this gimbal (seeker/antenna) More...

Inherits Eaagles::Basic::LcObject.

Inheritance diagram for Eaagles::Simulation::Gimbal::Tdb:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::Simulation::Gimbal::Tdb:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Tdb ()
unsigned int getMaxTargets () const
unsigned int getNumberOfTargets () const
const LCrealgetTargetRanges () const
const LCrealgetTargetRangeRates () const
const osg::Vec3 * getLosVectors () const
const osg::Vec4 * getGimbalLosVectors () const
const LCrealgetBoresightErrorAngles () const
const LCrealgetBoresightAzimuthErrors () const
const LCrealgetBoresightElevationErrors () const
Player ** getTarget ()
Player **const getTarget () const
virtual void clearArrays ()
virtual bool resizeArrays (const unsigned int newSize)
virtual void setOwnship (const Player *const newOwnship)
virtual void setGimbal (const Gimbal *const newGimbal)
virtual unsigned int processPlayers (Basic::LcPairStream *const players)
virtual unsigned int computeBoresightData ()

Protected Attributes

const Playerownship
const Gimbalgimbal
LCrealranges
LCrealrngRates
osg::Vec3 * los
osg::Vec4 * los4
osg::Vec4 * losG
LCrealaar
LCrealaazr
LCrealaelr
Player ** targets
unsigned int maxTargets
unsigned int numTgts

Detailed Description

as seen by this gimbal (seeker/antenna)

Contains a list of targets, and their associated geometry data,


Constructor & Destructor Documentation

Eaagles::Simulation::Gimbal::Tdb::Tdb (  ) 


Member Function Documentation

unsigned int Eaagles::Simulation::Gimbal::Tdb::getMaxTargets (  )  const [inline]

Max number of targets (i.e., size of the arrays).

unsigned int Eaagles::Simulation::Gimbal::Tdb::getNumberOfTargets (  )  const [inline]

Number of active targets.

const LCreal* Eaagles::Simulation::Gimbal::Tdb::getTargetRanges (  )  const [inline]

The array of target ranges (m).

const LCreal* Eaagles::Simulation::Gimbal::Tdb::getTargetRangeRates (  )  const [inline]

The array of target range rates (m/s).

const osg::Vec3* Eaagles::Simulation::Gimbal::Tdb::getLosVectors (  )  const [inline]

The array of Line-Of-Sight (LOS) vectors (normalized).

const osg::Vec4* Eaagles::Simulation::Gimbal::Tdb::getGimbalLosVectors (  )  const [inline]

The array of Line-Of-Sight vectors in Gimbal coordinates (normalized).

const LCreal* Eaagles::Simulation::Gimbal::Tdb::getBoresightErrorAngles (  )  const [inline]

Compute angle off antenna boresight (radians).

const LCreal* Eaagles::Simulation::Gimbal::Tdb::getBoresightAzimuthErrors (  )  const [inline]

Compute azimuth off boresight (radians).

const LCreal* Eaagles::Simulation::Gimbal::Tdb::getBoresightElevationErrors (  )  const [inline]

Compute elevation off boresight (radians).

Player** Eaagles::Simulation::Gimbal::Tdb::getTarget (  )  [inline]

The array of target pointer.

Player** const Eaagles::Simulation::Gimbal::Tdb::getTarget (  )  const [inline]

The array of target pointer (const version).

void Eaagles::Simulation::Gimbal::Tdb::clearArrays (  )  [virtual]

Clear the target data arrays.

bool Eaagles::Simulation::Gimbal::Tdb::resizeArrays ( const unsigned int  newSize  )  [virtual]

Resize the target data arrays -- old data is lost

void Eaagles::Simulation::Gimbal::Tdb::setOwnship ( const Player *const  newOwnship  )  [virtual]

Sets our ownship player.

void Eaagles::Simulation::Gimbal::Tdb::setGimbal ( const Gimbal *const  newGimbal  )  [virtual]

Sets our Gimbal.

unsigned int Eaagles::Simulation::Gimbal::Tdb::processPlayers ( Basic::LcPairStream *const   players  )  [virtual]

Process players-of-interest --- Scan the provided player list and compute range, range rate, normalized Line-Of-Sight (LOS) vectors for each target player. (Background task)

unsigned int Eaagles::Simulation::Gimbal::Tdb::computeBoresightData (  )  [virtual]

Compute Boresight Data --- Scan the target list, which as been pre-processed by processPlayers(), and compute gimbal boresight data. (Time-critical task -- in sync with gimbal dynamics & transmit)


Member Data Documentation

const Player* Eaagles::Simulation::Gimbal::Tdb::ownship [protected]

Our ownship player.

const Gimbal* Eaagles::Simulation::Gimbal::Tdb::gimbal [protected]

Our gimbal.

LCreal* Eaagles::Simulation::Gimbal::Tdb::ranges [protected]

Range to target (m).

LCreal* Eaagles::Simulation::Gimbal::Tdb::rngRates [protected]

Range Rate (m/s).

osg::Vec3* Eaagles::Simulation::Gimbal::Tdb::los [protected]

3D Line-Of-Sight (LOS)Vector (normalized)

osg::Vec4* Eaagles::Simulation::Gimbal::Tdb::los4 [protected]

4D LOS vector (normalized)

osg::Vec4* Eaagles::Simulation::Gimbal::Tdb::losG [protected]

4D LOS vector in Gimbal coord (normalized)

LCreal* Eaagles::Simulation::Gimbal::Tdb::aar [protected]

Compute angle off antenna boresight (radians).

LCreal* Eaagles::Simulation::Gimbal::Tdb::aazr [protected]

Compute azimuth off boresight (radians).

LCreal* Eaagles::Simulation::Gimbal::Tdb::aelr [protected]

Compute elevation off boresight (radians).

Player** Eaagles::Simulation::Gimbal::Tdb::targets [protected]

Target pointer.

unsigned int Eaagles::Simulation::Gimbal::Tdb::maxTargets [protected]

Max number of targets (i.e., size of the arrays).

unsigned int Eaagles::Simulation::Gimbal::Tdb::numTgts [protected]

Number of targets.


Generated on Tue Dec 19 16:28:11 2006 for Eaagles by  doxygen 1.5.0