TuttleOFX
1
|
#include <HSLOverlay.hpp>
Public Member Functions | |
HSLOverlay (HistogramKeyerPlugin *plugin) | |
~HSLOverlay () | |
bool | draw (const OFX::DrawArgs &args) |
ESelectedChannelHSL | getOnlyChannelSelectedHSL () const |
OverlayData & | getOverlayData () |
void | displayGrid (float height, float width) |
Data Fields | |
HistogramKeyerPlugin * | _plugin |
Definition at line 31 of file HSLOverlay.hpp.
tuttle::plugin::histogramKeyer::HSLOverlay::HSLOverlay | ( | HistogramKeyerPlugin * | plugin | ) |
Definition at line 16 of file HSLOverlay.cpp.
References _plugin, and tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::addRefOverlayData().
tuttle::plugin::histogramKeyer::HSLOverlay::~HSLOverlay | ( | ) |
Definition at line 23 of file HSLOverlay.cpp.
References _plugin, and tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::releaseOverlayData().
void tuttle::plugin::histogramKeyer::HSLOverlay::displayGrid | ( | float | height, |
float | width | ||
) |
bool tuttle::plugin::histogramKeyer::HSLOverlay::draw | ( | const OFX::DrawArgs & | args | ) |
Display of the RGB histograms data
Definition at line 31 of file HSLOverlay.cpp.
References tuttle::plugin::histogramKeyer::HistogramBufferData::_bufferHue, tuttle::plugin::histogramKeyer::HistogramBufferData::_bufferLightness, tuttle::plugin::histogramKeyer::HistogramBufferData::_bufferSaturation, tuttle::plugin::ImageEffectGilPlugin::_clipSrc, tuttle::plugin::histogramKeyer::OverlayData::_data, tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramDisplayTypeSelection, tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramOverlayHSelection, tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramOverlayLSelection, tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramOverlaySSelection, tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramSelectionMultiplierSelection, _plugin, tuttle::plugin::histogramKeyer::HistogramBufferData::_step, tuttle::plugin::histogramKeyer::averageHisto, tuttle::plugin::histogramKeyer::blueHisto, tuttle::plugin::histogramKeyer::displayASpecificHistogram(), tuttle::plugin::histogramKeyer::displayASpecificHistogramBorder(), tuttle::plugin::histogramKeyer::displayAverageBar(), displayGrid(), tuttle::plugin::histogramKeyer::displayHueIndicator(), tuttle::plugin::histogramKeyer::displayLightnessIndicator(), tuttle::plugin::histogramKeyer::displaySaturationIndicator(), tuttle::plugin::histogramKeyer::displaySelectionPoints(), tuttle::plugin::histogramKeyer::eSelectedChannelH, tuttle::plugin::histogramKeyer::eSelectedChannelL, tuttle::plugin::histogramKeyer::eSelectedChannelS, getOnlyChannelSelectedHSL(), getOverlayData(), OFX::Clip::getPixelRodSize(), OFX::DoubleParam::getValue(), OFX::ChoiceParam::getValue(), OFX::BooleanParam::getValue(), tuttle::plugin::histogramKeyer::greenHisto, tuttle::plugin::histogramKeyer::kPrecisionHueIndicator, tuttle::plugin::histogramKeyer::redHisto, OFX::InteractArgs::time, OfxPointI::x, and OfxPointI::y.
Referenced by tuttle::plugin::histogramKeyer::HistogramKeyerOverlay::draw().
ESelectedChannelHSL tuttle::plugin::histogramKeyer::HSLOverlay::getOnlyChannelSelectedHSL | ( | ) | const |
Permits to know if there is only one RGB channel selected
Definition at line 129 of file HSLOverlay.cpp.
References tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramOverlayHSelection, tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramOverlayLSelection, tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramOverlaySSelection, _plugin, tuttle::plugin::histogramKeyer::eSelectedChannelH, tuttle::plugin::histogramKeyer::eSelectedChannelL, tuttle::plugin::histogramKeyer::eSelectedChannelMoreHSL, tuttle::plugin::histogramKeyer::eSelectedChannelNoneHSL, tuttle::plugin::histogramKeyer::eSelectedChannelS, and OFX::BooleanParam::getValue().
Referenced by draw().
OverlayData & tuttle::plugin::histogramKeyer::HSLOverlay::getOverlayData | ( | ) |
Get overlay data from plugin
Definition at line 153 of file HSLOverlay.cpp.
References _plugin, and tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::getOverlayData().
Referenced by draw().
Definition at line 35 of file HSLOverlay.hpp.
Referenced by draw(), getOnlyChannelSelectedHSL(), getOverlayData(), HSLOverlay(), and ~HSLOverlay().