TuttleOFX  1
tuttle::plugin::interact::ParamTangent< TFrame, coord > Class Template Reference

#include <ParamTangent.hpp>

Inheritance diagram for tuttle::plugin::interact::ParamTangent< TFrame, coord >:
Collaboration diagram for tuttle::plugin::interact::ParamTangent< TFrame, coord >:

Public Types

typedef ParamPoint< TFrame, coord > PPoint
typedef PPoint Parent

Public Member Functions

 ParamTangent (const InteractInfos &infos, OFX::Double2DParam *pCenter, OFX::Double2DParam *pTanA, OFX::Double2DParam *pTanB, const TFrame &frame)
virtual ~ParamTangent ()
bool draw (const OFX::DrawArgs &args) const
 the function called to draw in the interact
MotionType intersect (const OFX::PenArgs &args)
virtual void translate (const Point2 &previous, const Point2 &vec)

Protected Types

enum  ESelectType { eSelectTypeNone, eSelectTypeTanA, eSelectTypeTanB, eSelectTypeCenter }

Protected Attributes

PPoint _paramTanA
PPoint _paramTanB
Point2 _previousTanVec
ESelectType _selectType

Detailed Description

template<class TFrame, ECoordinateSystem coord>
class tuttle::plugin::interact::ParamTangent< TFrame, coord >

Definition at line 20 of file ParamTangent.hpp.


Member Typedef Documentation

template<class TFrame , ECoordinateSystem coord>
typedef PPoint tuttle::plugin::interact::ParamTangent< TFrame, coord >::Parent

Definition at line 25 of file ParamTangent.hpp.

template<class TFrame , ECoordinateSystem coord>
typedef ParamPoint<TFrame, coord> tuttle::plugin::interact::ParamTangent< TFrame, coord >::PPoint

Definition at line 24 of file ParamTangent.hpp.


Member Enumeration Documentation

template<class TFrame , ECoordinateSystem coord>
enum tuttle::plugin::interact::ParamTangent::ESelectType [protected]
Enumerator:
eSelectTypeNone 
eSelectTypeTanA 
eSelectTypeTanB 
eSelectTypeCenter 

Definition at line 46 of file ParamTangent.hpp.


Constructor & Destructor Documentation

template<class TFrame , ECoordinateSystem coord>
tuttle::plugin::interact::ParamTangent< TFrame, coord >::ParamTangent ( const InteractInfos infos,
OFX::Double2DParam *  pCenter,
OFX::Double2DParam *  pTanA,
OFX::Double2DParam *  pTanB,
const TFrame &  frame 
) [inline]

Definition at line 27 of file ParamTangent.hpp.

template<class TFrame , ECoordinateSystem coord>
virtual tuttle::plugin::interact::ParamTangent< TFrame, coord >::~ParamTangent ( ) [inline, virtual]

Definition at line 39 of file ParamTangent.hpp.


Member Function Documentation

template<class TFrame , ECoordinateSystem coord>
bool tuttle::plugin::interact::ParamTangent< TFrame, coord >::draw ( const OFX::DrawArgs &  args) const [virtual]

the function called to draw in the interact

Reimplemented from tuttle::plugin::interact::PointInteract.

Definition at line 97 of file ParamTangent.hpp.


Field Documentation

template<class TFrame , ECoordinateSystem coord>
PPoint tuttle::plugin::interact::ParamTangent< TFrame, coord >::_paramTanA [protected]
template<class TFrame , ECoordinateSystem coord>
PPoint tuttle::plugin::interact::ParamTangent< TFrame, coord >::_paramTanB [protected]
template<class TFrame , ECoordinateSystem coord>
Point2 tuttle::plugin::interact::ParamTangent< TFrame, coord >::_previousTanVec [protected]
template<class TFrame , ECoordinateSystem coord>
ESelectType tuttle::plugin::interact::ParamTangent< TFrame, coord >::_selectType [protected]

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