vtkQtChartColorGenerator Class Reference

#include <vtkQtChartColorGenerator.h>

Inheritance diagram for vtkQtChartColorGenerator:

Inheritance graph
[legend]
Collaboration diagram for vtkQtChartColorGenerator:

Collaboration graph
[legend]

List of all members.


Detailed Description

The vtkQtChartColorGenerator class generates series brushs using a color list.

Definition at line 38 of file vtkQtChartColorGenerator.h.


Public Member Functions

 vtkQtChartColorGenerator (QObject *parent=0)
 Creates a color generator.
virtual ~vtkQtChartColorGenerator ()
vtkQtChartStyleBrush Methods
virtual QBrush getStyleBrush (int index) const
 Gets the brush for the specified series style index.
Color Methods
vtkQtChartColorsgetColors ()
 Gets the list of colors.
const vtkQtChartColorsgetColors () const
 Gets the list of colors.
void setColors (vtkQtChartColors *colors)
 Sets the list of colors.

Constructor & Destructor Documentation

vtkQtChartColorGenerator::vtkQtChartColorGenerator ( QObject *  parent = 0  ) 

Creates a color generator.

Parameters:
parent The parent object.

virtual vtkQtChartColorGenerator::~vtkQtChartColorGenerator (  )  [inline, virtual]

Definition at line 47 of file vtkQtChartColorGenerator.h.


Member Function Documentation

virtual QBrush vtkQtChartColorGenerator::getStyleBrush ( int  index  )  const [virtual]

Gets the brush for the specified series style index.

If the index is greater than the internal color list, the index will be wrapped around repeating the colors.

Parameters:
index The series style index.
Returns:
The brush for the specified series style index.

Implements vtkQtChartStyleBrush.

vtkQtChartColors* vtkQtChartColorGenerator::getColors (  )  [inline]

Gets the list of colors.

Returns:
A pointer to the list of colors.

Definition at line 69 of file vtkQtChartColorGenerator.h.

const vtkQtChartColors* vtkQtChartColorGenerator::getColors (  )  const [inline]

Gets the list of colors.

Returns:
A pointer to the list of colors.

Definition at line 75 of file vtkQtChartColorGenerator.h.

void vtkQtChartColorGenerator::setColors ( vtkQtChartColors colors  )  [inline]

Sets the list of colors.

Parameters:
colors The new list of colors.

Definition at line 80 of file vtkQtChartColorGenerator.h.


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

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