Changeset 2145 in ntrip for trunk/BNC/bncfigureppp.cpp


Ignore:
Timestamp:
Dec 31, 2009, 11:15:50 AM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncfigureppp.cpp

    r2142 r2145  
    6161//
    6262////////////////////////////////////////////////////////////////////////////
    63 void bncFigurePPP::slotNewPosition(const bncTime& time, const double* xyz) {
     63void bncFigurePPP::slotNewPosition(bncTime time, double x, double y, double z){
    6464
    6565  const static int MAXNUMPOS = 1000;
     
    7070
    7171  newPos->time   = time;
    72   newPos->xyz[0] = xyz[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;
    7575
    7676  _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
    7784
    7885  if (_pos.size() > MAXNUMPOS) {
     
    8794////////////////////////////////////////////////////////////////////////////
    8895void bncFigurePPP::paintEvent(QPaintEvent *) {
     96
     97  cout << "paintEvent" << endl;
    8998
    9099  int xMin =   0;
Note: See TracChangeset for help on using the changeset viewer.