Changeset 4316 in ntrip for trunk/BNC/src/rinex/polarplot.cpp
- Timestamp:
- Jun 23, 2012, 3:38:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/polarplot.cpp
r4315 r4316 22 22 23 23 #include "polarplot.h" 24 25 // Constructor 26 //////////////////////////////////////////////////////////////////////////// 27 t_polarCurve::t_polarCurve() { 28 } 29 30 // Destructor (virtual) 31 //////////////////////////////////////////////////////////////////////////// 32 t_polarCurve::~t_polarCurve() { 33 } 34 35 // drawSymbols (virtual) 36 //////////////////////////////////////////////////////////////////////////// 37 void t_polarCurve::drawSymbols(QPainter* painter, const QwtSymbol& symbol, 38 const QwtScaleMap& azimuthMap, 39 const QwtScaleMap& radialMap, 40 const QPointF& pole, int from, int to) const { 41 for (int ii = from; ii <= to; ii++) { 42 QwtPolarCurve::drawSymbols(painter, symbol, azimuthMap, 43 radialMap, pole, ii, ii); 44 } 45 } 46 24 47 25 48 const QwtInterval zenithInterval(0.0, 90.0); … … 108 131 // Curves 109 132 // ------ 110 QwtPolarCurve* curve = createCurve();133 t_polarCurve* curve = createCurve(); 111 134 curve->attach(this); 112 135 } … … 119 142 // 120 143 //////////////////////////////////////////////////////////////////////////// 121 QwtPolarCurve* t_polarPlot::createCurve() const {144 t_polarCurve* t_polarPlot::createCurve() const { 122 145 const int numPoints = 200; 123 QwtPolarCurve* curve = new QwtPolarCurve();146 t_polarCurve* curve = new t_polarCurve(); 124 147 curve->setStyle(QwtPolarCurve::NoCurve); // draw only symbols 125 148 curve->setSymbol(new QwtSymbol(QwtSymbol::Ellipse,
Note:
See TracChangeset
for help on using the changeset viewer.