TuttleOFX  1
tuttle::plugin::warp::WarpOverlayInteract Class Reference

#include <WarpOverlayInteract.hpp>

Inheritance diagram for tuttle::plugin::warp::WarpOverlayInteract:
Collaboration diagram for tuttle::plugin::warp::WarpOverlayInteract:

Public Member Functions

 WarpOverlayInteract (OfxInteractHandle handle, OFX::ImageEffect *effect)
bool bezier (const point2< double > _p1, const point2< double > _p2)
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
bool keyDown (const OFX::KeyArgs &args)
 the function called to handle key down events in the interact

Private Types

typedef double Scalar

Private Attributes

WarpPlugin_plugin
interact::InteractInfos _infos
interact::InteractScene _interactScene
std::vector< point2< double > > _tgtPointsBezierIn
std::vector< point2< double > > _tgtPointsBezierOut

Detailed Description

Definition at line 17 of file WarpOverlayInteract.hpp.


Member Typedef Documentation

Definition at line 19 of file WarpOverlayInteract.hpp.


Constructor & Destructor Documentation


Member Function Documentation

bool tuttle::plugin::warp::WarpOverlayInteract::bezier ( const point2< double >  _p1,
const point2< double >  _p2 
)
bool tuttle::plugin::warp::WarpOverlayInteract::keyDown ( const OFX::KeyArgs args) [virtual]

the function called to handle key 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 241 of file WarpOverlayInteract.cpp.

References OFX::KeyArgs::keySymbol, kOfxKey_space, TUTTLE_INFO, and TUTTLE_LOG_DEBUG.

bool tuttle::plugin::warp::WarpOverlayInteract::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 250 of file WarpOverlayInteract.cpp.

References _interactScene, tuttle::plugin::warp::WarpPlugin::_paramMethod, tuttle::plugin::warp::WarpPlugin::_paramNbPoints, _plugin, tuttle::plugin::warp::eParamMethodCreation, tuttle::plugin::warp::eParamMethodMove, OFX::IntParam::getValue(), OFX::ChoiceParam::getValue(), tuttle::plugin::warp::kMaxNbPoints, tuttle::plugin::warp::longDown, and tuttle::plugin::interact::InteractScene::penUp().

Here is the call graph for this function:


Field Documentation

std::vector< point2<double> > tuttle::plugin::warp::WarpOverlayInteract::_tgtPointsBezierIn [private]

Definition at line 25 of file WarpOverlayInteract.hpp.

std::vector< point2<double> > tuttle::plugin::warp::WarpOverlayInteract::_tgtPointsBezierOut [private]

Definition at line 26 of file WarpOverlayInteract.hpp.


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