open_iA  2020.01
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Member Functions | Static Public Member Functions | List of all members
iAColorThemeManager Class Reference

Manager for color themes. More...

#include <iAColorTheme.h>

Collaboration diagram for iAColorThemeManager:

Public Member Functions

QStringList availableThemes () const
 Get the list of all available themes. More...
 
const iAColorThemetheme (QString const &name) const
 Get a theme by name. More...
 

Static Public Member Functions

static const iAColorThemeManagerinstance ()
 only ever need one of those (Singleton) More...
 

Detailed Description

Manager for color themes.

Internally creates the qualitative color themes from Color Brewer (http://mkweb.bcgsc.ca/brewer/swatches/brewer.txt) as well as from a few other sources and provides access to their names as well as the single themes.

Member Function Documentation

◆ availableThemes()

QStringList iAColorThemeManager::availableThemes ( ) const

Get the list of all available themes.

◆ instance()

const iAColorThemeManager & iAColorThemeManager::instance ( )
static

only ever need one of those (Singleton)

◆ theme()

const iAColorTheme * iAColorThemeManager::theme ( QString const &  name) const

Get a theme by name.


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