hyperion.ng
|
The LedColorTransform is responsible for performing color transformation from 'raw' colors received as input to colors mapped to match the color-properties of the leds. More...
#include <MultiColorAdjustment.h>
Public Member Functions | |
MultiColorAdjustment (const unsigned ledCnt) | |
void | addAdjustment (ColorAdjustment *adjustment) |
Adds a new ColorAdjustment to this MultiColorTransform. More... | |
void | setAdjustmentForLed (const QString &id, const unsigned startLed, unsigned endLed) |
bool | verifyAdjustments () const |
void | setBacklightEnabled (bool enable) |
const QStringList & | getAdjustmentIds () |
Returns the identifier of all the unique ColorAdjustment. More... | |
ColorAdjustment * | getAdjustment (const QString &id) |
Returns the pointer to the ColorAdjustment with the given id. More... | |
void | applyAdjustment (std::vector< ColorRgb > &ledColors) |
Performs the color adjustment from raw-color to led-color. More... | |
The LedColorTransform is responsible for performing color transformation from 'raw' colors received as input to colors mapped to match the color-properties of the leds.
void MultiColorAdjustment::addAdjustment | ( | ColorAdjustment * | adjustment | ) |
Adds a new ColorAdjustment to this MultiColorTransform.
adjustment | The new ColorAdjustment (ownership is transfered) |
void MultiColorAdjustment::applyAdjustment | ( | std::vector< ColorRgb > & | ledColors | ) |
Performs the color adjustment from raw-color to led-color.
ledColors | The list with raw colors |
ColorAdjustment * MultiColorAdjustment::getAdjustment | ( | const QString & | id | ) |
Returns the pointer to the ColorAdjustment with the given id.
id | The identifier of the ColorAdjustment |
const QStringList & MultiColorAdjustment::getAdjustmentIds | ( | ) |
Returns the identifier of all the unique ColorAdjustment.