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

#include <RGBOverlay.hpp>

Collaboration diagram for tuttle::plugin::histogram::RGBOverlay:

Public Member Functions

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

Data Fields

HistogramPlugin_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::histogram::RGBOverlay::RGBOverlay ( HistogramPlugin plugin)

Definition at line 16 of file RGBOverlay.cpp.

References _plugin, and tuttle::plugin::histogram::HistogramPlugin::addRefOverlayData().

Here is the call graph for this function:

tuttle::plugin::histogram::RGBOverlay::~RGBOverlay ( )

Definition at line 23 of file RGBOverlay.cpp.

References _plugin, and tuttle::plugin::histogram::HistogramPlugin::releaseOverlayData().

Here is the call graph for this function:


Member Function Documentation

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

Display grid on screen

Definition at line 161 of file RGBOverlay.cpp.

Referenced by draw().

bool tuttle::plugin::histogram::RGBOverlay::draw ( const OFX::DrawArgs args)

Display of the RGB histograms data

Definition at line 31 of file RGBOverlay.cpp.

References tuttle::plugin::histogram::HistogramBufferData::_bufferBlue, tuttle::plugin::histogram::HistogramBufferData::_bufferGreen, tuttle::plugin::histogram::HistogramBufferData::_bufferRed, tuttle::plugin::ImageEffectGilPlugin::_clipSrc, tuttle::plugin::histogram::OverlayData::_data, _isGriddisplay, tuttle::plugin::histogram::HistogramPlugin::_paramDisplayTypeSelection, tuttle::plugin::histogram::HistogramPlugin::_paramOverlayBSelection, tuttle::plugin::histogram::HistogramPlugin::_paramOverlayGSelection, tuttle::plugin::histogram::HistogramPlugin::_paramOverlayRSelection, 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(), tuttle::plugin::histogram::displayBlueIndicator(), tuttle::plugin::histogram::displayGreenIndicator(), displayGrid(), tuttle::plugin::histogram::displayRedIndicator(), tuttle::plugin::histogram::displaySelectionPoints(), tuttle::plugin::histogram::eSelectedChannelB, tuttle::plugin::histogram::eSelectedChannelG, tuttle::plugin::histogram::eSelectedChannelR, getOnlyChannelSelectedRGB(), getOverlayData(), OFX::Clip::getPixelRodSize(), OFX::DoubleParam::getValue(), OFX::ChoiceParam::getValue(), OFX::BooleanParam::getValue(), tuttle::plugin::histogram::greenHisto, tuttle::plugin::histogram::redHisto, OFX::InteractArgs::time, OfxPointI::x, and OfxPointI::y.

Referenced by tuttle::plugin::histogram::HistogramOverlay::draw().

Here is the call graph for this function:

ESelectedChannelRGB tuttle::plugin::histogram::RGBOverlay::getOnlyChannelSelectedRGB ( ) const
OverlayData & tuttle::plugin::histogram::RGBOverlay::getOverlayData ( )

Get overlay data from plugin

Returns:

Definition at line 153 of file RGBOverlay.cpp.

References _plugin, and tuttle::plugin::histogram::HistogramPlugin::getOverlayData().

Referenced by draw().

Here is the call graph for this function:


Field Documentation

Definition at line 37 of file RGBOverlay.hpp.

Referenced by draw().


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