|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
A helper class for translating a series of points. More...
#include <qwt_point_mapper.h>
Classes | |
| class | PrivateData |
Public Types | |
| enum | TransformationFlag { RoundPoints = 0x01 , WeedOutPoints = 0x02 , WeedOutIntermediatePoints = 0x04 } |
| Flags affecting the transformation process. More... | |
Public Member Functions | |
| QwtPointMapper () | |
| Constructor. | |
| ~QwtPointMapper () | |
| Destructor. | |
| void | setFlags (TransformationFlags) |
| Set the flags affecting the transformation process. | |
| TransformationFlags | flags () const |
| Get the flags affecting the transformation process. | |
| void | setFlag (TransformationFlag, bool on=true) |
| Modify a flag affecting the transformation process. | |
| bool | testFlag (TransformationFlag) const |
| Test if a flag is set. | |
| void | setBoundingRect (const QRectF &) |
| Set a bounding rectangle for the point mapping algorithm. | |
| QRectF | boundingRect () const |
| Get the bounding rectangle. | |
| QPolygonF | toPolygonF (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QwtSeriesData< QPointF > *series, int from, int to) const |
| Translate a series of points into a QPolygonF. | |
| QPolygon | toPolygon (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QwtSeriesData< QPointF > *series, int from, int to) const |
| Translate a series of points into a QPolygon. | |
| QPolygon | toPoints (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QwtSeriesData< QPointF > *series, int from, int to) const |
| Translate a series of points into a QPolygon (scattered points) | |
| QPolygonF | toPointsF (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QwtSeriesData< QPointF > *series, int from, int to) const |
| Translate a series into a QPolygonF (scattered points) | |
| QImage | toImage (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QwtSeriesData< QPointF > *series, int from, int to, const QPen &, bool antialiased, uint numThreads) const |
| Translate a series into a QImage. | |
A helper class for translating a series of points.
| QwtPointMapper::QwtPointMapper | ( | ) |
Constructor.
| QwtPointMapper::~QwtPointMapper | ( | ) |
Destructor.
| QRectF QwtPointMapper::boundingRect | ( | ) | const |
Get the bounding rectangle.
| QwtPointMapper::TransformationFlags QwtPointMapper::flags | ( | ) | const |
Get the flags affecting the transformation process.
| void QwtPointMapper::setBoundingRect | ( | const QRectF & | rect | ) |
Set a bounding rectangle for the point mapping algorithm.
| void QwtPointMapper::setFlag | ( | TransformationFlag | flag, |
| bool | on = true |
||
| ) |
Modify a flag affecting the transformation process.
| void QwtPointMapper::setFlags | ( | TransformationFlags | flags | ) |
Set the flags affecting the transformation process.
| bool QwtPointMapper::testFlag | ( | TransformationFlag | flag | ) | const |
Test if a flag is set.
| QImage QwtPointMapper::toImage | ( | const QwtScaleMap & | xMap, |
| const QwtScaleMap & | yMap, | ||
| const QwtSeriesData< QPointF > * | series, | ||
| int | from, | ||
| int | to, | ||
| const QPen & | pen, | ||
| bool | antialiased, | ||
| uint | numThreads | ||
| ) | const |
Translate a series into a QImage.
| QPolygon QwtPointMapper::toPoints | ( | const QwtScaleMap & | xMap, |
| const QwtScaleMap & | yMap, | ||
| const QwtSeriesData< QPointF > * | series, | ||
| int | from, | ||
| int | to | ||
| ) | const |
Translate a series of points into a QPolygon (scattered points)
| QPolygonF QwtPointMapper::toPointsF | ( | const QwtScaleMap & | xMap, |
| const QwtScaleMap & | yMap, | ||
| const QwtSeriesData< QPointF > * | series, | ||
| int | from, | ||
| int | to | ||
| ) | const |
Translate a series into a QPolygonF (scattered points)
| QPolygon QwtPointMapper::toPolygon | ( | const QwtScaleMap & | xMap, |
| const QwtScaleMap & | yMap, | ||
| const QwtSeriesData< QPointF > * | series, | ||
| int | from, | ||
| int | to | ||
| ) | const |
Translate a series of points into a QPolygon.
| QPolygonF QwtPointMapper::toPolygonF | ( | const QwtScaleMap & | xMap, |
| const QwtScaleMap & | yMap, | ||
| const QwtSeriesData< QPointF > * | series, | ||
| int | from, | ||
| int | to | ||
| ) | const |
Translate a series of points into a QPolygonF.