- Timestamp:
- Mar 24, 2009, 10:02:33 AM (16 years ago)
- Location:
- trunk/BNS
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.pro
r1697 r1771 28 28 HEADERS = bns.h bnswindow.h bnshlpdlg.h bnshtml.h \ 29 29 bnseph.h bnsutils.h bnsrinex.h bnssp3.h bnsoutf.h \ 30 bnscaster.h RTCM/clock_orbit_rtcm.h bnssettings.h bnsapp.h 30 bnscaster.h RTCM/clock_orbit_rtcm.h bnssettings.h bnsapp.h \ 31 bnscustomtrafo.h 31 32 32 33 HEADERS += newmat/controlw.h newmat/include.h newmat/myexcept.h \ … … 36 37 SOURCES = bnsmain.cpp bns.cpp bnswindow.cpp bnshlpdlg.cpp bnshtml.cpp \ 37 38 bnseph.cpp bnsutils.cpp bnsrinex.cpp bnssp3.cpp bnsoutf.cpp \ 38 bnscaster.cpp bnssettings.cpp bnsapp.cpp 39 bnscaster.cpp bnssettings.cpp bnsapp.cpp bnscustomtrafo.cpp \ 39 40 RTCM/clock_orbit_rtcm.c 40 41 -
trunk/BNS/bnshelp.html
r1764 r1771 338 338 <ul> 339 339 <li>IGS05 which stands for the GNSS-based IGS realization of the International Terrestrial Reference Frame 2005 (ITRF2005), and</li> 340 <li>ETRF2000 which stands for the European Terestrial Reference Frame 2000 adopted by EUREF.</li> 340 <li>ETRF2000 which stands for the European Terestrial Reference Frame 2000 adopted by EUREF, and</li> 341 <li>'Custom' which allows a transformation of Broadcast Corrections from the IGS05 system to any other system through specifying up to 14 Helmert Transformation Parameters.</li> 341 342 </ul> 342 343 </p> … … 368 369 </p> 369 370 <p> 370 Contact [igs-ip@bkg.bund.de] if you would like to see further Helmert transformation parameters implemented in BNS to support other national or regional reference system.371 < p>371 <u>Custom:</u> The default numbers shown as an example are those for a transformation from ITRF2005 to ETRF2000'. 372 </p> 372 373 373 374 -
trunk/BNS/bnssettings.cpp
r1728 r1771 62 62 setValue("outFile_3", ""); 63 63 64 setValue("dx", "0.0541"); 65 setValue("dy", "0.0502"); 66 setValue("dz", "-0.0538"); 67 setValue("dxr", "-0.0002"); 68 setValue("dyr", "0.0001"); 69 setValue("dzr", "-0.0018"); 70 setValue("ox", "0.891"); 71 setValue("oy", "5.390"); 72 setValue("oz", "-8.712"); 73 setValue("oxr", "0.081"); 74 setValue("oyr", "0.490"); 75 setValue("ozr", "-0.792"); 76 setValue("sc", "0.40"); 77 setValue("scr", "0.08"); 78 setValue("t0", "2000.0"); 79 64 80 setValue("rnxPath", ""); 65 81 setValue("rnxIntr", "1 min"); -
trunk/BNS/bnswindow.cpp
r1728 r1771 21 21 #include "bnshlpdlg.h" 22 22 #include "bnssettings.h" 23 #include "bnscustomtrafo.h" 23 24 24 25 using namespace std; … … 178 179 _refSys_1_ComboBox = new QComboBox; 179 180 _refSys_1_ComboBox->setEditable(false); 180 _refSys_1_ComboBox->addItems(QString("IGS05,ETRF2000 ").split(","));181 _refSys_1_ComboBox->addItems(QString("IGS05,ETRF2000,Custom").split(",")); 181 182 int ii = _refSys_1_ComboBox->findText(settings.value("refSys_1").toString()); 182 183 if (ii != -1) { … … 196 197 _refSys_2_ComboBox = new QComboBox; 197 198 _refSys_2_ComboBox->setEditable(false); 198 _refSys_2_ComboBox->addItems(QString("IGS05,ETRF2000 ").split(","));199 _refSys_2_ComboBox->addItems(QString("IGS05,ETRF2000,Custom").split(",")); 199 200 ii = _refSys_2_ComboBox->findText(settings.value("refSys_2").toString()); 200 201 if (ii != -1) { … … 214 215 _refSys_3_ComboBox = new QComboBox; 215 216 _refSys_3_ComboBox->setEditable(false); 216 _refSys_3_ComboBox->addItems(QString("IGS05,ETRF2000 ").split(","));217 _refSys_3_ComboBox->addItems(QString("IGS05,ETRF2000,Custom").split(",")); 217 218 ii = _refSys_3_ComboBox->findText(settings.value("refSys_3").toString()); 218 219 if (ii != -1) { … … 437 438 438 439 tab_cas1->setLayout(layout_cas1); 439 440 connect(_refSys_1_ComboBox, SIGNAL(currentIndexChanged(const QString &)), 441 this, SLOT(customTrafo(const QString))); 440 442 connect(_outHost_1_LineEdit, SIGNAL(textChanged(const QString &)), 441 443 this, SLOT(bnsText(const QString &))); … … 488 490 489 491 tab_cas2->setLayout(layout_cas2); 490 492 connect(_refSys_2_ComboBox, SIGNAL(currentIndexChanged(const QString &)), 493 this, SLOT(customTrafo(const QString))); 491 494 connect(_outHost_2_LineEdit, SIGNAL(textChanged(const QString &)), 492 495 this, SLOT(bnsText(const QString &))); … … 539 542 540 543 tab_cas3->setLayout(layout_cas3); 541 544 connect(_refSys_3_ComboBox, SIGNAL(currentIndexChanged(const QString &)), 545 this, SLOT(customTrafo(const QString))); 542 546 connect(_outHost_3_LineEdit, SIGNAL(textChanged(const QString &)), 543 547 this, SLOT(bnsText(const QString &))); … … 814 818 settings.setValue("outFile_3", _outFile_3_LineEdit->text()); 815 819 settings.setValue("beClocks3", _beClocks2CheckBox->checkState()); 816 817 820 settings.setValue("rnxPath", _rnxPathLineEdit->text()); 818 821 settings.setValue("rnxIntr", _rnxIntrComboBox->currentText()); … … 954 957 _ephPortLineEdit->setStyleSheet("background-color: white"); 955 958 _ephEchoLineEdit->setStyleSheet("background-color: white"); 959 _ephPortLineEdit->setEnabled(true); 956 960 _ephEchoLineEdit->setEnabled(true); 957 961 } else { 958 962 _ephPortLineEdit->setStyleSheet("background-color: lightGray"); 959 963 _ephEchoLineEdit->setStyleSheet("background-color: lightGray"); 964 _ephPortLineEdit->setEnabled(false); 960 965 _ephEchoLineEdit->setEnabled(false); 961 966 } … … 1109 1114 1110 1115 } 1116 1117 // Custom transformation parameters 1118 //////////////////////////////////////////////////////////////////////////// 1119 void bnsWindow::customTrafo(const QString &text){ 1120 if (text == "Custom" ) { 1121 bnsCustomTrafo* dlg = new bnsCustomTrafo(this); 1122 dlg->exec(); 1123 delete dlg; 1124 } 1125 } 1126 -
trunk/BNS/bnswindow.h
r1728 r1771 4 4 #include <QtGui> 5 5 #include <QWhatsThis> 6 #include <QMessageBox> 6 7 7 8 #include "bns.h" … … 33 34 void slotError(const QByteArray msg); 34 35 void bnsText(const QString &text); 36 void customTrafo(const QString &text); 35 37 36 38 private slots:
Note:
See TracChangeset
for help on using the changeset viewer.