TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/plugin/interact/interact.hpp File Reference
#include <ofxsInteract.h>
#include <ofxsParam.h>
#include <tuttle/plugin/opengl/gl.h>
#include <cmath>
Include dependency graph for interact.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tuttle::plugin::interact::MotionType

Namespaces

namespace  tuttle
 

global namespace of the project


namespace  tuttle::plugin
namespace  tuttle::plugin::interact

Enumerations

enum  tuttle::plugin::interact::EMotion { tuttle::plugin::interact::eMotionNone, tuttle::plugin::interact::eMotionTranslate, tuttle::plugin::interact::eMotionRotate, tuttle::plugin::interact::eMotionScale }
enum  tuttle::plugin::interact::EAxis { tuttle::plugin::interact::eAxisNone, tuttle::plugin::interact::eAxisXY, tuttle::plugin::interact::eAxisX, tuttle::plugin::interact::eAxisY }

Functions

template<class Point >
EAxis tuttle::plugin::interact::clicPoint (const Point &point, const Point &mouse, const double marge)
EAxis tuttle::plugin::interact::clicDouble2D (const OFX::Double2DParam &point, const OfxPointD &mouse, const double marge)
 check if the mouse clic intersect a point
EAxis tuttle::plugin::interact::clicDouble2D (const OFX::Double2DParam *point, const OfxPointD &mouse, const double marge)