Package net.sourceforge.lept4j
Class L_Rch
java.lang.Object
com.sun.jna.Structure
net.sourceforge.lept4j.L_Rch
- Direct Known Subclasses:
- L_Rch.ByReference,- L_Rch.ByValue
public class L_Rch
extends com.sun.jna.Structure
Data returned from correlation matching on a single character
native declaration : recog.h:128
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java or JNA.
native declaration : recog.h:128
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java or JNA.
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classL_Rch.ByReferencestatic classL_Rch.ByValue
- 
Field SummaryFields Modifier and Type Field Description intindexindex of best template
 C type : l_int32intsampleindex of best sample (within the best
 C type : l_int32floatscorecorrelation score of best template
 C type : l_float32com.sun.jna.Pointertextcharacter string of best template
 C type : char*intwidthwidth of best template
 C type : l_int32intxlocx-location of template (delx + shiftx)
 C type : l_int32intylocy-location of template (dely + shifty)
 C type : l_int32
- 
Constructor Summary
- 
Method SummaryModifier and Type Method Description protected java.util.List<java.lang.String>getFieldOrder()Gets this Structure's field names in their proper order.Methods inherited from class com.sun.jna.StructureallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
- 
Field Details- 
indexpublic int indexindex of best template
 C type : l_int32
- 
scorepublic float scorecorrelation score of best template
 C type : l_float32
- 
textpublic com.sun.jna.Pointer textcharacter string of best template
 C type : char*
- 
samplepublic int sampleindex of best sample (within the best
 C type : l_int32
- 
xlocpublic int xlocx-location of template (delx + shiftx)
 C type : l_int32
- 
ylocpublic int ylocy-location of template (dely + shifty)
 C type : l_int32
- 
widthpublic int widthwidth of best template
 C type : l_int32
 
- 
- 
Constructor Details- 
L_Rchpublic L_Rch()
- 
L_Rchpublic L_Rch(int index, float score, com.sun.jna.Pointer text, int sample, int xloc, int yloc, int width)- Parameters:
- index- index of best template
 C type : l_int32
- score- correlation score of best template
 C type : l_float32
- text- character string of best template
 C type : char*
- sample- index of best sample (within the best
 C type : l_int32
- xloc- x-location of template (delx + shiftx)
 C type : l_int32
- yloc- y-location of template (dely + shifty)
 C type : l_int32
- width- width of best template
 C type : l_int32
 
- 
L_Rchpublic L_Rch(com.sun.jna.Pointer peer)
 
- 
- 
Method Details- 
getFieldOrderprotected java.util.List<java.lang.String> getFieldOrder()Gets this Structure's field names in their proper order.- Overrides:
- getFieldOrderin class- com.sun.jna.Structure
- Returns:
- list of ordered field names
 
 
-