GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
QwtData(3) Qwt User's Guide QwtData(3)

QwtData -

#include <qwt_data.h>
Inherited by QwtArrayData, QwtCPointerData, and QwtPolygonFData.


QwtData ()
 
virtual ~QwtData ()
 
virtual QwtDoubleRect boundingRect () const
 
virtual QwtData * copy () const =0
 
virtual size_t size () const =0
 
virtual double x (size_t i) const =0
 
virtual double y (size_t i) const =0
 


QwtData & operator= (const QwtData &)
 

QwtData defines an interface to any type of curve data.
Classes, derived from QwtData may:
store the data in almost any type of container
calculate the data on the fly instead of storing it

Returns the bounding rectangle of the data. If there is no bounding rect, like for empty data the rectangle is invalid: QwtDoubleRect::isValid() == false
Warning:
This is an slow implementation iterating over all points. It is intended to be overloaded by derived classes. In case of auto scaling boundingRect() is called for every replot, so it might be worth to implement a cache, or use x(0), x( size() - 1) for ordered data ...
Reimplemented in QwtCPointerData, and QwtArrayData.

Returns:
Pointer to a copy (virtual copy constructor)
Implemented in QwtCPointerData, QwtArrayData, and QwtPolygonFData.

Assignment operator (virtualized)

Returns:
Size of the data set
Implemented in QwtCPointerData, QwtArrayData, and QwtPolygonFData.

Return the x value of data point i
Parameters:
i Index
Returns:
x X value of data point i
Implemented in QwtCPointerData, QwtArrayData, and QwtPolygonFData.

Return the y value of data point i
Parameters:
i Index
Returns:
y Y value of data point i
Implemented in QwtCPointerData, QwtArrayData, and QwtPolygonFData.

Generated automatically by Doxygen for Qwt User's Guide from the source code.
Tue Nov 20 2012 Version 5.2.3

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.