Changeset 11158 in ntrip for trunk/BNC/src/rinex/polarplot.cpp


Ignore:
Timestamp:
Nov 3, 2026, 10:53:35 AM (20 hours ago)
Author:
stuerze
Message:

deprecated functions exchanged libs updated

File:
1 edited

Legend:

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

    r8127 r11158  
    3131                               const QPointF& pole, int from, int to) const {
    3232  t_colorMap colorMap;
     33  const t_polarData* polarData = dynamic_cast<const t_polarData*>(data());
    3334  for (int ii = from; ii <= to; ii++) {
    3435    QwtSymbol ss(symbol.style());
    3536    ss.setSize(symbol.size());
    36     const QwtPointPolar& point = sample(ii);
    37     const QColor color = colorMap.color(_scaleInterval, point._value);
     37    double value = polarData ? polarData->value(ii) : 0.0;
     38    const QColor color = colorMap.color(_scaleInterval, value);
    3839    ss.setBrush(QBrush(color));
    3940    ss.setPen(QPen(color));
Note: See TracChangeset for help on using the changeset viewer.