Changeset 4320 in ntrip for trunk/BNC/src/rinex/polarplot.h


Ignore:
Timestamp:
Jun 23, 2012, 4:32:49 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/polarplot.h

    r4316 r4320  
    66#include <qwt_polar_curve.h>
    77
     8//
     9//////////////////////////////////////////////////////////////////////////////
    810class t_polarCurve : public QwtPolarCurve {
    911 public:
     
    1719};
    1820
     21//
     22//////////////////////////////////////////////////////////////////////////////
     23class t_polarPoint : public QwtPointPolar {
     24 public:
     25 t_polarPoint(double azimuth, double zenith) : QwtPointPolar(azimuth, zenith) {}
     26  ~t_polarPoint() {}
     27  double zz; // the third coordinate
     28};
     29
     30//
     31//////////////////////////////////////////////////////////////////////////////
     32class t_polarData: public QwtSeriesData<t_polarPoint> {
     33 public:
     34  t_polarData(size_t size);
     35  virtual t_polarPoint sample(size_t ii) const;
     36  virtual size_t size() const {return _size;}
     37  virtual QRectF boundingRect() const;
     38 protected:
     39  QwtInterval _zenithInterval;
     40  QwtInterval _azimuthInterval;
     41  size_t      _size;
     42};
     43
     44//
     45//////////////////////////////////////////////////////////////////////////////
    1946class t_polarPlot: public QwtPolarPlot {
    2047 Q_OBJECT
     
    3158
    3259#endif
    33 
    34 
Note: See TracChangeset for help on using the changeset viewer.