#include <vtkQtChartColorGenerator.h>
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 | |
vtkQtChartColors * | getColors () |
Gets the list of colors. | |
const vtkQtChartColors * | getColors () const |
Gets the list of colors. | |
void | setColors (vtkQtChartColors *colors) |
Sets the list of colors. |
vtkQtChartColorGenerator::vtkQtChartColorGenerator | ( | QObject * | parent = 0 |
) |
Creates a color generator.
parent | The parent object. |
virtual vtkQtChartColorGenerator::~vtkQtChartColorGenerator | ( | ) | [inline, virtual] |
Definition at line 47 of file vtkQtChartColorGenerator.h.
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.
index | The series style index. |
Implements vtkQtChartStyleBrush.
vtkQtChartColors* vtkQtChartColorGenerator::getColors | ( | ) | [inline] |
Gets the list of colors.
Definition at line 69 of file vtkQtChartColorGenerator.h.
const vtkQtChartColors* vtkQtChartColorGenerator::getColors | ( | ) | const [inline] |
Gets the list of colors.
Definition at line 75 of file vtkQtChartColorGenerator.h.
void vtkQtChartColorGenerator::setColors | ( | vtkQtChartColors * | colors | ) | [inline] |
Sets the list of colors.
colors | The new list of colors. |
Definition at line 80 of file vtkQtChartColorGenerator.h.