![]() |
open_iA 2021.08
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 | |
| iAColorTheme (QString const &name) | |
| virtual | ~iAColorTheme () |
| virtual QColor const & | color (size_t idx) const =0 |
| returns the color with the given index in this theme More... | |
| QString const & | 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... | |
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 iAVectorColorTheme, and iASingleColorTheme.
| QString const & iAColorTheme::name | ( | ) | const |
get the name of the color theme
|
pure virtual |
returns the number of colors in this theme
Implemented in iAVectorColorTheme, and iASingleColorTheme.