Class RoiI

    • Field Detail

      • geomTool

        protected final GeomTool geomTool
      • sql

        protected final ome.util.SqlAction sql
    • Method Detail

      • findByRoi_async

        public void findByRoi_async​(AMD_IRoi_findByRoi __cb,
                                    long roiId,
                                    RoiOptions opts,
                                    Ice.Current __current)
                             throws ServerError
        Description copied from interface: _IRoiOperations
        Returns a RoiResult with a single Roi member. Shape linkages are properly created. All Shapes are loaded, as is the Pixels and Image object. TODO: Annotations?
        Specified by:
        findByRoi_async in interface _IRoiOperations
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • findByPlane_async

        public void findByPlane_async​(AMD_IRoi_findByPlane __cb,
                                      long imageId,
                                      int z,
                                      int t,
                                      RoiOptions opts,
                                      Ice.Current __current)
                               throws ServerError
        Description copied from interface: _IRoiOperations
        Returns all the Rois on the given plane, indexed via Shape. Loads Rois as findByRoi.
        Specified by:
        findByPlane_async in interface _IRoiOperations
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getPoints_async

        public void getPoints_async​(AMD_IRoi_getPoints __cb,
                                    long shapeId,
                                    Ice.Current __current)
                             throws ServerError
        Description copied from interface: _IRoiOperations
        Calculate the points contained within a given shape
        Specified by:
        getPoints_async in interface _IRoiOperations
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getShapeStatsRestricted_async

        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
        Description copied from interface: _IRoiOperations
        Calculate the stats for the points within the given Shapes. Varies to the above in the following ways: - does not allow tiled images - shapes have to be all belonging to the same image - unattached z/t use the fallback parameters zForUnattached/tForUnattached that is to say there is never more than 1 z/t combination queried - if channel list is given, only the channels in that list are iterated over - does not request data from reader on each iteration
        Specified by:
        getShapeStatsRestricted_async in interface _IRoiOperations
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • loadMeasuredRois

        protected java.util.List<ome.model.roi.Roi> loadMeasuredRois​(org.hibernate.Session session,
                                                                     long imageId,
                                                                     long annotationId)