Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

amire::component::Position2DPickingHandler Class Reference

Inheritance diagram for amire::component::Position2DPickingHandler:

amire::component::ActionHandler amire::component::Handler amire::component::Visible2DComponent List of all members.

Public Member Functions

virtual ~Position2DPickingHandler ()
virtual bool pickingCallback (MREngine *engine, double x, double y, long pickingMode, double &distance) const=0

Detailed Description

The Position2DPickingHandler is used to handle 2D picking events.

Constructor & Destructor Documentation

virtual amire::component::Position2DPickingHandler::~Position2DPickingHandler  )  [virtual]

Member Function Documentation

virtual bool amire::component::Position2DPickingHandler::pickingCallback MREngine engine,
double  x,
double  y,
long  pickingMode,
double &  distance
const [pure virtual]

This call-back method has to used accept an action for a 2D picking event. True has to be returned and the distance output argument has to be set to a estimation of the distance between the component and the picking device, if the event has been accepted, false otherwise.

Implemented in amire::component::Visible2DComponent.

The documentation for this class was generated from the following file:
Generated on Tue May 20 17:23:57 2003 for AMIRE-Framework by doxygen1.3