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 | List of all members
iAColorTheme Class Referenceabstract

A simple (qualitative) color theme. Holds a number of colors (which can be distinguished easily) More...

#include <iAColorTheme.h>

Inheritance diagram for iAColorTheme:
Collaboration diagram for iAColorTheme:

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 ()
 

Detailed Description

A simple (qualitative) color theme. Holds a number of colors (which can be distinguished easily)

Constructor & Destructor Documentation

◆ iAColorTheme()

iAColorTheme::iAColorTheme ( QString const &  name)

◆ ~iAColorTheme()

iAColorTheme::~iAColorTheme ( )
virtual

Member Function Documentation

◆ color()

virtual const QColor& iAColorTheme::color ( size_t  idx) const
pure virtual

returns the color with the given index in this theme

Implemented in iASingleColorTheme, and iAVectorColorTheme.

◆ name()

const QString & iAColorTheme::name ( ) const

get the name of the color theme

◆ size()

virtual size_t iAColorTheme::size ( ) const
pure virtual

returns the number of colors in this theme

Implemented in iASingleColorTheme, and iAVectorColorTheme.


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