27#include <qwt_plot_curve.h>
28#include <qwt_plot_marker.h>
29#include <qwt_symbol.h>
30#include <qwt_plot_marker.h>
100 QColor
color()
const;
106 void setData(QwtSeriesData<QPointF> *data);
107 void setPen(
const QPen &pen);
113 QByteArray toByteArray()
const;
120 void recreateMarkers();
125 QList<QwtPlotMarker *> m_valuePointMarkers;
void setColor(const QColor &color)
Set the color of this curve and it's markers.
QColor color() const
This method returns the color of the curve.
QwtSymbol * m_markerSymbol
Marker's styles.
void setData(QwtSeriesData< QPointF > *data)
This method sets the data for the curve, then sets the value for the markers associated with the curv...
QByteArray fromByteArray(const QByteArray &classData)
Construct the plot curve given the past results of toByteArray(...).
Units yUnits() const
Get the units of the y-axis double data.
void setMarkerSymbol(QwtSymbol::Style style)
This method sets the shape of the markers.
PlotCurve(Units xUnits, Units yUnits)
Constructs and instance of a PlotCurve with some default properties.
Units xUnits() const
Get the units of the x-axis double data.
void attachMarkers()
After attaching this curve to a plot, due to an inheritance/implementation complication with qwt the ...
Units
These are all the possible units for the x or y data in a plot curve.
@ Elevation
The data is an elevation (in meters).
@ Band
The data is a band number.
@ CubeDN
The data is a Cube DN value.
@ Wavelength
The data is a wavelength.
@ Unknown
The data units are not yet known.
@ Kilometers
The data is in kilometers.
@ PixelNumber
The data is a pixel #.
@ Meters
The data is in meters.
@ Percentage
The data is a percentage (0-100).
void setPen(const QPen &pen)
Sets the plot pen to the passed-in pen.
QwtSymbol * markerSymbol() const
This method returns the shape of the markers.
void setMarkerVisible(bool visible)
This method sets the visibility states of the markers at each value point.
This is free and unencumbered software released into the public domain.