The vtkQtChartSeriesModelCollection class is used to combine chart series models.
More...
#include <vtkQtChartSeriesModelCollection.h>
List of all members.
Detailed Description
The vtkQtChartSeriesModelCollection class is used to combine chart series models.
The collection maps the overall series index to the model specific series index.
Definition at line 38 of file vtkQtChartSeriesModelCollection.h.
Constructor & Destructor Documentation
vtkQtChartSeriesModelCollection::vtkQtChartSeriesModelCollection |
( |
QObject * |
parent = 0 ) |
|
Creates a chart series model collection.
- Parameters:
-
virtual vtkQtChartSeriesModelCollection::~vtkQtChartSeriesModelCollection |
( |
) |
[inline, virtual] |
Member Function Documentation
Adds a series model to the collection.
- Parameters:
-
model | The series model to add. |
virtual int vtkQtChartSeriesModelCollection::getNumberOfSeries |
( |
) |
const [virtual] |
Gets the number of series in the model.
- Returns:
- The number of series in the model.
Implements vtkQtChartSeriesModel.
int vtkQtChartSeriesModelCollection::getNumberOfSeriesModels |
( |
) |
const |
Gets the number of series models in the collection.
- Returns:
- The number of series models in the collection.
virtual int vtkQtChartSeriesModelCollection::getNumberOfSeriesValues |
( |
int |
series ) |
const [virtual] |
Gets the number of values in a series.
- Parameters:
-
- Returns:
- The number of values in a series.
Implements vtkQtChartSeriesModel.
Gets the series model at the specified index.
- Parameters:
-
index | The series model index. |
- Returns:
- A pointer to the series model.
virtual QVariant vtkQtChartSeriesModelCollection::getSeriesName |
( |
int |
series ) |
const [virtual] |
Gets the name for the given series.
- Parameters:
-
- Returns:
- The name for the given series.
Implements vtkQtChartSeriesModel.
virtual QList<QVariant> vtkQtChartSeriesModelCollection::getSeriesRange |
( |
int |
series, |
|
|
int |
component |
|
) |
| const [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.
Implements vtkQtChartSeriesModel.
virtual QVariant vtkQtChartSeriesModelCollection::getSeriesValue |
( |
int |
series, |
|
|
int |
index, |
|
|
int |
component |
|
) |
| const [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.
Implements vtkQtChartSeriesModel.
void vtkQtChartSeriesModelCollection::onSeriesAboutToBeInserted |
( |
int |
first, |
|
|
int |
last |
|
) |
| [protected, slot] |
Called when a series is about to be inserted into a model.
This method uses the signal sender to determine which model has changed. It then maps the model series indexes to collection series indexes and re-emits the signal.
- Parameters:
-
first | The first model series index. |
last | The last model series index. |
void vtkQtChartSeriesModelCollection::onSeriesAboutToBeRemoved |
( |
int |
first, |
|
|
int |
last |
|
) |
| [protected, slot] |
Called when a series is about to be removed from a model.
- Parameters:
-
first | The first model series index. |
last | The last model series index. |
void vtkQtChartSeriesModelCollection::onSeriesInserted |
( |
int |
first, |
|
|
int |
last |
|
) |
| [protected, slot] |
Called when a series is inserted into a model.
- Parameters:
-
first | The first model series index. |
last | The last model series index. |
void vtkQtChartSeriesModelCollection::onSeriesRemoved |
( |
int |
first, |
|
|
int |
last |
|
) |
| [protected, slot] |
Called when a series is removed from a model.
- Parameters:
-
first | The first model series index. |
last | The last model series index. |
Removes a series model from the collection.
- Parameters:
-
model | The series model to remove. |
The documentation for this class was generated from the following file: