Class ProjectionBean

  • All Implemented Interfaces:
    ome.api.IProjection, ome.api.ServiceInterface, ome.system.SelfConfigurableService

    @Transactional(readOnly=true)
    public class ProjectionBean
    extends AbstractLevel2Service
    implements ome.api.IProjection
    Implements projection functionality for Pixels sets as declared in IProjection.
    Since:
    OMERO-Beta3.1
    • Field Detail

      • iPixels

        protected transient ome.api.IPixels iPixels
        Reference to the service used to retrieve the pixels metadata.
      • pixelsService

        protected transient ome.io.nio.PixelsService pixelsService
        Reference to the service used to retrieve the pixels data.
    • Constructor Detail

      • ProjectionBean

        public ProjectionBean()
    • Method Detail

      • getServiceInterface

        public java.lang.Class<? extends ome.api.ServiceInterface> getServiceInterface()
        Returns the interface this implementation is for.
        Specified by:
        getServiceInterface in interface ome.system.SelfConfigurableService
        See Also:
        SelfConfigurableService.getServiceInterface()
      • setIPixels

        public void setIPixels​(ome.api.IPixels iPixels)
        IPixels bean injector. For use during configuration. Can only be called once.
      • setPixelsService

        public void setPixelsService​(ome.io.nio.PixelsService pixelsService)
        PixelsService bean injector. For use during configuration. Can only be called once.
      • projectStack

        public byte[] projectStack​(long pixelsId,
                                   ome.model.enums.PixelsType pixelsType,
                                   int algorithm,
                                   int timepoint,
                                   int channelIndex,
                                   int stepping,
                                   int start,
                                   int end)
        Specified by:
        projectStack in interface ome.api.IProjection
      • projectPixels

        @Transactional(readOnly=false)
        public long projectPixels​(long pixelsId,
                                  ome.model.enums.PixelsType pixelsType,
                                  int algorithm,
                                  int tStart,
                                  int tEnd,
                                  java.util.List<java.lang.Integer> channels,
                                  int stepping,
                                  int zStart,
                                  int zEnd,
                                  java.lang.String name)
        Specified by:
        projectPixels in interface ome.api.IProjection