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.

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.

index The style index to release.

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

Generated on Wed Aug 24 12:00:09 2011 for VTK by  doxygen 1.5.6