|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.ximtec.igesture.algorithm.signature.GestureSignature
public class GestureSignature
Interface for distance functions.
| Nested Class Summary | |
|---|---|
class |
GestureSignature.Position
|
| Constructor Summary | |
|---|---|
GestureSignature(org.sigtec.ink.Note note,
GestureClass gestureClass,
int rasterSize,
int gridSize)
Constructs a new gesture signature. |
|
| Method Summary | |
|---|---|
void |
addSignature(BitSet bit)
Appends a point (signature point) to the gesture signature. |
int |
getBitStringLength()
Returns the lenght of the bit string for a single point. |
GestureClass |
getGestureClass()
Returns the gesture class this signature belongs to. |
int |
getNumberOfPoints()
Returns the number of points in the signature. |
BitSet |
getPointSignature(int index)
Returns the signature for the point at position index. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GestureSignature(org.sigtec.ink.Note note,
GestureClass gestureClass,
int rasterSize,
int gridSize)
note - the note.gestureClass - the gesture class.rasterSize - the raster's size.gridSize - the number of cells the grid have in a row.| Method Detail |
|---|
public void addSignature(BitSet bit)
bit - the signature point to be added.public BitSet getPointSignature(int index)
index - the position of the signature to be returned.
public int getNumberOfPoints()
public int getBitStringLength()
public GestureClass getGestureClass()
public String toString()
toString in class Object
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||