Omnidome
Fulldome Mapping Software Toolkit
|
Color correction for RGB color space. More...
#include <ColorCorrection.h>
Public Member Functions | |
bool | isUsed () const |
void | setUsed (bool _isUsed) |
ChannelCorrection & | all () |
Return reference to channel correction for all channels. More... | |
ChannelCorrection const & | all () const |
Return reference to channel correction for all channels (const) More... | |
void | setAll (ChannelCorrection const &) |
Set channel correction for all channels. More... | |
ChannelCorrection & | red () |
Return reference to channel correction for red channel. More... | |
ChannelCorrection const & | red () const |
Return reference to channel correction for red channel. More... | |
void | setRed (ChannelCorrection const &) |
Set channel correction for red channel. More... | |
ChannelCorrection & | green () |
Return reference to channel correction for green channel. More... | |
ChannelCorrection const & | green () const |
Return reference to channel correction for green channel. More... | |
void | setGreen (ChannelCorrection const &) |
Set channel correction for green channel. More... | |
ChannelCorrection & | blue () |
Return reference to channel correction for blue channel. More... | |
ChannelCorrection const & | blue () const |
Return reference to channel correction for blue channel. More... | |
void | setBlue (ChannelCorrection const &) |
Set channel correction for blue channel. More... | |
QColor | corrected (QColor) const |
Return corrected color. More... | |
ChannelCorrection * | correction (Channel) |
Return color correction for given channel. More... | |
ChannelCorrection const * | correction (Channel) const |
Return color correction for given channel (const version) More... | |
Static Public Member Functions | |
static QColor | channelColor (Channel) |
Private Attributes | |
bool | isUsed_ = true |
ChannelCorrection | all_ |
ChannelCorrection | red_ |
ChannelCorrection | green_ |
ChannelCorrection | blue_ |
Friends | |
bool | operator== (ColorCorrection const &, ColorCorrection const &) |
Color correction for RGB color space.
ChannelCorrection & omni::proj::ColorCorrection::all | ( | ) |
Return reference to channel correction for all channels.
ChannelCorrection const & omni::proj::ColorCorrection::all | ( | ) | const |
Return reference to channel correction for all channels (const)
ChannelCorrection & omni::proj::ColorCorrection::blue | ( | ) |
Return reference to channel correction for blue channel.
ChannelCorrection const & omni::proj::ColorCorrection::blue | ( | ) | const |
Return reference to channel correction for blue channel.
|
static |
QColor omni::proj::ColorCorrection::corrected | ( | QColor | _color | ) | const |
Return corrected color.
ChannelCorrection * omni::proj::ColorCorrection::correction | ( | Channel | _channel | ) |
Return color correction for given channel.
ChannelCorrection const * omni::proj::ColorCorrection::correction | ( | Channel | _channel | ) | const |
Return color correction for given channel (const version)
ChannelCorrection & omni::proj::ColorCorrection::green | ( | ) |
Return reference to channel correction for green channel.
ChannelCorrection const & omni::proj::ColorCorrection::green | ( | ) | const |
Return reference to channel correction for green channel.
bool omni::proj::ColorCorrection::isUsed | ( | ) | const |
ChannelCorrection & omni::proj::ColorCorrection::red | ( | ) |
Return reference to channel correction for red channel.
ChannelCorrection const & omni::proj::ColorCorrection::red | ( | ) | const |
Return reference to channel correction for red channel.
void omni::proj::ColorCorrection::setAll | ( | ChannelCorrection const & | _all | ) |
Set channel correction for all channels.
void omni::proj::ColorCorrection::setBlue | ( | ChannelCorrection const & | _blue | ) |
Set channel correction for blue channel.
void omni::proj::ColorCorrection::setGreen | ( | ChannelCorrection const & | _green | ) |
Set channel correction for green channel.
void omni::proj::ColorCorrection::setRed | ( | ChannelCorrection const & | _red | ) |
Set channel correction for red channel.
void omni::proj::ColorCorrection::setUsed | ( | bool | _isUsed | ) |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |