All Classes Functions
Public Member Functions | Protected Member Functions | List of all members
DirectAscentPage Class Reference
Inheritance diagram for DirectAscentPage:
Inheritance graph
[legend]
Collaboration diagram for DirectAscentPage:
Collaboration graph
[legend]

Public Member Functions

 DirectAscentPage (DWORD w, DWORD h, VESSEL *v, EnjoLib::MFDGoodies::Sound &sound)
MFD_RETURN_TYPE Update (MyDC hDC, MFDDataLaunchMFD *data)
 DirectAscentPage (DWORD w, DWORD h, VESSEL *v)
bool Update (MyDC hDC)
bool Reset ()
void ScheduleForCalculation ()
void SetTargetString (char *cTgt)
void InnerLoop ()
void SetMFDData (MFDDataLaunchMFD *data)
Point GetWindowSize () const
RectangleMy GetDataSize () const
RectangleMy GetDataToDisplaySize () const
- Public Member Functions inherited from MFDPage
 MFDPage (DWORD w, DWORD h, VESSEL *vessel)
bool IsDrawingToHUD () const
- Public Member Functions inherited from DirectAscent
void SetAllVars (const BODYPHYS &, const TGTPARAM &, const SHIP_PARAMS &)
void reset_values ()

Protected Member Functions

void PrintWords (MyDC hDC, const std::vector< const EnjoLib::ValueWithDescription > &vars)
std::vector< const
EnjoLib::ValueWithDescription > 
PrepareData (MFDDataLaunchMFD *data)
bool InitInternalVars ()
double GetShipsInitialAcceleration ()
void RefreshClient ()
void ScaleData ()
- Protected Member Functions inherited from DirectAscent
EnjoLib::Spherical CalculateSatellitePosition ()
bool IsNodeInFrontOfShip ()
EnjoLib::Vect3 CalcNode ()
double CalcAngDistToNode (const EnjoLib::Spherical &sph)
double CalcAngDistStartPosToNode ()
void InitInitialShipPosition ()
double CalcAngDistInPlane (const EnjoLib::Spherical &shPos, const EnjoLib::Spherical &satPos)
double CalcTimeToNodeOnGround ()
void UpdateGreatCircleShip ()
void UpdateGreatCircleSatellite ()
void UpdatePlaneMomentumShip ()
void UpdatePlaneMomentumSatellite ()
double CalcSatFullRevolutionTime ()
double CalcPlaneRotationLongitude (double waitingTime)
EnjoLib::Spherical CalcPointOnWholeGreatCircle (double angRatio, double r, double latStart, double lonStart, bool bSatellite=false)
double CalcAngDistOfPlanes (const EnjoLib::Spherical &sph, EnjoLib::Vect3 v3SatPlaneN)
double CalculateAsymptore (const EnjoLib::Spherical &sphPos)
EnjoLib::Vect3 CalcShipVel3D (const EnjoLib::Vect3 &shPos)
EnjoLib::Point ConvertShipVel3Dto2D (const EnjoLib::Spherical &sphPos, const EnjoLib::Vect3 &shVel3D)
EnjoLib::Vect3 ConvertShipVel2Dto3D (const EnjoLib::Spherical &sphPos, const EnjoLib::Point &shVel2D)
EnjoLib::Vect3 Get2dPlaneY ()
EnjoLib::Vect3 Get2dPlaneX (const EnjoLib::Spherical &sphPos)
void inner_loop ()
void medium_loop ()
void main_loop_prepare (bool timeEfficient)
void main_loop_finalise ()

Additional Inherited Members

- Protected Attributes inherited from MFDPage
DWORD m_W
DWORD m_H
VESSEL * vessel
bool isHUDDrawing
- Protected Attributes inherited from DirectAscent
BODYPHYS bodyPhys
TGTPARAM tgtParam
SHIP_PARAMS shipParams
int main_iter
int iter
int inner_iter
Times m_t
bool solNotPossible
bool fuelEfSolNotPossible
double initial_rotation_vel
double initial_rotation_vel_wlat
double initialAccel
double Ldistance
double angDistance
double distanceShipSatFinal
double xDistance
double xPrvDistance
double mi
Satellite m_satellite
double target_radius
EnjoLib::Point tgt_orbit_v2_ref
double tgt_orbit_v2_ref_module
Ship m_ship
double sshx_excession
double dvUsed
double sshx_waiting
double max_xvel
double latStart
double lonStart
double lonCurrent
double debug
double debug2
double debug3
double debug4
double debug5
bool debugbool
- Static Protected Attributes inherited from DirectAscent
static const int max_i = 500

The documentation for this class was generated from the following files: