vtkQtChartSeriesModel Class Reference

#include <vtkQtChartSeriesModel.h>

Inheritance diagram for vtkQtChartSeriesModel:

Inheritance graph
[legend]

List of all members.


Detailed Description

The vtkQtChartSeriesModel class is the base class for all chart series models.

Definition at line 36 of file vtkQtChartSeriesModel.h.


Signals

void modelAboutToBeReset ()
 Emitted when the model is about to be reset.
void modelReset ()
 Emitted when the model has been reset.
void seriesAboutToBeInserted (int first, int last)
 Emitted when series will be inserted into the model.
void seriesInserted (int first, int last)
 Emitted when series have been inserted into the model.
void seriesAboutToBeRemoved (int first, int last)
 Emitted when series will be removed from the model.
void seriesRemoved (int first, int last)
 Emitted when series have been removed from the model.

Public Member Functions

 vtkQtChartSeriesModel (QObject *parent=0)
 Creates a chart series model.
virtual ~vtkQtChartSeriesModel ()
virtual int getNumberOfSeries () const =0
 Gets the number of series in the model.
virtual int getNumberOfSeriesValues (int series) const =0
 Gets the number of values in a series.
virtual QVariant getSeriesName (int series) const =0
 Gets the name for the given series.
virtual QVariant getSeriesValue (int series, int index, int component) const =0
 Gets the series value for the given index and component.
virtual QList< QVariant > getSeriesRange (int series, int component) const =0
 Gets the value range for a series component.

Constructor & Destructor Documentation

vtkQtChartSeriesModel::vtkQtChartSeriesModel ( QObject *  parent = 0  ) 

Creates a chart series model.

Parameters:
parent The parent object.

virtual vtkQtChartSeriesModel::~vtkQtChartSeriesModel (  )  [inline, virtual]

Definition at line 45 of file vtkQtChartSeriesModel.h.


Member Function Documentation

virtual int vtkQtChartSeriesModel::getNumberOfSeries (  )  const [pure virtual]

Gets the number of series in the model.

Returns:
The number of series in the model.

Implemented in vtkQtChartSeriesModelCollection, and vtkQtChartTableSeriesModel.

virtual int vtkQtChartSeriesModel::getNumberOfSeriesValues ( int  series  )  const [pure virtual]

Gets the number of values in a series.

Parameters:
series The series index.
Returns:
The number of values in a series.

Implemented in vtkQtChartSeriesModelCollection, and vtkQtChartTableSeriesModel.

virtual QVariant vtkQtChartSeriesModel::getSeriesName ( int  series  )  const [pure virtual]

Gets the name for the given series.

Parameters:
series The series index.
Returns:
The name for the given series.

Implemented in vtkQtChartSeriesModelCollection, and vtkQtChartTableSeriesModel.

virtual QVariant vtkQtChartSeriesModel::getSeriesValue ( int  series,
int  index,
int  component 
) const [pure virtual]

Gets the series value for the given index and component.

Parameters:
series The series index.
index The index in the given series.
component The component index.
Returns:
The series value for the given index and component.

Implemented in vtkQtChartSeriesModelCollection, and vtkQtChartTableSeriesModel.

virtual QList<QVariant> vtkQtChartSeriesModel::getSeriesRange ( int  series,
int  component 
) const [pure virtual]

Gets the value range for a series component.

Parameters:
series The series index.
component The component index.
Returns:
The value range for a series component.

Implemented in vtkQtChartSeriesModelCollection, and vtkQtChartTableSeriesModel.

void vtkQtChartSeriesModel::modelAboutToBeReset (  )  [signal]

Emitted when the model is about to be reset.

void vtkQtChartSeriesModel::modelReset (  )  [signal]

Emitted when the model has been reset.

void vtkQtChartSeriesModel::seriesAboutToBeInserted ( int  first,
int  last 
) [signal]

Emitted when series will be inserted into the model.

Parameters:
first The first index to be added.
last The last index to be added.

void vtkQtChartSeriesModel::seriesInserted ( int  first,
int  last 
) [signal]

Emitted when series have been inserted into the model.

Parameters:
first The first index that was inserted.
last The last index that was inserted.

void vtkQtChartSeriesModel::seriesAboutToBeRemoved ( int  first,
int  last 
) [signal]

Emitted when series will be removed from the model.

Parameters:
first The first index to be removed.
last The last index to be removed.

void vtkQtChartSeriesModel::seriesRemoved ( int  first,
int  last 
) [signal]

Emitted when series have been removed from the model.

Parameters:
first The first index that was removed.
last The last index that was removed.


The documentation for this class was generated from the following file:

Generated on Wed Jun 3 19:28:34 2009 for VTK by  doxygen 1.5.6