#include <vtkQtChartStyleRegistry.h>
Definition at line 37 of file vtkQtChartStyleRegistry.h.
Public Member Functions | |
vtkQtChartStyleRegistry () | |
~vtkQtChartStyleRegistry () | |
int | reserveStyle () |
Reserves a style index for the style generator. | |
void | releaseStyle (int index) |
Releases a series style index. |
vtkQtChartStyleRegistry::vtkQtChartStyleRegistry | ( | ) |
vtkQtChartStyleRegistry::~vtkQtChartStyleRegistry | ( | ) |
int vtkQtChartStyleRegistry::reserveStyle | ( | ) |
Reserves a style index for the style generator.
The index returned is the lowest index available. If there are empty spots from removals, the index will come from the first empty spot.
void vtkQtChartStyleRegistry::releaseStyle | ( | int | index | ) |
Releases a series style index.
When an index is released, the empty spot is saved so it can be used for the next reservation.
index | The style index to release. |