TuttleOFX
1
|
#include <RGBOverlay.hpp>
Public Member Functions | |
RGBOverlay (HistogramKeyerPlugin *plugin) | |
~RGBOverlay () | |
bool | draw (const OFX::DrawArgs &args) |
ESelectedChannelRGB | getOnlyChannelSelectedRGB () const |
void | displayGrid (float height, float width) |
OverlayData & | getOverlayData () |
Data Fields | |
HistogramKeyerPlugin * | _plugin |
bool | _isGriddisplay |
Definition at line 31 of file RGBOverlay.hpp.
tuttle::plugin::histogramKeyer::RGBOverlay::RGBOverlay | ( | HistogramKeyerPlugin * | plugin | ) |
Definition at line 16 of file RGBOverlay.cpp.
References _plugin, and tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::addRefOverlayData().
tuttle::plugin::histogramKeyer::RGBOverlay::~RGBOverlay | ( | ) |
Definition at line 23 of file RGBOverlay.cpp.
References _plugin, and tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::releaseOverlayData().
void tuttle::plugin::histogramKeyer::RGBOverlay::displayGrid | ( | float | height, |
float | width | ||
) |
bool tuttle::plugin::histogramKeyer::RGBOverlay::draw | ( | const OFX::DrawArgs & | args | ) |
Display of the RGB histograms data
Definition at line 31 of file RGBOverlay.cpp.
References tuttle::plugin::histogramKeyer::HistogramBufferData::_bufferBlue, tuttle::plugin::histogramKeyer::HistogramBufferData::_bufferGreen, tuttle::plugin::histogramKeyer::HistogramBufferData::_bufferRed, tuttle::plugin::ImageEffectGilPlugin::_clipSrc, tuttle::plugin::histogramKeyer::OverlayData::_data, _isGriddisplay, tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramDisplayTypeSelection, tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramOverlayBSelection, tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramOverlayGSelection, tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramOverlayRSelection, 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(), tuttle::plugin::histogramKeyer::displayBlueIndicator(), tuttle::plugin::histogramKeyer::displayGreenIndicator(), displayGrid(), tuttle::plugin::histogramKeyer::displayRedIndicator(), tuttle::plugin::histogramKeyer::displaySelectionPoints(), tuttle::plugin::histogramKeyer::eSelectedChannelB, tuttle::plugin::histogramKeyer::eSelectedChannelG, tuttle::plugin::histogramKeyer::eSelectedChannelR, getOnlyChannelSelectedRGB(), getOverlayData(), OFX::Clip::getPixelRodSize(), OFX::DoubleParam::getValue(), OFX::ChoiceParam::getValue(), OFX::BooleanParam::getValue(), tuttle::plugin::histogramKeyer::greenHisto, tuttle::plugin::histogramKeyer::redHisto, OFX::InteractArgs::time, OfxPointI::x, and OfxPointI::y.
Referenced by tuttle::plugin::histogramKeyer::HistogramKeyerOverlay::draw().
ESelectedChannelRGB tuttle::plugin::histogramKeyer::RGBOverlay::getOnlyChannelSelectedRGB | ( | ) | const |
Permits to know if there is only one RGB channel selected
Definition at line 129 of file RGBOverlay.cpp.
References tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramOverlayBSelection, tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramOverlayGSelection, tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::_paramOverlayRSelection, _plugin, tuttle::plugin::histogramKeyer::eSelectedChannelB, tuttle::plugin::histogramKeyer::eSelectedChannelG, tuttle::plugin::histogramKeyer::eSelectedChannelMoreRGB, tuttle::plugin::histogramKeyer::eSelectedChannelNoneRGB, tuttle::plugin::histogramKeyer::eSelectedChannelR, and OFX::BooleanParam::getValue().
Referenced by draw().
OverlayData & tuttle::plugin::histogramKeyer::RGBOverlay::getOverlayData | ( | ) |
Get overlay data from plugin
Definition at line 153 of file RGBOverlay.cpp.
References _plugin, and tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::getOverlayData().
Referenced by draw().
Definition at line 37 of file RGBOverlay.hpp.
Referenced by draw().
Definition at line 35 of file RGBOverlay.hpp.
Referenced by draw(), getOnlyChannelSelectedRGB(), getOverlayData(), RGBOverlay(), and ~RGBOverlay().