![]() |
open_iA
2020.01
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
A simple (qualitative) color theme. Holds a number of colors (which can be distinguished easily) More...
#include <iAColorTheme.h>
Public Member Functions | |
| virtual const QColor & | color (size_t idx) const =0 |
| returns the color with the given index in this theme More... | |
| iAColorTheme (QString const &name) | |
| const QString & | name () const |
| get the name of the color theme More... | |
| virtual size_t | size () const =0 |
| returns the number of colors in this theme More... | |
| virtual | ~iAColorTheme () |
A simple (qualitative) color theme. Holds a number of colors (which can be distinguished easily)
| iAColorTheme::iAColorTheme | ( | QString const & | name | ) |
|
virtual |
|
pure virtual |
returns the color with the given index in this theme
Implemented in iASingleColorTheme, and iAVectorColorTheme.
| const QString & iAColorTheme::name | ( | ) | const |
get the name of the color theme
|
pure virtual |
returns the number of colors in this theme
Implemented in iASingleColorTheme, and iAVectorColorTheme.
1.8.16