|
VTK
|
The vtkQtChartStyleRegistry class keeps track of reserved style indexes. More...
#include <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. | |
The vtkQtChartStyleRegistry class keeps track of reserved style indexes.
Definition at line 37 of file vtkQtChartStyleRegistry.h.
| 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. |
1.7.5.1