forked from Bill-Gray/find_orb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathephem.h
88 lines (78 loc) · 2.47 KB
/
ephem.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/* Copyright (C) 2018, Project Pluto
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA. */
// ephem.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CEphem dialog
class CEphem : public CDialog
{
// Construction
public:
CEphem(COrbitDlg* pParent = NULL); // standard constructor
double orbit[6], epoch;
double jd, ht_in_meters;
OBSERVE *obs;
int n_obs;
const char *obj_name;
ephem_option_t GetEphemerisBitmask( );
// Dialog Data
//{{AFX_DATA(CEphem)
enum { IDD = IDD_MAKE_EPHEMERIS };
CString m_day;
int m_number_steps;
CString m_lat;
CString m_lon;
CString m_ephem_step;
BOOL m_alt_az;
BOOL m_motion;
int m_ephem_type;
BOOL m_phase_angle;
BOOL m_radial_velocity;
BOOL m_separate_motions;
BOOL m_round_step;
BOOL m_topo_ecliptic;
BOOL m_helio_ecliptic;
BOOL m_phase_angle_bisector;
BOOL m_suppress_unobservable;
BOOL m_visibility;
CString m_mpc_code;
int m_use_mpc_code;
double m_mag_limit;
BOOL m_show_sigmas;
BOOL m_human_readable;
BOOL m_ground_track;
BOOL m_speed;
//}}AFX_DATA
// Implementation
protected:
int ephemeris_and_pseudo_mpec_made;
CFont list_box_font;
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
void CreateB32Ephemeris( const char *filename);
void set_jd_from_xtrols( char *err_msg);
CRect OriginalDlgRect;
void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
// Generated message map functions
//{{AFX_MSG(CEphem)
afx_msg void OnClickedSave();
afx_msg void OnClickedGo();
virtual BOOL OnInitDialog();
afx_msg void OnPseudoMpec();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnCopy();
afx_msg void OnDestroy();
afx_msg void OnNow();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};