de.softpro.signware.SPSignature Class Reference
Inheritance diagram for de.softpro.signware.SPSignature:

Detailed Description
Representation of a Signware signature object.A signature consists of a a set of vectors, each containing a x and y coordinate, and the pressure. The signature also includes parameters that were recorded during capture such as tablet device, sample rate, timestamp etc.
- Operating Systems:
- Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
Public Member Functions | |
void | addVector (int x, int y, int p, int t) throws SPSignwareException |
Add a vector to this signature. | |
void | addVector (int x, int y, int p) throws SPSignwareException |
Add a vector to this signature. | |
void | addVector (SPTabletVector2 tv) throws SPSignwareException |
Add a vector to this signature. | |
void | addVector (SPTabletVector tv) throws SPSignwareException |
Add a vector to this signature. | |
boolean | check (SPPropertyMap pParams) throws SPSignwareException |
Check a signature. | |
void | clearVectors () throws SPSignwareException |
Clear the signature vectors in this object. | |
SPSignature | createClone () throws SPSignwareException |
Create a new signature object as a clone from this signature object. | |
int | getComplexity () throws SPSignwareException |
Query the complexity of the signature contained in this object. | |
int | getDevice () throws SPSignwareException |
Query the device that captured this signature object. | |
byte[] | getImage (double dZoom, int iImageFormat) throws SPSignwareException |
Query an image on this signature object. | |
Dimension | getImageSize () throws SPSignwareException |
Query the size of an image created by this signature object. | |
int | getMaxPressure () throws SPSignwareException |
Query the pressure range as this signature was captured. | |
int | getNrVectors () throws SPSignwareException |
Query the number of vectors contained in this signature. | |
final byte[] | getPadSerial () throws SPSignwareException |
Query the tablet serial identification. | |
int | getResolution () throws SPSignwareException |
Query the resolution as this signature was captured. | |
int | getSampleRate () throws SPSignwareException |
Query the sample rate as this signature was captured. | |
int | getTimeStamp () throws SPSignwareException |
Query the time stamp when this signature was captured. | |
SPTabletVector2 | getVector (int iIndex) throws SPSignwareException |
Query a vector from this signature. | |
void | mirrorY () throws SPSignwareException |
Mirror a signature vertically. | |
void | setDevice (int iDevice) throws SPSignwareException |
Set the device ID in this signature object. | |
void | setMaxPressure (int iMaxPressure) throws SPSignwareException |
Set the max. pressure in this signature object. | |
final void | setPadSerial (byte padSerial[]) throws SPSignwareException |
Set the tablet serial identification. | |
void | setResolution (int iResolution) throws SPSignwareException |
Set the resolution in this signature object. | |
void | setSampleRate (int iSampleRate) throws SPSignwareException |
Set the sample rate as this signature was captured. | |
void | setStaticPenWidth (double dPenWidth) throws SPSignwareException |
Set the width of the pen when rendering the signature to a static image, default 0.5 mm. | |
void | setTicket (SPTicket spTicket) throws SPSignwareException |
Pass a license to render the image signature one or multiple times. | |
void | setTimeStamp (int iTimeStamp) throws SPSignwareException |
Set the time stamp when this signature was captured. | |
SPSignature (SPReference spReference, int index) throws SPSignwareException | |
Create a new signature object from a reference object. | |
SPSignature (byte[] pFlatFile, int iFlags) throws SPSignwareException | |
Create a new signature object from a flat file object. | |
SPSignature (byte[] pFlatFile) throws SPSignwareException | |
Create a new signature object from a flat file object. | |
SPSignature (SPTellerImage spTellerImage) throws SPSignwareException | |
Create a new signature object from a teller image object. | |
SPSignature (SPTemplate spTemplate) throws SPSignwareException | |
Create a new signature object from a template object. | |
SPSignature (SPTablet spTablet) throws SPSignwareException | |
Create a new signature object from a tablet object. | |
SPSignature (SPAcquire spAcquire) throws SPSignwareException | |
Create a signature object from a SPAcquire object. | |
SPSignature (SPJGuiAcqu spGuiAcqu) throws SPSignwareException | |
Create a signature object from a SPJGuiAcqu object. | |
SPSignature (SPGuiAcqu spGuiAcqu) throws SPSignwareException | |
Create a signature object from a SPGuiAcqu object. | |
SPSignature (SPSignature origin) throws SPSignwareException | |
Create a new signature object as a clone of another signature object. | |
SPSignature () throws SPSignwareException | |
Create a new signature object. | |
Static Public Attributes | |
static final String | SP_SIGNATURE_MIN_HEIGHT = "SPSignatureMinHeight" |
Min signature height. | |
static final String | SP_SIGNATURE_MIN_PRESSURE_LEVELS = "SPSignatureMinPressureLevels" |
Min signature pressure levels. | |
static final String | SP_SIGNATURE_MIN_STATIC_QUALITY = "SPSignatureMinStaticQuality" |
Min static signature quality. | |
static final String | SP_SIGNATURE_MIN_VECTORS = "SPSignatureMinVectors" |
Min signature vectors (with pressure greater than 0). | |
static final String | SP_SIGNATURE_MIN_WIDTH = "SPSignatureMinWidth" |
Min signature width. | |
Package Functions | |
native final int | jniFree () |
void | setStaticGrayAlias (boolean bGrayAlias) throws SPSignwareException |
Calculate gray levels in a static signature either from pressure levels of the vectors or from aliasing. |
Constructor & Destructor Documentation
|
Create a new signature object.
|
|
Create a new signature object as a clone of another signature object.
|
|
Create a signature object from a SPGuiAcqu object.
|
|
Create a signature object from a SPJGuiAcqu object.
|
|
Create a signature object from a SPAcquire object.
|
|
Create a new signature object from a tablet object.
|
|
Create a new signature object from a template object.
|
|
Create a new signature object from a teller image object.
|
|
Create a new signature object from a flat file object. This constructor is equivalent to the two-argument constructor with a value of zero for iFlags unless overridden by environment variable SIGNWARE_ISO_LOAD. The value of that environment variable is either a decimal number or a hexadecimal number (prefixed by "0x"). The number will be shifted left 20 bits, that is, the following values (and combinations thereof) are defined:
|
|
Create a new signature object from a flat file object. This function does not use environment variable SIGNWARE_ISO_LOAD.
|
|
Create a new signature object from a reference object.
|
Member Function Documentation
|
Add a vector to this signature.
|
|
Add a vector to this signature.
|
|
Add a vector to this signature.
|
|
Add a vector to this signature.
|
|
Check a signature. Signature plausibility check. A signature should exceed a certain size and contain a pressure level range.
|
|
Clear the signature vectors in this object.
|
|
Create a new signature object as a clone from this signature object.
|
|
Query the complexity of the signature contained in this object.
|
|
Query the device that captured this signature object.
|
|
Query an image on this signature object.
|
|
Query the size of an image created by this signature object.
|
|
Query the pressure range as this signature was captured.
|
|
Query the number of vectors contained in this signature.
|
|
Query the tablet serial identification. This function is provided for future compatibility. Currently no tablet supports serial identification.
|
|
Query the resolution as this signature was captured.
|
|
Query the sample rate as this signature was captured.
|
|
Query the time stamp when this signature was captured.
|
|
Query a vector from this signature.
|
|
Implements de.softpro.signware.SPSignwareObject. |
|
Mirror a signature vertically. The signature is mirrored such that the range of Y coordinates is not changed.
|
|
Set the device ID in this signature object. You should not overwrite the device unless you know what you are doing.
|
|
Set the max. pressure in this signature object.
|
|
Set the tablet serial identification. This function is provided for future compatibility. Currently no tablet supports serial identification.
|
|
Set the resolution in this signature object. You should not overwrite the resolution unless you know what you are doing.
|
|
Set the sample rate as this signature was captured. Some tablets return an incorrect sample rate. Therefore you can query the sample rate from the tablet object after capturing the signature, and pass it to this object.
|
|
Calculate gray levels in a static signature either from pressure levels of the vectors or from aliasing. By default, the gray level is based on the pressure level of a vector.
|
|
Set the width of the pen when rendering the signature to a static image, default 0.5 mm.
|
|
Pass a license to render the image signature one or multiple times. You must pass the ticket before you call getImage. The ticket must have been charged for usage SPTicket.ticket_render.
|
|
Set the time stamp when this signature was captured.
|
Member Data Documentation
|
Min signature height.
|
|
Min signature pressure levels.
|
|
Min static signature quality.
|
|
Min signature vectors (with pressure greater than 0).
|
|
Min signature width.
|
The documentation for this class was generated from the following file: