Go to the documentation of this file.
240 const QRectF& canvasRect,
int from,
int to )
const
254 drawDots( painter, xMap, yMap, canvasRect, from, to );
272 const QRectF& canvasRect,
int from,
int to )
const
285 for (
int i = from; i <= to; i++ )
299 if ( !canvasRect.contains( xi, yi ) )
QwtPoint3D sample(int index) const
QwtLinearColorMap builds a color map from color stops.
virtual void legendChanged()
Base class for plot items representing a series of samples.
virtual QVector< QRgb > colorTable256() const
void setSamples(const QVector< QwtPoint3D > &)
void setPaintAttribute(PaintAttribute, bool on=true)
void setData(QwtSeriesData< QwtPoint3D > *series)
virtual ~QwtPlotSpectroCurve()
Destructor.
@ Legend
The item is represented on the legend.
static bool roundingAlignment()
QwtPlotSpectroCurve(const QString &title=QString())
qreal penWidth(const QPainter *painter, const QwtScaleDraw *scaleDraw)
virtual uint colorIndex(int numColors, const QwtInterval &interval, double value) const
Map a value of a given interval into a color index.
void init()
Initialize data members.
@ RGB
The map is intended to map into RGB values.
static void drawPoint(QPainter *, const QPoint &)
Wrapper for QPainter::drawPoint()
A class representing an interval.
PaintAttribute
Paint attributes.
virtual void drawDots(QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, int from, int to) const
A class representing a text.
QwtInterval & colorRange() const
void setZ(double z)
Set the z value.
@ ClipPoints
Clip points outside the canvas rectangle.
void setColorMap(QwtColorMap *)
@ Rtti_PlotSpectroCurve
For QwtPlotSpectroCurve.
virtual T sample(size_t i) const =0
QwtSeriesData< QwtPoint3D > * data()
double transform(double s) const
virtual void itemChanged()
void setColorRange(const QwtInterval &)
virtual size_t dataSize() const QWT_OVERRIDE
auto format(const text_style &ts, const S &format_str, const Args &... args) -> std::basic_string< Char >
virtual int rtti() const QWT_OVERRIDE
virtual QRgb rgb(const QwtInterval &interval, double value) const =0
void setItemAttribute(ItemAttribute, bool on=true)
const QwtColorMap * colorMap() const
QwtPlotSpectroCurve::PaintAttributes paintAttributes
QVector< QRgb > colorTable
QwtArraySeriesData< QwtPoint3D > QwtPoint3DSeriesData
Interface for iterating over an array of 3D points.
QwtColorMap is used to map values into colors.
virtual void drawSeries(QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, int from, int to) const QWT_OVERRIDE
QwtPoint3D class defines a 3D point in double coordinates.
bool testPaintAttribute(PaintAttribute) const
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:46