open_iA  2020.04
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
iASingleColorTheme Class Reference

#include <iAColorTheme.h>

Inheritance diagram for iASingleColorTheme:
Collaboration diagram for iASingleColorTheme:

Public Member Functions

QColor const & color (size_t idx) const override
 returns the color with the given index in this theme More...
 
 iASingleColorTheme (QString const &name, QColor const &color)
 
size_t size () const override
 returns the number of colors in this theme More...
 
- Public Member Functions inherited from iAColorTheme
 iAColorTheme (QString const &name)
 
QString const & name () const
 get the name of the color theme More...
 
virtual ~iAColorTheme ()
 

Constructor & Destructor Documentation

◆ iASingleColorTheme()

iASingleColorTheme::iASingleColorTheme ( QString const &  name,
QColor const &  color 
)

Member Function Documentation

◆ color()

QColor const & iASingleColorTheme::color ( size_t  idx) const
overridevirtual

returns the color with the given index in this theme

Implements iAColorTheme.

◆ size()

size_t iASingleColorTheme::size ( ) const
overridevirtual

returns the number of colors in this theme

Implements iAColorTheme.


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