TuttleOFX  1
tuttle::plugin::interact::PointInteract Class Reference

#include <PointInteract.hpp>

Inheritance diagram for tuttle::plugin::interact::PointInteract:
Collaboration diagram for tuttle::plugin::interact::PointInteract:

Public Member Functions

 PointInteract (const InteractInfos &infos)
virtual ~PointInteract ()=0
double getTime () const
virtual Point2 getPoint () const =0
virtual void setPoint (const Scalar x, const Scalar y)=0
virtual Point2 getPosition () const
virtual void setPosition (const Point2 &p)
virtual void setPositionX (const Scalar x)
virtual void setPositionY (const Scalar y)
virtual double getMarge () const
virtual bool draw (const OFX::DrawArgs &args) const
 the function called to draw in the interact
virtual MotionType intersect (const OFX::PenArgs &args)
virtual bool isIn (const OfxRectD &)

Protected Attributes

const InteractInfos_infos

Detailed Description

Definition at line 12 of file PointInteract.hpp.


Constructor & Destructor Documentation

tuttle::plugin::interact::PointInteract::PointInteract ( const InteractInfos infos)

Definition at line 16 of file PointInteract.cpp.

tuttle::plugin::interact::PointInteract::~PointInteract ( ) [pure virtual]

Definition at line 20 of file PointInteract.cpp.


Member Function Documentation

virtual double tuttle::plugin::interact::PointInteract::getMarge ( ) const [inline, virtual]
virtual Point2 tuttle::plugin::interact::PointInteract::getPosition ( ) const [inline, virtual]

Reimplemented from tuttle::plugin::interact::InteractObject.

Definition at line 26 of file PointInteract.hpp.

References getPoint().

Referenced by tuttle::plugin::interact::ParamTangent< TFrame, coord >::translate().

Here is the call graph for this function:

bool tuttle::plugin::interact::PointInteract::isIn ( const OfxRectD &  rect) [virtual]
virtual void tuttle::plugin::interact::PointInteract::setPosition ( const Point2 p) [inline, virtual]

Reimplemented from tuttle::plugin::interact::InteractObject.

Definition at line 27 of file PointInteract.hpp.

References setPoint().

Referenced by tuttle::plugin::interact::ParamTangent< TFrame, coord >::translate().

Here is the call graph for this function:

virtual void tuttle::plugin::interact::PointInteract::setPositionX ( const Scalar  x) [inline, virtual]

Reimplemented from tuttle::plugin::interact::InteractObject.

Definition at line 28 of file PointInteract.hpp.

References getPoint(), and setPoint().

Here is the call graph for this function:

virtual void tuttle::plugin::interact::PointInteract::setPositionY ( const Scalar  y) [inline, virtual]

Reimplemented from tuttle::plugin::interact::InteractObject.

Definition at line 29 of file PointInteract.hpp.

References getPoint(), and setPoint().

Here is the call graph for this function:


Field Documentation

Definition at line 19 of file PointInteract.hpp.

Referenced by getMarge(), and getTime().


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