TuttleOFX
1
|
#include <PinningOverlayInteract.hpp>
Public Member Functions | |
PinningOverlayInteract (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 | |
PinningPlugin * | _plugin |
interact::InteractInfos | _infos |
interact::InteractScene | _interactScene |
bool | _beginSelection |
OfxRectD | _multiSelectionRec |
bool | _multiSelection |
Definition at line 21 of file PinningOverlayInteract.hpp.
typedef double tuttle::plugin::pinning::PinningOverlayInteract::Scalar [private] |
Definition at line 23 of file PinningOverlayInteract.hpp.
tuttle::plugin::pinning::PinningOverlayInteract::PinningOverlayInteract | ( | OfxInteractHandle | handle, |
OFX::ImageEffect * | effect | ||
) |
Definition at line 66 of file PinningOverlayInteract.cpp.
References tuttle::plugin::pinning::PinningPlugin::_clipSrc, OFX::Interact::_effect, _infos, _interactScene, tuttle::plugin::pinning::PinningPlugin::_paramOverlayIn, tuttle::plugin::pinning::PinningPlugin::_paramOverlayInColor, tuttle::plugin::pinning::PinningPlugin::_paramOverlayOut, tuttle::plugin::pinning::PinningPlugin::_paramOverlayOutColor, tuttle::plugin::pinning::PinningPlugin::_paramPointIn0, tuttle::plugin::pinning::PinningPlugin::_paramPointIn1, tuttle::plugin::pinning::PinningPlugin::_paramPointIn2, tuttle::plugin::pinning::PinningPlugin::_paramPointIn3, tuttle::plugin::pinning::PinningPlugin::_paramPointOut0, tuttle::plugin::pinning::PinningPlugin::_paramPointOut1, tuttle::plugin::pinning::PinningPlugin::_paramPointOut2, tuttle::plugin::pinning::PinningPlugin::_paramPointOut3, _plugin, tuttle::plugin::interact::InteractScene::push_back(), and tuttle::plugin::interact::AndActiveFunctor< negate >::push_back().
bool tuttle::plugin::pinning::PinningOverlayInteract::draw | ( | const OFX::DrawArgs & | args | ) | [virtual] |
the function called to draw in the interact
Reimplemented from OFX::InteractI.
Definition at line 114 of file PinningOverlayInteract.cpp.
References tuttle::plugin::pinning::PinningPlugin::_clipSrc, _interactScene, tuttle::plugin::pinning::PinningPlugin::_paramOverlay, _plugin, tuttle::plugin::interact::InteractScene::draw(), OFX::BooleanParam::getValue(), and OFX::Clip::isConnected().
bool tuttle::plugin::pinning::PinningOverlayInteract::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 PinningOverlayInteract.cpp.
References _interactScene, and tuttle::plugin::interact::InteractScene::penDown().
bool tuttle::plugin::pinning::PinningOverlayInteract::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 PinningOverlayInteract.cpp.
References _interactScene, and tuttle::plugin::interact::InteractScene::penMotion().
bool tuttle::plugin::pinning::PinningOverlayInteract::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 PinningOverlayInteract.cpp.
References _interactScene, and tuttle::plugin::interact::InteractScene::penUp().
Definition at line 30 of file PinningOverlayInteract.hpp.
Definition at line 27 of file PinningOverlayInteract.hpp.
Referenced by PinningOverlayInteract().
Definition at line 28 of file PinningOverlayInteract.hpp.
Referenced by draw(), penDown(), penMotion(), penUp(), and PinningOverlayInteract().
Definition at line 32 of file PinningOverlayInteract.hpp.
Definition at line 31 of file PinningOverlayInteract.hpp.
Definition at line 25 of file PinningOverlayInteract.hpp.
Referenced by draw(), and PinningOverlayInteract().