Home | Trees | Indices | Help |
|
---|
|
Raised when a touch or other tracking event occurs. Touch events happen only when a multi-touch sensitive surface or other camera tracker is active. For each touch event, statistical data based on moments are calculated.
Instance Methods | |||
|
|||
events |
|
||
Inherited from Inherited from |
|||
Inherited from Event | |||
---|---|---|---|
|
Properties | |
area Size of the blob found in pixels (ro). |
|
center Position as double. |
|
cursorid | |
eccentricity | |
inertia | |
lastdownpos The initial position of the cursor. |
|
majoraxis Major axis of an ellipse that is similar to the blob (ro). |
|
minoraxis Minor axis of an ellipse that is similar to the blob (ro). |
|
node The node that the event handler was declared in (ro). |
|
orientation Angle of the blob. |
|
pos Position in the global coordinate system (ro). |
|
source TOUCH for actual touches, TRACK for hands above the surface or generic tracking. |
|
speed Current speed of the blob in pixels per millisecond as a 2-component vector (ro). |
|
x x position in the global coordinate system (ro). |
|
y y position in the global coordinate system (ro). |
|
Inherited from |
|
Inherited from Event | |
---|---|
type One of KEYUP, KEYDOWN, CURSORMOTION, CURSORUP, CURSORDOWN, CURSOROVER, CURSOROUT, RESIZE or QUIT. |
|
when The timestamp of the event in milliseconds. |
Method Details |
Returns a python tuple containing the events 'related' to this one. For TOUCH events (fingers), the tuple contains one element: the corresponding TRACK event (hand). For TRACK events, the tuple contains all TOUCH events that belong to the same hand.
|
Property Details |
areaSize of the blob found in pixels (ro).
|
centerPosition as double. Used for calibration (ro).
|
cursorid
|
eccentricity
|
inertia
|
lastdownposThe initial position of the cursor. Useful for implementing dragging.
|
majoraxisMajor axis of an ellipse that is similar to the blob (ro).
|
minoraxisMinor axis of an ellipse that is similar to the blob (ro).
|
nodeThe node that the event handler was declared in (ro).
|
orientationAngle of the blob. For hovering hands, this is roughly the direction of the hand (ro).
|
posPosition in the global coordinate system (ro).
|
sourceTOUCH for actual touches, TRACK for hands above the surface or generic tracking.
|
speedCurrent speed of the blob in pixels per millisecond as a 2-component vector (ro).
|
xx position in the global coordinate system (ro).
|
yy position in the global coordinate system (ro).
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jan 8 16:09:01 2010 | http://epydoc.sourceforge.net |