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