Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

QwtCurve Class Reference

A class which draws curves. More...

#include <qwt_curve.h>

Inheritance diagram for QwtCurve:

QwtPlotCurve List of all members.

Public Types

enum  CurveStyle {
  NoCurve, Lines, Sticks, Steps,
  Dots, Spline, UserCurve = 100
}
enum  CurveOption {
  Auto = 0, Yfx = 1, Xfy = 2, Parametric = 4,
  Periodic = 8, Inverted = 16
}

Public Member Functions

 QwtCurve (const QString &title=QString::null)
 QwtCurve (const QwtCurve &c)
virtual ~QwtCurve ()
const QwtCurveoperator= (const QwtCurve &c)
void setRawData (const double *x, const double *y, int size)
void setData (const double *x, const double *y, int size)
int dataSize () const
double x (int i) const
double y (int i) const
virtual double minXValue () const
virtual double maxXValue () const
virtual double minYValue () const
virtual double maxYValue () const
void setOptions (int t)
int options () const
void setTitle (const QString &title)
const QString & title () const
void setPen (const QPen &)
const QPen & pen () const
void setBrush (const QBrush &)
const QBrush & brush () const
void setBaseline (double ref)
double baseline () const
void setStyle (int style, int options=0)
int style () const
void setSymbol (const QwtSymbol &s)
const QwtSymbolsymbol () const
void setSplineSize (int s)
int splineSize () const
virtual void draw (QPainter *p, const QwtDiMap &xMap, const QwtDiMap &yMap, int from=0, int to=-1)

Protected Member Functions

void init (const QString &title)
void copy (const QwtCurve &c)
virtual void drawCurve (QPainter *p, int style, const QwtDiMap &xMap, const QwtDiMap &yMap, int from, int to)
virtual void drawSymbols (QPainter *p, QwtSymbol &, const QwtDiMap &xMap, const QwtDiMap &yMap, int from, int to)
void drawLines (QPainter *p, const QwtDiMap &xMap, const QwtDiMap &yMap, int from, int to)
void drawSticks (QPainter *p, const QwtDiMap &xMap, const QwtDiMap &yMap, int from, int to)
void drawDots (QPainter *p, const QwtDiMap &xMap, const QwtDiMap &yMap, int from, int to)
void drawSteps (QPainter *p, const QwtDiMap &xMap, const QwtDiMap &yMap, int from, int to)
void drawSpline (QPainter *p, const QwtDiMap &xMap, const QwtDiMap &yMap)
void closePolyline (const QwtDiMap &, const QwtDiMap &, QPointArray &) const
virtual void curveChanged ()
int verifyRange (int &i1, int &i2)
virtual void updateRangeCache ()

Protected Attributes

bool d_raw
QwtArray< double > d_x
QwtArray< double > d_y
QwtSpline d_spx
QwtSpline d_spy

Private Attributes

int d_style
double d_ref
QwtSymbol d_sym
QPen d_pen
QBrush d_brush
QString d_title
int d_options
int d_splineSize
struct {
   bool   isDirty
   double   minXValue
   double   maxXValue
   double   minYValue
   double   maxYValue
d_rangeCache

Detailed Description

A class which draws curves.

This class can be used to display data as a curve in the x-y plane. It supports different display styles, spline interpolation and symbols.

Usage
A. Assign Properties
When a curve is created, it is configured to draw black solid lines with QwtCurve::Lines and no symbols. You can change this by calling QwtCurve::setPen(), QwtCurve::setStyle() and QwtCurve::setSymbol().
B. Assign or change data.
Data can be assigned in two ways:
  • QwtCurve::setData() copies the x and y data from the specified arrays into its internal buffer.
  • QwtCurve::setRawData() does not make a copy of the data, but only stores the pointers and size information instead. This function is less safe (you must not delete the data while they are attached), but more efficient, and more convenient if the data change dynamically.
C. Draw
QwtCurve::drawCurve() maps the curve points into pixel coordinates and paints them.
Example:
see examples/curvdemo
See also:
QwtSymbol, QwtDiMap

Definition at line 59 of file qwt_curve.h.


Member Enumeration Documentation

enum QwtCurve::CurveOption
 

Curve options.

See also:
QwtCurve::setOptions
Enumeration values:
Auto 
Yfx 
Xfy 
Parametric 
Periodic 
Inverted 

Definition at line 81 of file qwt_curve.h.

enum QwtCurve::CurveStyle
 

Curve styles.

See also:
QwtCurve::setStyle
Enumeration values:
NoCurve 
Lines 
Sticks 
Steps 
Dots 
Spline 
UserCurve 

Definition at line 66 of file qwt_curve.h.


Constructor & Destructor Documentation

QwtCurve::QwtCurve const QString &  title = QString::null  ) 
 

Ctor.

Parameters:
title title of the curve

Definition at line 336 of file qwt_curve.cpp.

References init().

QwtCurve::QwtCurve const QwtCurve c  ) 
 

Copy Constructor.

Warning:
If curve c has attached its data in raw mode (see QwtCurve::setRawData), the copy constructor creates a deep copy of the data. The data are implicitly shared otherwise.

Definition at line 76 of file qwt_curve.cpp.

References copy(), d_title, and init().

QwtCurve::~QwtCurve  )  [virtual]
 

Dtor.

Definition at line 60 of file qwt_curve.cpp.

References d_raw, d_x, and d_y.


Member Function Documentation

double QwtCurve::baseline  )  const
 

Return the value of the baseline.

See also:
QwtCurve::setBaseline

Definition at line 912 of file qwt_curve.cpp.

References d_ref.

Referenced by QwtPlot::curveBaseline().

const QBrush & QwtCurve::brush  )  const
 

Return the brush used to fill the area between lines and the baseline.

See also:
QwtCurve::setBrush, QwtCurve::setBaseline, QwtCurve::baseline

Definition at line 212 of file qwt_curve.cpp.

References d_brush.

Referenced by QwtPlot::curveBrush().

void QwtCurve::closePolyline const QwtDiMap xMap,
const QwtDiMap yMap,
QPointArray &  pa
const [protected]
 

Complete a polygon to be a closed polygon including the area between the original polygon and the baseline.

Parameters:
xMap X map
yMap Y map
pa Polygon to be completed

Definition at line 843 of file qwt_curve.cpp.

References d_options, d_ref, QwtDiMap::transform(), and Xfy.

Referenced by drawDots(), drawLines(), drawSpline(), and drawSteps().

void QwtCurve::copy const QwtCurve c  )  [protected]
 

Copy the contents of a curve into another curve.

Definition at line 34 of file qwt_curve.cpp.

References d_options, d_pen, d_rangeCache, d_raw, d_ref, d_splineSize, d_style, d_sym, d_title, d_x, and d_y.

Referenced by operator=(), and QwtCurve().

void QwtCurve::curveChanged  )  [protected, virtual]
 

Notify a change of attributes. This virtual function is called when an attribute of the curve has changed. It can be redefined by derived classes. The default implementation does nothing.

Reimplemented in QwtPlotCurve.

Definition at line 975 of file qwt_curve.cpp.

Referenced by operator=(), setBaseline(), setBrush(), setData(), setOptions(), setPen(), setRawData(), setSplineSize(), setStyle(), setSymbol(), and setTitle().

int QwtCurve::dataSize  )  const
 

Return the size of the data arrays

Definition at line 920 of file qwt_curve.cpp.

References d_x, d_y, and qwtMin.

Referenced by QwtPlot::closestCurve(), draw(), drawCurve(), drawSpline(), QwtPlot::updateAxes(), and verifyRange().

void QwtCurve::draw QPainter *  painter,
const QwtDiMap xMap,
const QwtDiMap yMap,
int  from = 0,
int  to = -1
[virtual]
 

Draw an intervall of the curve.

Parameters:
painter Painter
xMap maps x-values into pixel coordinates.
yMap maps y-values into pixel coordinates.
from index of the first point to be painted
to index of the last point to be painted. If to < 0 the curve will be painted to its last point.
See also:
QwtCurve::drawPolyline, QwtCurve::drawLine, QwtCurve::drawPolyline, QwtCurve::drawPolygon

Definition at line 370 of file qwt_curve.cpp.

References d_brush, d_pen, d_style, d_sym, dataSize(), drawCurve(), drawSymbols(), QwtSymbol::None, QwtSymbol::style(), and verifyRange().

Referenced by QwtPlot::drawCanvasItems(), and QwtPlot::drawCurve().

void QwtCurve::drawCurve QPainter *  painter,
int  style,
const QwtDiMap xMap,
const QwtDiMap yMap,
int  from,
int  to
[protected, virtual]
 

Draw the line part (without symbols) of a curve interval.

Parameters:
painter Painter
style curve style, see QwtCurve::CurveStyle
xMap x map
yMap y map
from index of the first point to be painted
to index of the last point to be painted
See also:
QwtCurve::drawPolyline, QwtCurve::drawLine, QwtCurve::drawPolyline, QwtCurve::drawPolygon

Definition at line 414 of file qwt_curve.cpp.

References dataSize(), Dots, drawDots(), drawLines(), drawSpline(), drawSteps(), drawSticks(), Lines, NoCurve, Spline, Steps, and Sticks.

Referenced by draw().

void QwtCurve::drawDots QPainter *  painter,
const QwtDiMap xMap,
const QwtDiMap yMap,
int  from,
int  to
[protected]
 

Draw dots.

Parameters:
painter Painter
xMap x map
yMap y map
from index of the first point to be painted
to index of the last point to be painted
See also:
QwtCurve::drawPolyline, QwtCurve::drawLine, QwtCurve::drawPolyline, QwtCurve::drawPolygon

Definition at line 514 of file qwt_curve.cpp.

References closePolyline(), d_x, d_y, QwtPainter::drawPoint(), QwtPainter::drawPolygon(), QwtDiMap::transform(), x(), and y().

Referenced by drawCurve().

void QwtCurve::drawLines QPainter *  painter,
const QwtDiMap xMap,
const QwtDiMap yMap,
int  from,
int  to
[protected]
 

Draw lines.

Parameters:
painter Painter
xMap x map
yMap y map
from index of the first point to be painted
to index of the last point to be painted
See also:
QwtCurve::drawPolyline, QwtCurve::drawLine, QwtCurve::drawPolyline, QwtCurve::drawPolygon

Definition at line 454 of file qwt_curve.cpp.

References closePolyline(), d_x, d_y, QwtPainter::drawPolygon(), QwtPainter::drawPolyline(), QwtDiMap::transform(), x(), and y().

Referenced by drawCurve(), and drawSpline().

void QwtCurve::drawSpline QPainter *  painter,
const QwtDiMap xMap,
const QwtDiMap yMap
[protected]
 

Draw a spline.

Parameters:
painter Painter
xMap x map
yMap y map
See also:
QwtCurve::drawPolyline, QwtCurve::drawLine, QwtCurve::drawPolyline, QwtCurve::drawPolygon

Definition at line 595 of file qwt_curve.cpp.

References closePolyline(), d_options, d_splineSize, d_spx, d_spy, d_x, d_y, dataSize(), drawLines(), QwtPainter::drawPolygon(), QwtPainter::drawPolyline(), Parametric, Periodic, qwtChkMono(), qwtGetMax(), qwtGetMin(), qwtMax, qwtSqr(), qwtTwistArray(), QwtSpline::recalc(), QwtSpline::value(), Xfy, QwtDiMap::xTransform(), and Yfx.

Referenced by drawCurve().

void QwtCurve::drawSteps QPainter *  painter,
const QwtDiMap xMap,
const QwtDiMap yMap,
int  from,
int  to
[protected]
 

Draw step function.

Parameters:
painter Painter
xMap x map
yMap y map
from index of the first point to be painted
to index of the last point to be painted
See also:
QwtCurve::drawPolyline, QwtCurve::drawLine, QwtCurve::drawPolyline, QwtCurve::drawPolygon

Definition at line 551 of file qwt_curve.cpp.

References closePolyline(), d_options, d_x, d_y, QwtPainter::drawPolygon(), QwtPainter::drawPolyline(), Inverted, QwtDiMap::transform(), x(), y(), and Yfx.

Referenced by drawCurve().

void QwtCurve::drawSticks QPainter *  painter,
const QwtDiMap xMap,
const QwtDiMap yMap,
int  from,
int  to
[protected]
 

Draw sticks.

Parameters:
painter Painter
xMap x map
yMap y map
from index of the first point to be painted
to index of the last point to be painted
See also:
QwtCurve::drawPolyline, QwtCurve::drawLine, QwtCurve::drawPolyline, QwtCurve::drawPolygon

Definition at line 486 of file qwt_curve.cpp.

References d_options, d_ref, d_x, d_y, QwtPainter::drawLine(), QwtDiMap::transform(), x(), Xfy, and y().

Referenced by drawCurve().

void QwtCurve::drawSymbols QPainter *  painter,
QwtSymbol symbol,
const QwtDiMap xMap,
const QwtDiMap yMap,
int  from,
int  to
[protected, virtual]
 

Draw symbols.

Parameters:
painter Painter
symbol Curve symbol
xMap x map
yMap y map
from index of the first point to be painted
to index of the last point to be painted

Definition at line 877 of file qwt_curve.cpp.

References d_x, d_y, QwtSymbol::draw(), and QwtDiMap::transform().

Referenced by draw().

void QwtCurve::init const QString &  title  )  [protected]
 

Initialize data members.

Definition at line 19 of file qwt_curve.cpp.

References Auto, d_options, d_pen, d_rangeCache, d_raw, d_ref, d_splineSize, d_style, d_title, and Lines.

Referenced by QwtCurve().

virtual double QwtCurve::maxXValue  )  const [virtual]
 

Referenced by QwtPlot::updateAxes().

virtual double QwtCurve::maxYValue  )  const [virtual]
 

Referenced by QwtPlot::updateAxes().

virtual double QwtCurve::minXValue  )  const [virtual]
 

Referenced by QwtPlot::updateAxes().

virtual double QwtCurve::minYValue  )  const [virtual]
 

Referenced by QwtPlot::updateAxes().

const QwtCurve & QwtCurve::operator= const QwtCurve c  ) 
 

Copy Assignment.

Warning:
If curve c has attached its data in raw mode, the assignment operator creates a deep copy of the data. The data are implicitly shared otherwise.
See also:
QwtCurve::setRawData()

Definition at line 89 of file qwt_curve.cpp.

References copy(), and curveChanged().

Referenced by QwtPlotCurve::operator=().

int QwtCurve::options  )  const
 

Return the current style options.

See also:
QwtCurve::setOptions

Definition at line 807 of file qwt_curve.cpp.

References d_options.

Referenced by QwtPlot::curveOptions().

const QPen & QwtCurve::pen  )  const
 

Return the pen used to draw the lines.

See also:
QwtCurve::setPen

Definition at line 181 of file qwt_curve.cpp.

References d_pen.

Referenced by QwtPlotPrintFilter::apply(), QwtPlot::curvePen(), QwtPlotPrintFilter::reset(), and QwtPlot::updateLegendItem().

void QwtCurve::setBaseline double  ref  ) 
 

Set the value of the baseline.

The baseline is needed for filling the curve with a brush or the QwtCurve::Sticks drawing style. The default value is 0.0. The interpretation of the baseline depends on the style options. With QwtCurve::Yfx, the baseline is interpreted as a horizontal line at y = baseline(), with QwtCurve::Yfy, it is interpreted as a vertical line at x = baseline().

Parameters:
ref baseline
See also:
QwtCurve::setBrush(), QwtCurve::setStyle(), QwtCurve::setOptions()

Definition at line 902 of file qwt_curve.cpp.

References curveChanged(), and d_ref.

Referenced by QwtPlot::setCurveBaseline().

void QwtCurve::setBrush const QBrush &  brush  ) 
 

Assign a brush. In case of brush.style() != QBrush::NoBrush and style() != QwtCurve::Sticks the area between the curve and the baseline will be filled. In case !brush.color().isValid() the area will be filled by pen.color(). The fill algorithm simply connects the first and the last curve point to the baseline. So the curve data has to be sorted (ascending or descending).

Parameters:
brush New brush
See also:
QwtCurve::brush, QwtCurve::setBaseline, QwtCurve::baseline

Definition at line 198 of file qwt_curve.cpp.

References curveChanged(), and d_brush.

Referenced by QwtPlot::setCurveBrush().

void QwtCurve::setData const double *  x,
const double *  y,
int  size
 

Copy x-y data from specified arrays.

Parameters:
x pointer to x data
y pointer to y data
size size of x and y

Definition at line 224 of file qwt_curve.cpp.

References curveChanged(), d_rangeCache, d_raw, d_x, and d_y.

Referenced by QwtPlot::setCurveData().

void QwtCurve::setOptions int  opt  ) 
 

Specify options for the drawing style.

The options can be used to modify the drawing style. Options can be or-combined. The following options are defined:

QwtCurve::Auto
The default setting. For QwtCurve::spline, this means that the type of the spline is determined automatically, depending on the data. For all other styles, this means that y is regarded as a function of x.
QwtCurve::Yfx
Draws y as a function of x (the default). The baseline is interpreted as a horizontal line with y = baseline().
QwtCurve::Xfy
Draws x as a function of y. The baseline is interpreted as a vertical line with x = baseline().
QwtCurve::Parametric
For QwtCurve::Spline only. Draws a parametric spline.
QwtCurve::Periodic
For QwtCurve::Spline only. Draws a periodic spline.
QwtCurve::Inverted
For QwtCurve::Steps only. Draws a step function from the right to the left.

Parameters:
opt new options /sa QwtCurve::options()

Definition at line 797 of file qwt_curve.cpp.

References curveChanged(), and d_options.

Referenced by QwtPlot::setCurveOptions().

void QwtCurve::setPen const QPen &  p  ) 
 

Assign a pen.

Parameters:
p New pen

Definition at line 168 of file qwt_curve.cpp.

References curveChanged(), and d_pen.

Referenced by QwtPlotPrintFilter::apply(), QwtPlotPrintFilter::reset(), and QwtPlot::setCurvePen().

void QwtCurve::setRawData const double *  x,
const double *  y,
int  size
 

Attach raw data.

setRawData is provided for efficiency. In contrast to setData, it does not copy the data, so it is important to keep the pointers valid while they are attached.

The QwtCurve destructor does not delete the attached data, so you can safely call setRawData and setData several times subsequently.

Parameters:
x pointer to x data
y pointer to y data
size size of x and y

Definition at line 253 of file qwt_curve.cpp.

References curveChanged(), d_rangeCache, d_raw, d_x, and d_y.

Referenced by QwtPlot::setCurveRawData().

void QwtCurve::setSplineSize int  s  ) 
 

Change the number of interpolated points.

Parameters:
s new size
Warning:
The default is 250 points.

Definition at line 817 of file qwt_curve.cpp.

References curveChanged(), d_splineSize, and qwtMax.

Referenced by QwtPlot::setCurveSplineSize().

void QwtCurve::setStyle int  style,
int  options = 0
 

Set the curve's drawing style.

Valid styles are:

QwtCurve::NoCurve
Don't draw a curve. Note: This doesn't affect the symbol.
QwtCurve::Lines
Connect the points with straight lines.
QwtCurve::Sticks
Draw vertical sticks from a baseline which is defined by setBaseline().
QwtCurve::Steps
Connect the points with a step function. The step function is drawn from the left to the right or vice versa, depending on the 'Inverted' option.
QwtCurves::Dots
Draw dots at the locations of the data points. Note: This is different from a dotted line (see setPen()).
QwtCurve::Spline
Interpolate the points with a spline. The spline type can be specified with setOptions(), the size of the spline (= number of interpolated points) can be specified with setSplineSize().
QwtCurve::UserCurve ...
Styles >= QwtCurve::UserCurve are reserved for derived classes of QwtCurve that overload QwtCurve::draw() with additional application specific curve types.
See also:
QwtCurve::style()

Definition at line 126 of file qwt_curve.cpp.

References curveChanged(), d_options, and d_style.

Referenced by QwtPlot::setCurveStyle().

void QwtCurve::setSymbol const QwtSymbol s  ) 
 

Assign a symbol.

Parameters:
s symbol
See also:
QwtSymbol

Definition at line 148 of file qwt_curve.cpp.

References curveChanged(), and d_sym.

Referenced by QwtPlotPrintFilter::apply(), QwtPlotPrintFilter::reset(), and QwtPlot::setCurveSymbol().

void QwtCurve::setTitle const QString &  title  ) 
 

Assign a title to a curve.

Parameters:
title new title

Definition at line 273 of file qwt_curve.cpp.

References curveChanged(), and d_title.

Referenced by QwtPlot::insertCurve(), and QwtPlot::setCurveTitle().

int QwtCurve::splineSize  )  const
 

Return the spline size.

See also:
QwtCurve::setSplineSize

Definition at line 829 of file qwt_curve.cpp.

References d_splineSize.

Referenced by QwtPlot::curveSplineSize().

int QwtCurve::style  )  const
 

Return the current style.

See also:
QwtCurve::setStyle

Definition at line 138 of file qwt_curve.cpp.

References d_style.

Referenced by QwtPlot::curveStyle(), and QwtPlot::updateLegendItem().

const QwtSymbol & QwtCurve::symbol  )  const
 

Return the current symbol.

See also:
QwtCurve::setSymbol

Definition at line 158 of file qwt_curve.cpp.

References d_sym.

Referenced by QwtPlotPrintFilter::apply(), QwtPlot::curveSymbol(), QwtPlotPrintFilter::reset(), and QwtPlot::updateLegendItem().

const QString & QwtCurve::title  )  const
 

Return the title.

See also:
QwtCurve::setTitle

Definition at line 283 of file qwt_curve.cpp.

References d_title.

Referenced by QwtPlot::curveTitle(), and QwtPlot::updateLegendItem().

void QwtCurve::updateRangeCache  )  [protected, virtual]
 

Update the the min/max value cache.

Definition at line 928 of file qwt_curve.cpp.

References d_rangeCache, d_x, d_y, x(), and y().

int QwtCurve::verifyRange int &  i1,
int &  i2
[protected]
 

Checks if a range of indices is valid and corrects it if necessary.

Parameters:
i1 Index 1
i2 Index 2

Definition at line 346 of file qwt_curve.cpp.

References dataSize(), qwtLim(), and qwtSort().

Referenced by draw().

double QwtCurve::x int  i  )  const [inline]
 

Parameters:
i index
Returns:
x-value at position i

Definition at line 208 of file qwt_curve.h.

References d_x.

Referenced by QwtPlot::closestCurve(), drawDots(), drawLines(), drawSteps(), drawSticks(), and updateRangeCache().

double QwtCurve::y int  i  )  const [inline]
 

Parameters:
i index
Returns:
y-value at position i

Definition at line 217 of file qwt_curve.h.

References d_y.

Referenced by QwtPlot::closestCurve(), drawDots(), drawLines(), drawSteps(), drawSticks(), and updateRangeCache().


Member Data Documentation

QBrush QwtCurve::d_brush [private]
 

Definition at line 188 of file qwt_curve.h.

Referenced by brush(), draw(), and setBrush().

int QwtCurve::d_options [private]
 

Definition at line 191 of file qwt_curve.h.

Referenced by closePolyline(), copy(), drawSpline(), drawSteps(), drawSticks(), init(), options(), setOptions(), and setStyle().

QPen QwtCurve::d_pen [private]
 

Definition at line 187 of file qwt_curve.h.

Referenced by copy(), draw(), init(), pen(), and setPen().

struct { ... } QwtCurve::d_rangeCache [private]
 

Referenced by copy(), init(), setData(), setRawData(), and updateRangeCache().

bool QwtCurve::d_raw [protected]
 

Definition at line 174 of file qwt_curve.h.

Referenced by copy(), init(), setData(), setRawData(), and ~QwtCurve().

double QwtCurve::d_ref [private]
 

Definition at line 183 of file qwt_curve.h.

Referenced by baseline(), closePolyline(), copy(), drawSticks(), init(), and setBaseline().

int QwtCurve::d_splineSize [private]
 

Definition at line 192 of file qwt_curve.h.

Referenced by copy(), drawSpline(), init(), setSplineSize(), and splineSize().

QwtSpline QwtCurve::d_spx [protected]
 

Definition at line 178 of file qwt_curve.h.

Referenced by drawSpline().

QwtSpline QwtCurve::d_spy [protected]
 

Definition at line 179 of file qwt_curve.h.

Referenced by drawSpline().

int QwtCurve::d_style [private]
 

Definition at line 182 of file qwt_curve.h.

Referenced by copy(), draw(), init(), setStyle(), and style().

QwtSymbol QwtCurve::d_sym [private]
 

Definition at line 185 of file qwt_curve.h.

Referenced by copy(), draw(), setSymbol(), and symbol().

QString QwtCurve::d_title [private]
 

Definition at line 189 of file qwt_curve.h.

Referenced by copy(), init(), QwtCurve(), setTitle(), and title().

QwtArray<double> QwtCurve::d_x [protected]
 

Definition at line 175 of file qwt_curve.h.

Referenced by copy(), dataSize(), drawDots(), drawLines(), drawSpline(), drawSteps(), drawSticks(), drawSymbols(), setData(), setRawData(), updateRangeCache(), x(), and ~QwtCurve().

QwtArray<double> QwtCurve::d_y [protected]
 

Definition at line 176 of file qwt_curve.h.

Referenced by copy(), dataSize(), drawDots(), drawLines(), drawSpline(), drawSteps(), drawSticks(), drawSymbols(), setData(), setRawData(), updateRangeCache(), y(), and ~QwtCurve().

bool QwtCurve::isDirty [private]
 

Definition at line 196 of file qwt_curve.h.

double QwtCurve::maxXValue [private]
 

find the largest x value

Definition at line 313 of file qwt_curve.cpp.

double QwtCurve::maxYValue [private]
 

find the largest y value

Definition at line 324 of file qwt_curve.cpp.

double QwtCurve::minXValue [private]
 

find the smallest x value

Definition at line 291 of file qwt_curve.cpp.

double QwtCurve::minYValue [private]
 

find the smallest y value

Definition at line 302 of file qwt_curve.cpp.


The documentation for this class was generated from the following files:
Generated on Fri Nov 7 14:11:47 2003 for Qwt Developer's Guide by doxygen 1.3.2