Updraft
1.0
Open source glider flight visualisation tool.
|
Painter for plotting vertical speed. More...
#include <plotpainters.h>
Protected Member Functions | |
void | flushBuffer () |
Draw points from the buffer. | |
void | computeDrawingData () |
Private Attributes | |
QVector< QPolygon > | positivePolygons |
QVector< QPolygon > | negativePolygons |
Static Private Attributes | |
static const QBrush | POSITIVE_BRUSH |
static const QBrush | NEGATIVE_BRUSH = QBrush(Qt::red) |
static const QPen | POSITIVE_PEN = QPen(QColor(100, 100, 255)) |
static const QPen | NEGATIVE_PEN = QPen(Qt::red) |
Painter for plotting vertical speed.
Plots positive values as red solid areas and negative values as blue solid values.
void Updraft::IgcViewer::VerticalSpeedPlotPainter::computeDrawingData | ( | ) | [protected, virtual] |
Reimplemented from Updraft::IgcViewer::PlotPainter.
void Updraft::IgcViewer::VerticalSpeedPlotPainter::flushBuffer | ( | ) | [protected, virtual] |
Draw points from the buffer.
This method is called every time the graph crosses zero, at the end of the plot and maybe sometimes more.
Implements Updraft::IgcViewer::PlotPainter.
const QBrush Updraft::IgcViewer::VerticalSpeedPlotPainter::NEGATIVE_BRUSH = QBrush(Qt::red) [static, private] |
const QPen Updraft::IgcViewer::VerticalSpeedPlotPainter::NEGATIVE_PEN = QPen(Qt::red) [static, private] |
QVector<QPolygon> Updraft::IgcViewer::VerticalSpeedPlotPainter::negativePolygons [private] |
const QBrush Updraft::IgcViewer::VerticalSpeedPlotPainter::POSITIVE_BRUSH [static, private] |
QBrush(QColor(100, 100, 255))
const QPen Updraft::IgcViewer::VerticalSpeedPlotPainter::POSITIVE_PEN = QPen(QColor(100, 100, 255)) [static, private] |
QVector<QPolygon> Updraft::IgcViewer::VerticalSpeedPlotPainter::positivePolygons [private] |