Horus Doc || Java GUI Reference || Doxygen's quick Index  

HxMediatorPeer Class Reference

The peer of the C++ mediator. More...

List of all members.

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...


Detailed Description

The peer of the C++ mediator.

Interface to access C++ functionality.


Constructor & Destructor Documentation

HxMediatorPeer::HxMediatorPeer   [inline]
 

Constructor.

00022 {
00023     initHxMediator();
00024 }


Member Function Documentation

native boolean HxMediatorPeer::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.

if (warn) a warning message will be generated if the objname is not valid.

native String [] HxMediatorPeer::getSaObjectNames String    className
 

Get a list of names of all objects of the given class known to SA.

native String HxMediatorPeer::callMethod String    className,
String    objectName,
String    methodName,
String    resultName,
String    args[]
 

Call a C++ member function via SA.

native String HxMediatorPeer::callStaticMethod String    className,
String    methodName,
String    resultName,
String    args[]
 

Call a C++ static function via SA.

native String [] HxMediatorPeer::getKeyNames String    cursorKey
 

Get a list of names of keys at the given position in the registry.

native String [] HxMediatorPeer::getValueNames String    cursorKey
 

Get a list of names of values at the given position in the registry.

native String [] HxMediatorPeer::getValueData String    cursorKey
 

Get a list of values of data at the given position in the registry.

native String HxMediatorPeer::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.

native String HxMediatorPeer::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.

native void HxMediatorPeer::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.

native void HxMediatorPeer::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).

native void HxMediatorPeer::hxHistogramGetDataDouble String    name,
double    data[]
 

Fills the given buffer (data) with data from a C++ histogram.

native void HxMediatorPeer::hxHistogramGetDataInt String    name,
int    data[]
 

Fills the given buffer (data) with data from a C++ histogram.

native void HxMediatorPeer::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).

native void HxMediatorPeer::hxBlob2dGetChainCodes String    blobName,
int    codes[]
 

Get the list of chain codes of the given blob.

native void HxMediatorPeer::hxBlob2dGetRgbPixels String    blobName,
int    pix[]
 

Fills the given buffer (pix) with data from a C++ HxBlob2d.

native String HxMediatorPeer::makeHxPolyline2d double    xpoints[],
double    ypoints[],
int    npoints,
boolean    closed
 

Make a HxPolyline2d from the given set of points.

native void HxMediatorPeer::hxPolyline2dGetPoints String    name,
double    xpoints[],
double    ypoints[]
 

Fills the given buffers with coordinates from a C++ polyline.


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 15:11:20 2003 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001