QRectFQwtPointMapper::boundingRect()constReturns:
Bounding rectangle
Seealso:setBoundingRect()QwtPointMapper::TransformationFlagsQwtPointMapper::flags()constReturns:
Flags affecting the transformation process
Seealso:setFlags(), setFlag()voidQwtPointMapper::setBoundingRect(constQRectF&rect)
Set a bounding rectangle for the point mapping algorithm
A valid bounding rectangle can be used for optimizations
Parameters:rect Bounding rectangle
Seealso:boundingRect()voidQwtPointMapper::setFlag(TransformationFlagflag,boolon=true)
Modify a flag affecting the transformation process
Parameters:flag Flag type
on Value
Seealso:
flag(), setFlags()voidQwtPointMapper::setFlags(TransformationFlagsflags)
Set the flags affecting the transformation process
Parameters:flags Flags
Seealso:flags(), setFlag()boolQwtPointMapper::testFlag(TransformationFlagflag)constReturns:
True, when the flag is set
Parameters:flag Flag type
Seealso:setFlag(), setFlags()QImageQwtPointMapper::toImage(constQwtScaleMap&xMap,constQwtScaleMap&yMap,constQwtSeriesData<QPointF>*series,intfrom,intto,constQPen&pen,boolantialiased,uintnumThreads)const
Translate a series into a QImage.
Parameters:xMap x map
yMap y map
series Series of points to be mapped
from Index of the first point to be painted
to Index of the last point to be painted
pen Pen used for drawing a point of the image, where a point is mapped to
antialiased True, when the dots should be displayed antialiased
numThreads Number of threads to be used for rendering. If numThreads is set to 0, the system specific
ideal thread count is used.
Returns:
Image displaying the series
QPolygonQwtPointMapper::toPoints(constQwtScaleMap&xMap,constQwtScaleMap&yMap,constQwtSeriesData<QPointF>*series,intfrom,intto)const
Translate a series of points into a QPolygon.
• WeedOutPoints & boundingRect().isValid() All points that are mapped to the same position will be one
point. Points outside of the bounding rectangle are ignored.
• WeedOutPoints & !boundingRect().isValid() All consecutive points that are mapped to the same position
will one point
• !WeedOutPoints & boundingRect().isValid() Points outside of the bounding rectangle are ignored.
Parameters:xMap x map
yMap y map
series Series of points to be mapped
from Index of the first point to be painted
to Index of the last point to be painted
Returns:
Translated polygon
QPolygonFQwtPointMapper::toPointsF(constQwtScaleMap&xMap,constQwtScaleMap&yMap,constQwtSeriesData<QPointF>*series,intfrom,intto)const
Translate a series into a QPolygonF.
• WeedOutPoints & RoundPoints & boundingRect().isValid() All points that are mapped to the same position
will be one point. Points outside of the bounding rectangle are ignored.
• WeedOutPoints & RoundPoints & !boundingRect().isValid() All consecutive points that are mapped to the
same position will one point
• WeedOutPoints & !RoundPoints All consecutive points that are mapped to the same position will one point
• !WeedOutPoints & boundingRect().isValid() Points outside of the bounding rectangle are ignored.
When RoundPoints is set all points are rounded to integers but returned as PolygonF - what only makes
sense when the further processing of the values need a QPolygonF.
Parameters:xMap x map
yMap y map
series Series of points to be mapped
from Index of the first point to be painted
to Index of the last point to be painted
Returns:
Translated polygon
QPolygonQwtPointMapper::toPolygon(constQwtScaleMap&xMap,constQwtScaleMap&yMap,constQwtSeriesData<QPointF>*series,intfrom,intto)const
Translate a series of points into a QPolygon. When the WeedOutPoints flag is enabled consecutive points,
that are mapped to the same position will be one point.
Parameters:xMap x map
yMap y map
series Series of points to be mapped
from Index of the first point to be painted
to Index of the last point to be painted
Returns:
Translated polygon
QPolygonFQwtPointMapper::toPolygonF(constQwtScaleMap&xMap,constQwtScaleMap&yMap,constQwtSeriesData<QPointF>*series,intfrom,intto)const
Translate a series of points into a QPolygonF. When the WeedOutPoints flag is enabled consecutive points,
that are mapped to the same position will be one point.
When RoundPoints is set all points are rounded to integers but returned as PolygonF - what only makes
sense when the further processing of the values need a QPolygonF.
Parameters:xMap x map
yMap y map
series Series of points to be mapped
from Index of the first point to be painted
to Index of the last point to be painted
Returns:
Translated polygon