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, strokeStartedpublic static final String LETTER_P
public PanRecognizer(StrokeRecognizer r)
public RecognitionSet processActionStroke(TimedStroke s)
processActionStroke in class ModedIncrRecognizerpublic int recognizeActionSignal(TimedStroke s)
recognizeActionSignal in class ModedIncrRecognizerCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.