kstars
modcalcvlsr.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef MODCALCVLSR_H
00019 #define MODCALCVLSR_H
00020
00021 #include <kapplication.h>
00022 #include <qwidget.h>
00023 #include "modcalcvlsrdlg.h"
00024
00025 class QWidget;
00026 class SkyPoint;
00027 class KStarsDateTime;
00028 class GeoLocation;
00029 class dms;
00030
00038 class modCalcVlsr : public modCalcVlsrDlg {
00039
00040 Q_OBJECT
00041
00042 public:
00043 modCalcVlsr(QWidget *p, const char *n);
00044 ~modCalcVlsr();
00045
00046 public slots:
00047
00048 void slotClearCoords();
00049 void slotComputeVelocities();
00050 void slotUtChecked();
00051 void slotDateChecked();
00052 void slotRaChecked();
00053 void slotDecChecked();
00054 void slotEpochChecked();
00055 void slotLongChecked();
00056 void slotLatChecked();
00057 void slotHeightChecked();
00058 void slotVlsrChecked();
00059 void slotInputFile();
00060 void slotOutputFile();
00061 void slotRunBatch();
00062
00063 private:
00064
00067 SkyPoint getEquCoords(void);
00068
00069
00070
00071 double getVLSR (void);
00072
00073
00074
00075 double getVhel (void);
00076
00077
00078
00079 double getVgeo (void);
00080
00081
00082
00083 double getVtopo (void);
00084
00086 KStarsDateTime getDateTime (void);
00087
00092 double getEpoch (QString eName);
00093
00094
00095 dms getLatitude (void);
00096
00097
00098 dms getLongitude (void);
00099
00100
00101 double getHeight(void);
00102
00103
00104
00105 void getGeoLocation(void);
00106
00109 void showCurrentDateTime(void);
00110
00111
00112
00113
00114 void initGeo(void);
00115
00116
00117
00118
00119 void showLongLat(void);
00120
00123 void showVlsr (const double vlsr );
00124
00127 void showHelVel (const double vhel );
00128
00131 void showGeoVel (const double vgeo );
00132
00135 void showTopoVel (const double vtopo );
00136
00140 void showEpoch (const KStarsDateTime &dt );
00141
00142
00143
00144 void processLines( QTextStream &istream );
00145
00146 GeoLocation *geoPlace;
00147
00148 };
00149
00150
00151
00152 #endif