Public Methods | |
HxMediatorPeer () | |
Constructor. More... | |
native boolean | checkSaObjectName (String className, String objName, int warn) |
Check with the SA system whether the given name is known to represent an object of the given class. More... | |
native String[] | getSaObjectNames (String className) |
Get a list of names of all objects of the given class known to SA. More... | |
native String | callMethod (String className, String objectName, String methodName, String resultName, String[] args) |
Call a C++ member function via SA. More... | |
native String | callStaticMethod (String className, String methodName, String resultName, String[] args) |
Call a C++ static function via SA. More... | |
native String[] | getKeyNames (String cursorKey) |
Get a list of names of keys at the given position in the registry. More... | |
native String[] | getValueNames (String cursorKey) |
Get a list of names of values at the given position in the registry. More... | |
native String[] | getValueData (String cursorKey) |
Get a list of values of data at the given position in the registry. More... | |
native String | makeHxImage (int imageDimensionality, int pixelDimensionality, int pixelType, int pixelPrecision, int dim1Size, int dim2Size, int dim3Size, int[] pixels) |
Make an HxImageRep with the given signature and sizes and initialize with the given pixels in ARGB integer format. More... | |
native String | makeHxImageByte (int imageDimensionality, int pixelDimensionality, int pixelType, int pixelPrecision, int dim1Size, int dim2Size, int dim3Size, byte[] pixels) |
Make an HxImageRep with the given signature and sizes and initialize with the given pixels in (unsigned!!) byte format. More... | |
native void | hxImageGetPixels (String imName, int[] pixels, String displayMode, int dimension, int coordinate, int resWidth, int resHeight, int interpType) |
Fills the given buffer (pixels) with data from a C++ image. More... | |
native void | hxImageGetPixels2d (String imName, int[] pixels, String displayMode, int bufWidth, int bufHeight, int VX, int VY, int VW, int VH, double OX, double OY, double scaleX, double scaleY, int interpType) |
Fills the "view" part (rectangular area starting at (VX,VY) with sizes (VW,VH)) of the given buffer (pixels) with data from a rectangular part of a C++ image starting at (OX,OY) with sizes (scaleX*VW,scaleY*VH). More... | |
native void | hxHistogramGetDataDouble (String name, double[] data) |
Fills the given buffer (data) with data from a C++ histogram. More... | |
native void | hxHistogramGetDataInt (String name, int[] data) |
Fills the given buffer (data) with data from a C++ histogram. More... | |
native void | hxHistogramRender3d (String name, int[] data, int dataWidth, int dataHeight, double elevation, double alpha, double threshold) |
Renders data from a C++ histogram in the given buffer (data). More... | |
native void | hxBlob2dGetChainCodes (String blobName, int[] codes) |
Get the list of chain codes of the given blob. More... | |
native void | hxBlob2dGetRgbPixels (String blobName, int[] pix) |
Fills the given buffer (pix) with data from a C++ HxBlob2d. More... | |
native String | makeHxPolyline2d (double[] xpoints, double[] ypoints, int npoints, boolean closed) |
Make a HxPolyline2d from the given set of points. More... | |
native void | hxPolyline2dGetPoints (String name, double[] xpoints, double[] ypoints) |
Fills the given buffers with coordinates from a C++ polyline. More... |
Interface to access C++ functionality.
|
00022 { 00023 initHxMediator(); 00024 } |
|
Check with the SA system whether the given name is known to represent an object of the given class. if (warn) a warning message will be generated if the objname is not valid. |
|
Get a list of names of all objects of the given class known to SA.
|
|
Call a C++ member function via SA.
|
|
Call a C++ static function via SA.
|
|
Get a list of names of keys at the given position in the registry.
|
|
Get a list of names of values at the given position in the registry.
|
|
Get a list of values of data at the given position in the registry.
|
|
Make an HxImageRep with the given signature and sizes and initialize with the given pixels in ARGB integer format.
|
|
Make an HxImageRep with the given signature and sizes and initialize with the given pixels in (unsigned!!) byte format.
|
|
Fills the given buffer (pixels) with data from a C++ image.
|
|
Fills the "view" part (rectangular area starting at (VX,VY) with sizes (VW,VH)) of the given buffer (pixels) with data from a rectangular part of a C++ image starting at (OX,OY) with sizes (scaleX*VW,scaleY*VH).
|
|
Fills the given buffer (data) with data from a C++ histogram.
|
|
Fills the given buffer (data) with data from a C++ histogram.
|
|
Renders data from a C++ histogram in the given buffer (data).
|
|
Get the list of chain codes of the given blob.
|
|
Fills the given buffer (pix) with data from a C++ HxBlob2d.
|
|
Make a HxPolyline2d from the given set of points.
|
|
Fills the given buffers with coordinates from a C++ polyline.
|