TuttleOFX
1
|
#include <LensDistortOverlayInteract.hpp>
Public Member Functions | |
LensDistortOverlayInteract (OfxInteractHandle handle, OFX::ImageEffect *effect) | |
bool | draw (const OFX::DrawArgs &args) |
the function called to draw in the interact | |
bool | penDown (const OFX::PenArgs &args) |
the function called to handle pen down events in the interact | |
bool | penUp (const OFX::PenArgs &args) |
the function called to handle pen up events in the interact | |
bool | penMotion (const OFX::PenArgs &args) |
the function called to handle pen motion in the interact | |
Private Types | |
typedef double | Scalar |
Private Attributes | |
LensDistortPlugin * | _plugin |
interact::InteractInfos | _infos |
interact::InteractScene | _interactScene |
Definition at line 17 of file LensDistortOverlayInteract.hpp.
typedef double tuttle::plugin::lens::LensDistortOverlayInteract::Scalar [private] |
Definition at line 19 of file LensDistortOverlayInteract.hpp.
tuttle::plugin::lens::LensDistortOverlayInteract::LensDistortOverlayInteract | ( | OfxInteractHandle | handle, |
OFX::ImageEffect * | effect | ||
) |
Definition at line 79 of file LensDistortOverlayInteract.cpp.
References tuttle::plugin::lens::LensDistortPlugin::_center, tuttle::plugin::lens::LensDistortPlugin::_centerOverlay, tuttle::plugin::ImageEffectGilPlugin::_clipSrc, OFX::Interact::_effect, tuttle::plugin::lens::LensDistortPlugin::_gridCenter, tuttle::plugin::lens::LensDistortPlugin::_gridCenterOverlay, _infos, _interactScene, _plugin, tuttle::plugin::lens::LensDistortPlugin::_srcRefClip, and tuttle::plugin::interact::InteractScene::push_back().
bool tuttle::plugin::lens::LensDistortOverlayInteract::draw | ( | const OFX::DrawArgs & | args | ) | [virtual] |
the function called to draw in the interact
Reimplemented from OFX::InteractI.
Definition at line 93 of file LensDistortOverlayInteract.cpp.
References tuttle::plugin::ImageEffectGilPlugin::_clipSrc, tuttle::plugin::lens::LensDistortPlugin::_debugDisplayRoi, tuttle::plugin::lens::LensDistortPlugin::_displaySource, tuttle::plugin::lens::LensDistortPlugin::_dstRoi, tuttle::plugin::lens::LensDistortPlugin::_gridCenter, tuttle::plugin::lens::LensDistortPlugin::_gridOverlay, tuttle::plugin::lens::LensDistortPlugin::_gridScale, _interactScene, _plugin, tuttle::plugin::lens::LensDistortPlugin::_srcRealRoi, tuttle::plugin::lens::LensDistortPlugin::_srcRefClip, tuttle::plugin::lens::LensDistortPlugin::_srcRoi, tuttle::plugin::lens::createGrid(), tuttle::plugin::overlay::displayRect(), tuttle::plugin::interact::InteractScene::draw(), tuttle::plugin::overlay::drawCurves(), OFX::Clip::getCanonicalRod(), tuttle::plugin::lens::LensDistortPlugin::getLensType(), tuttle::plugin::lens::LensDistortPlugin::getProcessParams(), OFX::Double2DParam::getValue(), OFX::BooleanParam::getValue(), OFX::Clip::isConnected(), tuttle::plugin::warp::lineWidth, tuttle::plugin::ofxToGil(), tuttle::plugin::lens::shiftGrid(), OFX::InteractArgs::time, tuttle::plugin::lens::transformValuesApply(), OfxRectD::x1, OfxRectD::x2, OfxRectD::y1, and OfxRectD::y2.
bool tuttle::plugin::lens::LensDistortOverlayInteract::penDown | ( | const OFX::PenArgs & | args | ) | [virtual] |
the function called to handle pen down events in the interact
returns true if the interact trapped the action in some sense. This will block the action being passed to any other interact that may share the viewer.
Reimplemented from OFX::InteractI.
Definition at line 157 of file LensDistortOverlayInteract.cpp.
References _interactScene, and tuttle::plugin::interact::InteractScene::penDown().
bool tuttle::plugin::lens::LensDistortOverlayInteract::penMotion | ( | const OFX::PenArgs & | args | ) | [virtual] |
the function called to handle pen motion in the interact
returns true if the interact trapped the action in some sense. This will block the action being passed to any other interact that may share the viewer.
Reimplemented from OFX::InteractI.
Definition at line 152 of file LensDistortOverlayInteract.cpp.
References _interactScene, and tuttle::plugin::interact::InteractScene::penMotion().
bool tuttle::plugin::lens::LensDistortOverlayInteract::penUp | ( | const OFX::PenArgs & | args | ) | [virtual] |
the function called to handle pen up events in the interact
returns true if the interact trapped the action in some sense. This will block the action being passed to any other interact that may share the viewer.
Reimplemented from OFX::InteractI.
Definition at line 162 of file LensDistortOverlayInteract.cpp.
References _interactScene, and tuttle::plugin::interact::InteractScene::penUp().
Definition at line 23 of file LensDistortOverlayInteract.hpp.
Referenced by LensDistortOverlayInteract().
Definition at line 24 of file LensDistortOverlayInteract.hpp.
Referenced by draw(), LensDistortOverlayInteract(), penDown(), penMotion(), and penUp().
Definition at line 21 of file LensDistortOverlayInteract.hpp.
Referenced by draw(), and LensDistortOverlayInteract().