VTK
|
The vtkQtChartColorGenerator class generates series brushs using a color list. More...
#include <vtkQtChartColorGenerator.h>
Public Member Functions | |
vtkQtChartColorGenerator (QObject *parent=0) | |
Creates a color generator. More... | |
virtual | ~vtkQtChartColorGenerator () |
vtkQtChartStyleBrush Methods | |
virtual QBrush | getStyleBrush (int index) const |
Gets the brush for the specified series style index. More... | |
Color Methods | |
vtkQtChartColors * | getColors () |
Gets the list of colors. More... | |
const vtkQtChartColors * | getColors () const |
Gets the list of colors. More... | |
void | setColors (vtkQtChartColors *colors) |
Sets the list of colors. More... | |
![]() | |
vtkQtChartStyleBrush (QObject *parent=0) | |
Creates a chart style brush. More... | |
virtual | ~vtkQtChartStyleBrush () |
The vtkQtChartColorGenerator class generates series brushs using a color list.
Definition at line 38 of file vtkQtChartColorGenerator.h.
vtkQtChartColorGenerator::vtkQtChartColorGenerator | ( | QObject * | parent = 0 | ) |
Creates a color generator.
parent | The parent object. |
|
inlinevirtual |
Definition at line 47 of file vtkQtChartColorGenerator.h.
|
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.
|
inline |
Gets the list of colors.
Definition at line 69 of file vtkQtChartColorGenerator.h.
|
inline |
Gets the list of colors.
Definition at line 75 of file vtkQtChartColorGenerator.h.
|
inline |
Sets the list of colors.
colors | The new list of colors. |
Definition at line 80 of file vtkQtChartColorGenerator.h.