10#include "qwt_point_data.h"
23 , m_interval( interval )
80 m_rectOfInterest = rect;
91 return m_rectOfInterest;
110 return QRectF( 1.0, 1.0, -2.0, -2.0 );
113 return qwtBoundingRect( *
this );
127 if ( index >= m_size )
128 return QPointF( 0, 0 );
130 const double xValue =
x( index );
131 const double yValue =
y( xValue );
133 return QPointF( xValue, yValue );
151 m_interval : m_intervalOfInterest;
A class representing an interval.
QwtInterval normalized() const
Normalize the limits of the interval.
double width() const
Return the width of an interval.
void setInterval(const QwtInterval &)
virtual QPointF sample(size_t index) const override
QwtInterval interval() const
void setSize(size_t size)
QRectF rectOfInterest() const
virtual double x(uint index) const
virtual size_t size() const override
QwtSyntheticPointData(size_t size, const QwtInterval &=QwtInterval())
virtual QRectF boundingRect() const override
Calculate the bounding rectangle.
virtual double y(double x) const =0
virtual void setRectOfInterest(const QRectF &) override