TuttleOFX  1
tuttle::plugin::histogramKeyer::RGBOverlay Class Reference

#include <RGBOverlay.hpp>

Collaboration diagram for tuttle::plugin::histogramKeyer::RGBOverlay:

Public Member Functions

 RGBOverlay (HistogramKeyerPlugin *plugin)
 ~RGBOverlay ()
bool draw (const OFX::DrawArgs &args)
ESelectedChannelRGB getOnlyChannelSelectedRGB () const
void displayGrid (float height, float width)
OverlayDatagetOverlayData ()

Data Fields

HistogramKeyerPlugin_plugin
bool _isGriddisplay

Detailed Description

Todo:
class RGBOverlay : public OFX::OverlayInteract (when Nuke overlay works)

Definition at line 31 of file RGBOverlay.hpp.


Constructor & Destructor Documentation

tuttle::plugin::histogramKeyer::RGBOverlay::RGBOverlay ( HistogramKeyerPlugin plugin)

Definition at line 16 of file RGBOverlay.cpp.

References _plugin, and tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::addRefOverlayData().

Here is the call graph for this function:

tuttle::plugin::histogramKeyer::RGBOverlay::~RGBOverlay ( )

Definition at line 23 of file RGBOverlay.cpp.

References _plugin, and tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::releaseOverlayData().

Here is the call graph for this function:


Member Function Documentation

void tuttle::plugin::histogramKeyer::RGBOverlay::displayGrid ( float  height,
float  width 
)

Display grid on screen

Definition at line 161 of file RGBOverlay.cpp.

Referenced by draw().

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().

Here is the call graph for this function:

OverlayData & tuttle::plugin::histogramKeyer::RGBOverlay::getOverlayData ( )

Get overlay data from plugin

Returns:

Definition at line 153 of file RGBOverlay.cpp.

References _plugin, and tuttle::plugin::histogramKeyer::HistogramKeyerPlugin::getOverlayData().

Referenced by draw().

Here is the call graph for this function:


Field Documentation


The documentation for this class was generated from the following files: