vtkQtChartStyleRegistry Class Reference

#include <vtkQtChartStyleRegistry.h>

List of all members.


Detailed Description

The vtkQtChartStyleRegistry class keeps track of reserved style indexes.

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.

Constructor & Destructor Documentation

vtkQtChartStyleRegistry::vtkQtChartStyleRegistry (  ) 

vtkQtChartStyleRegistry::~vtkQtChartStyleRegistry (  ) 


Member Function Documentation

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.

Returns:
The reserved style index for the style generator.

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.

Parameters:
index The style index to release.


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

Generated on Mon Sep 27 18:44:48 2010 for VTK by  doxygen 1.5.6