Qwt User's Guide svn
Public Member Functions | Protected Attributes
QwtPoint3DSeriesData Class Reference

#include <qwt_series_data.h>

Inherits QwtArraySeriesData< QwtPoint3D >.

List of all members.

Public Member Functions

virtual QRectF boundingRect () const
 QwtPoint3DSeriesData (const QVector< QwtPoint3D > &=QVector< QwtPoint3D >())
virtual QwtPoint3D sample (size_t) const
const QVector< QwtPoint3Dsamples () const
virtual void setRectOfInterest (const QRectF &)
void setSamples (const QVector< QwtPoint3D > &)
virtual size_t size () const

Protected Attributes

QRectF d_boundingRect
QVector< QwtPoint3Dd_samples

Detailed Description

Interface for iterating over an array of 3D points.


Constructor & Destructor Documentation

QwtPoint3DSeriesData::QwtPoint3DSeriesData ( const QVector< QwtPoint3D > &  samples = QVector<QwtPoint3D>())

Constructor

Parameters:
samplesSamples

Member Function Documentation

QRectF QwtPoint3DSeriesData::boundingRect ( ) const [virtual]

Calculate the bounding rect.

The bounding rectangle is calculated once by iterating over all points and is stored for all following requests.

Returns:
Bounding rectangle

Implements QwtSeriesData< QwtPoint3D >.

virtual QwtPoint3D QwtArraySeriesData< QwtPoint3D >::sample ( size_t  i) const [virtual, inherited]

Return a sample

Parameters:
iIndex
Returns:
Sample at position i

Implements QwtSeriesData< QwtPoint3D >.

virtual size_t QwtArraySeriesData< QwtPoint3D >::size ( ) const [virtual, inherited]
Returns:
Number of samples

Implements QwtSeriesData< QwtPoint3D >.


Member Data Documentation

QRectF QwtSeriesData< QwtPoint3D >::d_boundingRect [mutable, protected, inherited]

Can be used to cache a calculated bounding rectangle.

QVector<QwtPoint3D > QwtArraySeriesData< QwtPoint3D >::d_samples [protected, inherited]

Vector of samples.

qmi style