public class PanRecognizer extends ModedIncrRecognizer
Modifier and Type | Class and Description |
---|---|
static class |
PanRecognizer.PanData
A classification type for paning.
|
Modifier and Type | Field and Description |
---|---|
static String |
LETTER_P |
ACTION, IDLE, UNKNOWN
Constructor and Description |
---|
PanRecognizer(StrokeRecognizer r)
Construct a pan recognizer with a classifying recognizer which
has been trained on "P" shapes.
|
Modifier and Type | Method and Description |
---|---|
RecognitionSet |
processActionStroke(TimedStroke s)
Emit pan events based on whether the mouse has
gone up or down.
|
int |
recognizeActionSignal(TimedStroke s)
Perform the recognition of the pan signal gesture, which
is a segment that closes on itself.
|
strokeCompleted, strokeModified, strokeStarted
public static final String LETTER_P
public PanRecognizer(StrokeRecognizer r)
public RecognitionSet processActionStroke(TimedStroke s)
processActionStroke
in class ModedIncrRecognizer
public int recognizeActionSignal(TimedStroke s)
recognizeActionSignal
in class ModedIncrRecognizer
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.