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, setHolder
protected 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 ServiceFactoryAware
public void findByImage_async(AMD_IRoi_findByImage __cb, long imageId, RoiOptions opts, Ice.Current __current) throws ServerError
_IRoiOperations
findByImage_async
in interface _IRoiOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void findByRoi_async(AMD_IRoi_findByRoi __cb, long roiId, RoiOptions opts, Ice.Current __current) throws ServerError
_IRoiOperations
findByRoi_async
in interface _IRoiOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void findByPlane_async(AMD_IRoi_findByPlane __cb, long imageId, int z, int t, RoiOptions opts, Ice.Current __current) throws ServerError
_IRoiOperations
findByPlane_async
in interface _IRoiOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getPoints_async(AMD_IRoi_getPoints __cb, long shapeId, Ice.Current __current) throws ServerError
_IRoiOperations
getPoints_async
in interface _IRoiOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getShapeStats_async(AMD_IRoi_getShapeStats __cb, long shapeId, Ice.Current __current) throws ServerError
_IRoiOperations
getShapeStats_async
in interface _IRoiOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getShapeStatsList_async(AMD_IRoi_getShapeStatsList __cb, java.util.List<java.lang.Long> shapeIdList, Ice.Current __current) throws ServerError
_IRoiOperations
getShapeStatsList_async
in interface _IRoiOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getRoiStats_async(AMD_IRoi_getRoiStats __cb, long roiId, Ice.Current __current) throws ServerError
_IRoiOperations
getRoiStats_async
in interface _IRoiOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public 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
_IRoiOperations
getShapeStatsRestricted_async
in interface _IRoiOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getRoiMeasurements_async(AMD_IRoi_getRoiMeasurements __cb, long imageId, RoiOptions opts, Ice.Current __current) throws ServerError
_IRoiOperations
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
getRoiMeasurements_async
in interface _IRoiOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
protected 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
_IRoiOperations
FileAnnotation
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.ServerError
public void getMeasuredRois_async(AMD_IRoi_getMeasuredRois __cb, long imageId, long annotationId, RoiOptions opts, Ice.Current __current) throws ServerError
_IRoiOperations
FileAnnotation
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.ServerError
public void getTable_async(AMD_IRoi_getTable __cb, long annotationId, Ice.Current __current) throws ServerError
_IRoiOperations
FileAnnotation
id returned
by getImageMeasurements
.getTable_async
in interface _IRoiOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public 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