Changeset 2145 in ntrip for trunk/BNC/bncfigureppp.cpp
- Timestamp:
- Dec 31, 2009, 11:15:50 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncfigureppp.cpp
r2142 r2145 61 61 // 62 62 //////////////////////////////////////////////////////////////////////////// 63 void bncFigurePPP::slotNewPosition( const bncTime& time, const double* xyz){63 void bncFigurePPP::slotNewPosition(bncTime time, double x, double y, double z){ 64 64 65 65 const static int MAXNUMPOS = 1000; … … 70 70 71 71 newPos->time = time; 72 newPos->xyz[0] = x yz[0];73 newPos->xyz[1] = xyz[1];74 newPos->xyz[2] = xyz[2];72 newPos->xyz[0] = x; 73 newPos->xyz[1] = y; 74 newPos->xyz[2] = z; 75 75 76 76 _pos.push_back(newPos); 77 78 //// beg test 79 cout << newPos->time.timestr(1) << " " 80 << newPos->xyz[0] << " " 81 << newPos->xyz[1] << " " 82 << newPos->xyz[2] << endl; 83 //// end test 77 84 78 85 if (_pos.size() > MAXNUMPOS) { … … 87 94 //////////////////////////////////////////////////////////////////////////// 88 95 void bncFigurePPP::paintEvent(QPaintEvent *) { 96 97 cout << "paintEvent" << endl; 89 98 90 99 int xMin = 0;
Note:
See TracChangeset
for help on using the changeset viewer.