ot::QtMousePosSink Class ReferenceDestination sink of the MPD.
Inheritance diagram for ot::QtMousePosSink:
Public Member Functions
|QtMousePosSink (StringTable &xml_attrib_table)|
|virtual void||onEventGenerated (Event &event, Node &generator)|
Detailed DescriptionDestination sink of the MPD.
Provides spatial 3D position data for the calculation of the desktop mouse cursor position (3-DOF device).
- See also:
Constructor & Destructor Documentation
Member Function Documentation
OpenTracker tracking event push pattern callback method.
Basically stores a copy of the incoming event as new current event in the internal event queue and forwards the original event to parent nodes.
Applies a series of elimination checks on the incoming event. Ignores the event if any of these checks fail. Otherwise acquires the event, thus the incoming event becomes the new current event and the old current event becomes the new previous event. Enables the
EVENT_PENDING_SIGNAL flag to indicate an acquisition.
Applied checks in detail: Ignores the incoming tracking event if ..
EVENT_LOCKflag is enabled (currently only implemented in MBS!).
- it equals the current event (only modified events pass). Different relevant tracking data portions (position, orientation, button state) are compared, depending on the actual sink.
- position threshold check fails (optional, depending on actual sink,
- orientation threshold check fails (optional, depending on actual sink,
EVENT_CONSUME_SIGNALare disabled. If both are true the event is said to be locally consumed and thus NOT forwarded.
event tracking event generator event generating child node
References ot::QtMouseEventSinkBase::acquireEvent(), ot::QtMouseEventSinkBase::curr_event_, ot::QtMouseEventSinkBase::forwardEvent(), ot::Event::getPosition(), ot::QtMouseEventSinkBase::isInsidePosThreshSphere(), OTQT_DEBUG(), ot::QtMouseEventSinkBase::POS_THRESH_FILTER, and ot::QtMouseEventSinkBase::state_.
The documentation for this class was generated from the following files: