Property | Type | Description | |
---|---|---|---|
AddHandler | void | ||
GetEventInfo | |||
OnTerminating1 | void | ||
Process1 | void | ||
RaisePendlingEvents | void |
Method | Description | |
---|---|---|
GestureRecognizer ( |
||
Process ( List |
The main function that will process the user input. It will be called on every refresh of the TUIO messages.
|
Method | Description | |
---|---|---|
AppendEvent ( GestureEventHandler ev, |
Use this method to send events. If the GR is not armed (e.g. it's in competition with other GRs), events will be scheduled in a queue and raised as soon as the GR will be armed. If the GR is already armed, events are raised immediately.
|
|
OnTerminating ( ) : void |
Called when the GR is going to be removed from the list of active GRs and thus it won't be called anymore. Override this to handle the finalization of the GR if needed, like terminating threads, freeing resources, send terminating events... From now on, recognition state transitions will be in fact ignored. Note: at least one of the following reasons causes this method to be called: - the GR has been explicitly put in the 'terminated' state through one of the relative methods called in its Process function - the group ceased to be active i.e. all the fingers have been removed for a sufficient time, such that the traces can't be reset anymore - an exclusive GR with precedence has won In case of an LGR the following reasons are also possible: - its target has been removed from the group's LGR-list - an LGR with different target has the precedence and has won
|
|
Terminate ( bool successful ) : void | ||
Terminate ( bool successful, float confidence ) : void | ||
ValidateGesture ( ) : void | ||
ValidateGesture ( float confidence ) : void |
Method | Description | |
---|---|---|
AddHandler ( string ev, GestureEventHandler handler ) : void | ||
GetEventInfo ( string ev ) : |
||
OnTerminating1 ( ) : void | ||
Process1 ( List |
||
RaisePendlingEvents ( ) : void |
protected AppendEvent ( GestureEventHandler ev, |
||
ev | GestureEventHandler | The event |
args | The event's arguments | |
return | void |
public GestureRecognizer ( |
||
configuration | ||
return | System |
public abstract Process ( List |
||
traces | List |
The list of the updated traces, to which one element has been added to their cursor list. |
return | void |
protected Terminate ( bool successful ) : void | ||
successful | bool | |
return | void |
protected Terminate ( bool successful, float confidence ) : void | ||
successful | bool | |
confidence | float | |
return | void |
protected ValidateGesture ( float confidence ) : void | ||
confidence | float | |
return | void |