TuttleOFX
1
|
#include <InteractInfos.hpp>
Public Member Functions | |
InteractInfos (OFX::ImageEffect *effect) | |
template<typename Value > | |
Value | canonicalXXToNormalizedXX (const Value &point) const |
template<typename Value > | |
Value | normalizedXXToCanonicalXX (const Value &point) const |
template<typename Value > | |
Value | pointCanonicalXYToNormalizedXY (const Value &point) const |
template<typename Point > | |
Point | pointNormalizedXYToCanonicalXY (const Point &point) const |
template<typename Point > | |
Point | pointCanonicalXYToNormalizedXXc (const Point &point) const |
template<typename Point > | |
Point | pointNormalizedXXcnToCanonicalXY (const Point &point) const |
Data Fields | |
OFX::ImageEffect * | _effect |
bool | _focus |
Point2 | _lastPenPos |
bool | _penDown |
Point2 | _projectSize |
ideally must be the RoW and not a project size... | |
double | _marge |
Private Types | |
typedef boost::gil::point2 < double > | Point2 |
Definition at line 19 of file InteractInfos.hpp.
typedef boost::gil::point2<double> tuttle::plugin::interact::InteractInfos::Point2 [private] |
Definition at line 21 of file InteractInfos.hpp.
tuttle::plugin::interact::InteractInfos::InteractInfos | ( | OFX::ImageEffect * | effect | ) | [inline] |
Definition at line 24 of file InteractInfos.hpp.
Value tuttle::plugin::interact::InteractInfos::canonicalXXToNormalizedXX | ( | const Value & | point | ) | const [inline] |
Definition at line 41 of file InteractInfos.hpp.
References _projectSize, and canonicalXXToNormalizedXX().
Referenced by canonicalXXToNormalizedXX().
Value tuttle::plugin::interact::InteractInfos::normalizedXXToCanonicalXX | ( | const Value & | point | ) | const [inline] |
Definition at line 43 of file InteractInfos.hpp.
References _projectSize, and normalizedXXToCanonicalXX().
Referenced by normalizedXXToCanonicalXX().
Point tuttle::plugin::interact::InteractInfos::pointCanonicalXYToNormalizedXXc | ( | const Point & | point | ) | const [inline] |
Definition at line 56 of file InteractInfos.hpp.
References _projectSize.
Value tuttle::plugin::interact::InteractInfos::pointCanonicalXYToNormalizedXY | ( | const Value & | point | ) | const [inline] |
Definition at line 46 of file InteractInfos.hpp.
References _projectSize, and pointCanonicalXYToNormalizedXY().
Referenced by pointCanonicalXYToNormalizedXY().
Point tuttle::plugin::interact::InteractInfos::pointNormalizedXXcnToCanonicalXY | ( | const Point & | point | ) | const [inline] |
Definition at line 67 of file InteractInfos.hpp.
References _projectSize, and tuttle::plugin::pointNormalizedXXcToCanonicalXY().
Point tuttle::plugin::interact::InteractInfos::pointNormalizedXYToCanonicalXY | ( | const Point & | point | ) | const [inline] |
Definition at line 48 of file InteractInfos.hpp.
References _projectSize, and pointNormalizedXYToCanonicalXY().
Referenced by pointNormalizedXYToCanonicalXY().
OFX::ImageEffect* tuttle::plugin::interact::InteractInfos::_effect |
Definition at line 33 of file InteractInfos.hpp.
Referenced by tuttle::plugin::interact::PointInteract::getTime().
Definition at line 34 of file InteractInfos.hpp.
Definition at line 35 of file InteractInfos.hpp.
Definition at line 38 of file InteractInfos.hpp.
Referenced by tuttle::plugin::interact::SelectionManipulator::getMarge(), and tuttle::plugin::interact::PointInteract::getMarge().
Definition at line 36 of file InteractInfos.hpp.
ideally must be the RoW and not a project size...
Definition at line 37 of file InteractInfos.hpp.
Referenced by canonicalXXToNormalizedXX(), tuttle::plugin::interact::SelectionManipulator::getMarge(), tuttle::plugin::interact::PointInteract::getMarge(), normalizedXXToCanonicalXX(), pointCanonicalXYToNormalizedXXc(), pointCanonicalXYToNormalizedXY(), pointNormalizedXXcnToCanonicalXY(), and pointNormalizedXYToCanonicalXY().