vtkQtChartStyleManager Class Reference

#include <vtkQtChartStyleManager.h>

Inheritance diagram for vtkQtChartStyleManager:

Inheritance graph

List of all members.

Detailed Description

The vtkQtChartStyleManager class allows several chart layers to share the same style generators.

Sharing style generators keeps the style from repeating. This is useful when several chart layers are displayed in the same chart. For example, a line chart and a bar chart can share a style generator to make sure that none of the series are the same color.

Definition at line 46 of file vtkQtChartStyleManager.h.

Public Member Functions

 vtkQtChartStyleManager (QObject *parent=0)
 Creates a chart style manager.
virtual ~vtkQtChartStyleManager ()
Style Setup Methods
virtual int getStyleIndex (vtkQtChartSeriesLayer *layer, vtkQtChartSeriesOptions *options) const =0
virtual int insertStyle (vtkQtChartSeriesLayer *layer, vtkQtChartSeriesOptions *options)=0
virtual void removeStyle (vtkQtChartSeriesLayer *layer, vtkQtChartSeriesOptions *options)=0
Generator Methods
QObject * getGenerator (const QString &name) const
void setGenerator (const QString &name, QObject *generator)
void removeGenerator (const QString &name)
void removeGenerator (QObject *generator)

Constructor & Destructor Documentation

vtkQtChartStyleManager::vtkQtChartStyleManager ( QObject *  parent = 0  ) 

Creates a chart style manager.

parent The parent object.

virtual vtkQtChartStyleManager::~vtkQtChartStyleManager (  )  [virtual]

Member Function Documentation

virtual int vtkQtChartStyleManager::getStyleIndex ( vtkQtChartSeriesLayer layer,
vtkQtChartSeriesOptions options 
) const [pure virtual]

Implemented in vtkQtChartBasicStyleManager.

virtual int vtkQtChartStyleManager::insertStyle ( vtkQtChartSeriesLayer layer,
vtkQtChartSeriesOptions options 
) [pure virtual]

Implemented in vtkQtChartBasicStyleManager.

virtual void vtkQtChartStyleManager::removeStyle ( vtkQtChartSeriesLayer layer,
vtkQtChartSeriesOptions options 
) [pure virtual]

Implemented in vtkQtChartBasicStyleManager.

QObject* vtkQtChartStyleManager::getGenerator ( const QString &  name  )  const

void vtkQtChartStyleManager::setGenerator ( const QString &  name,
QObject *  generator 

void vtkQtChartStyleManager::removeGenerator ( const QString &  name  ) 

void vtkQtChartStyleManager::removeGenerator ( QObject *  generator  ) 

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