public class RoiI extends AbstractAmdServant implements _IRoiOperations, ServiceFactoryAware, BlitzOnly
| Modifier and Type | Class and Description |
|---|---|
static class |
RoiI.RoiResultMapper |
static class |
RoiI.RoiResultMapReturnMapper |
static class |
RoiI.RoiResultReturnMapper |
| Modifier and Type | Field and Description |
|---|---|
protected ServiceFactoryI |
factory |
protected GeomTool |
geomTool |
protected ome.util.SqlAction |
sql |
| Constructor and Description |
|---|
RoiI(BlitzExecutor be,
GeomTool geomTool,
ome.util.SqlAction sql) |
| Modifier and Type | Method and Description |
|---|---|
void |
findByImage_async(AMD_IRoi_findByImage __cb,
long imageId,
RoiOptions opts,
Ice.Current __current)
Returns all the Rois in an Image, indexed via Shape.
|
void |
findByPlane_async(AMD_IRoi_findByPlane __cb,
long imageId,
int z,
int t,
RoiOptions opts,
Ice.Current __current)
Returns all the Rois on the given plane, indexed via Shape.
|
void |
findByRoi_async(AMD_IRoi_findByRoi __cb,
long roiId,
RoiOptions opts,
Ice.Current __current)
Returns a RoiResult with a single Roi member.
|
void |
getMeasuredRois_async(AMD_IRoi_getMeasuredRois __cb,
long imageId,
long annotationId,
RoiOptions opts,
Ice.Current __current)
Loads the ROIs which are linked to by the given
FileAnnotation id for the given image. |
void |
getMeasuredRoisMap_async(AMD_IRoi_getMeasuredRoisMap __cb,
long imageId,
java.util.List<java.lang.Long> annotationIds,
RoiOptions opts,
Ice.Current __current)
Returns a map from
FileAnnotation ids
to RoiResult instances. |
void |
getPoints_async(AMD_IRoi_getPoints __cb,
long shapeId,
Ice.Current __current)
Calculate the points contained within a given shape
|
void |
getRoiMeasurements_async(AMD_IRoi_getRoiMeasurements __cb,
long imageId,
RoiOptions opts,
Ice.Current __current)
Returns a list of
FileAnnotation
instances with the namespace
openmicroscopy.org/measurements which are attached
to the Plate containing the given image
AND which are attached to at least one
Roi |
void |
getRoiStats_async(AMD_IRoi_getRoiStats __cb,
long roiId,
Ice.Current __current)
Calculate stats for all the shapes within the given Roi.
|
void |
getShapeStats_async(AMD_IRoi_getShapeStats __cb,
long shapeId,
Ice.Current __current)
Calculate the stats for the points within the given Shape.
|
void |
getShapeStatsList_async(AMD_IRoi_getShapeStatsList __cb,
java.util.List<java.lang.Long> shapeIdList,
Ice.Current __current)
Calculate the stats for the points within the given Shapes.
|
void |
getShapeStatsRestricted_async(AMD_IRoi_getShapeStatsRestricted __cb,
java.util.List<java.lang.Long> shapeIdList,
int zForUnattached,
int tForUnattached,
int[] channels,
Ice.Current __current)
Calculate the stats for the points within the given Shapes.
|
void |
getTable_async(AMD_IRoi_getTable __cb,
long annotationId,
Ice.Current __current)
Returns the OMERO.tables service via the
FileAnnotation id returned
by getImageMeasurements. |
protected java.util.List<ome.model.roi.Roi> |
loadMeasuredRois(org.hibernate.Session session,
long imageId,
long annotationId) |
void |
setServiceFactory(ServiceFactoryI sf) |
void |
uploadMask_async(AMD_IRoi_uploadMask __cb,
long imageId,
int z,
int t,
byte[] bytes,
Ice.Current __current) |
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolderprotected ServiceFactoryI factory
protected final GeomTool geomTool
protected final ome.util.SqlAction sql
public RoiI(BlitzExecutor be, GeomTool geomTool, ome.util.SqlAction sql)
public void setServiceFactory(ServiceFactoryI sf)
setServiceFactory in interface ServiceFactoryAwarepublic void findByImage_async(AMD_IRoi_findByImage __cb, long imageId, RoiOptions opts, Ice.Current __current) throws ServerError
_IRoiOperationsfindByImage_async in interface _IRoiOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void findByRoi_async(AMD_IRoi_findByRoi __cb, long roiId, RoiOptions opts, Ice.Current __current) throws ServerError
_IRoiOperationsfindByRoi_async in interface _IRoiOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void findByPlane_async(AMD_IRoi_findByPlane __cb, long imageId, int z, int t, RoiOptions opts, Ice.Current __current) throws ServerError
_IRoiOperationsfindByPlane_async in interface _IRoiOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void getPoints_async(AMD_IRoi_getPoints __cb, long shapeId, Ice.Current __current) throws ServerError
_IRoiOperationsgetPoints_async in interface _IRoiOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void getShapeStats_async(AMD_IRoi_getShapeStats __cb, long shapeId, Ice.Current __current) throws ServerError
_IRoiOperationsgetShapeStats_async in interface _IRoiOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void getShapeStatsList_async(AMD_IRoi_getShapeStatsList __cb, java.util.List<java.lang.Long> shapeIdList, Ice.Current __current) throws ServerError
_IRoiOperationsgetShapeStatsList_async in interface _IRoiOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void getRoiStats_async(AMD_IRoi_getRoiStats __cb, long roiId, Ice.Current __current) throws ServerError
_IRoiOperationsgetRoiStats_async in interface _IRoiOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void getShapeStatsRestricted_async(AMD_IRoi_getShapeStatsRestricted __cb, java.util.List<java.lang.Long> shapeIdList, int zForUnattached, int tForUnattached, int[] channels, Ice.Current __current) throws ServerError
_IRoiOperationsgetShapeStatsRestricted_async in interface _IRoiOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void getRoiMeasurements_async(AMD_IRoi_getRoiMeasurements __cb, long imageId, RoiOptions opts, Ice.Current __current) throws ServerError
_IRoiOperationsFileAnnotation
instances with the namespace
openmicroscopy.org/measurements which are attached
to the Plate containing the given image
AND which are attached to at least one
RoigetRoiMeasurements_async in interface _IRoiOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorprotected java.util.List<ome.model.roi.Roi> loadMeasuredRois(org.hibernate.Session session,
long imageId,
long annotationId)
public void getMeasuredRoisMap_async(AMD_IRoi_getMeasuredRoisMap __cb, long imageId, java.util.List<java.lang.Long> annotationIds, RoiOptions opts, Ice.Current __current) throws ServerError
_IRoiOperationsFileAnnotation ids
to RoiResult instances.
Logic is identical to getMeasuredRois, but Roi data will not be duplicated. (i.e.
the objects are referentially identical)getMeasuredRoisMap_async in interface _IRoiOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void getMeasuredRois_async(AMD_IRoi_getMeasuredRois __cb, long imageId, long annotationId, RoiOptions opts, Ice.Current __current) throws ServerError
_IRoiOperationsFileAnnotation id for the given image.getMeasuredRois_async in interface _IRoiOperations__cb - The callback object for the operation.annotationId - if -1, logic is identical to findByImage(imageId, opts)__current - The Current object for the invocation.ServerErrorpublic void getTable_async(AMD_IRoi_getTable __cb, long annotationId, Ice.Current __current) throws ServerError
_IRoiOperationsFileAnnotation id returned
by getImageMeasurements.getTable_async in interface _IRoiOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void uploadMask_async(AMD_IRoi_uploadMask __cb, long imageId, int z, int t, byte[] bytes, Ice.Current __current) throws ServerError
uploadMask_async in interface _IRoiOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerError