ome.services.blitz.gateway.services
Interface RenderingService

All Known Implementing Classes:
RenderingServiceImpl

public interface RenderingService

Since:
OME3.0
Version:
3.0 (Internal version: $Revision: $Date: $)
Author:
Jean-Marie Burel      j.burel@dundee.ac.uk, Donald MacDonald      donald@lifesci.dundee.ac.uk

Method Summary
 double getChannelWindowEnd(Long pixelsId, int w)
          Get the channel max.
 double getChannelWindowStart(Long pixelsId, int w)
          Get the channel min.
 int getDefaultT(Long pixelsId)
          Get the default T point of the image
 int getDefaultZ(Long pixelsId)
          Get the default Z section of the image
 omero.model.Pixels getPixels(Long pixelsId)
          Get the pixels of the Rendering engine.
 int[] getRenderedImage(long pixelsId, int z, int t)
          Render image as Buffered image.
 int[][][] getRenderedImageMatrix(long pixelsId, int z, int t)
          Render image as 3d matrix.
 boolean isActive(Long pixelsId, int w)
          Is the channel active.
 int[] renderAsPackedInt(Long pixelsId, int z, int t)
          Render as a packedInt
 int[] renderAsPackedIntAsRGBA(long pixelsId, int z, int t)
          Render image as Buffered image.
 void setActive(Long pixelsId, int w, boolean active)
          Set the active channels in the pixels.
 void setChannelWindow(Long pixelsId, int w, double start, double end)
          Set the channel min, max.
 void setDefaultT(Long pixelsId, int t)
          Set the default timepoint of the image.
 void setDefaultZ(Long pixelsId, int z)
          Set the default Z section of the image.
 

Method Detail

getRenderedImage

int[] getRenderedImage(long pixelsId,
                       int z,
                       int t)
                       throws omero.ServerError
Render image as Buffered image.

Parameters:
pixelsId - pixels id of the plane to render
z - z section to render
t - timepoint to render
Returns:
packed int
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError

renderAsPackedIntAsRGBA

int[] renderAsPackedIntAsRGBA(long pixelsId,
                              int z,
                              int t)
                              throws omero.ServerError
Render image as Buffered image.

Parameters:
pixelsId - pixels id of the plane to render
z - z section to render
t - timepoint to render
Returns:
packed int
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError

getRenderedImageMatrix

int[][][] getRenderedImageMatrix(long pixelsId,
                                 int z,
                                 int t)
                                 throws omero.ServerError
Render image as 3d matrix.

Parameters:
pixelsId - pixels id of the plane to render
z - z section to render
t - timepoint to render
Returns:
packed int
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError

renderAsPackedInt

int[] renderAsPackedInt(Long pixelsId,
                        int z,
                        int t)
                        throws omero.ServerError
Render as a packedInt

Parameters:
pixelsId - pixels id of the plane to render
z - z section to render
t - timepoint to render
Returns:
packed int
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError

setActive

void setActive(Long pixelsId,
               int w,
               boolean active)
               throws omero.ServerError
Set the active channels in the pixels.

Parameters:
pixelsId - the pixels id.
w - the channel
active - set active?
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError

isActive

boolean isActive(Long pixelsId,
                 int w)
                 throws omero.ServerError
Is the channel active.

Parameters:
pixelsId - the pixels id.
w - channel
Returns:
true if the channel active.
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError

getDefaultZ

int getDefaultZ(Long pixelsId)
                throws omero.ServerError
Get the default Z section of the image

Parameters:
pixelsId - the pixelsId of the image.
Returns:
see above.
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError

getDefaultT

int getDefaultT(Long pixelsId)
                throws omero.ServerError
Get the default T point of the image

Parameters:
pixelsId - the pixelsId of the image.
Returns:
see above.
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError

setDefaultZ

void setDefaultZ(Long pixelsId,
                 int z)
                 throws omero.ServerError
Set the default Z section of the image.

Parameters:
pixelsId - the pixelsId of the image.
z - see above.
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError

setDefaultT

void setDefaultT(Long pixelsId,
                 int t)
                 throws omero.ServerError
Set the default timepoint of the image.

Parameters:
pixelsId - the pixelsId of the image.
t - see above.
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError

getPixels

omero.model.Pixels getPixels(Long pixelsId)
                             throws omero.ServerError
Get the pixels of the Rendering engine.

Parameters:
pixelsId - the pixelsId of the image.
Returns:
see above.
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError

setChannelWindow

void setChannelWindow(Long pixelsId,
                      int w,
                      double start,
                      double end)
                      throws omero.ServerError
Set the channel min, max.

Parameters:
pixelsId - the pixelsId of the image.
w - channel.
start - min.
end - max.
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError

getChannelWindowStart

double getChannelWindowStart(Long pixelsId,
                             int w)
                             throws omero.ServerError
Get the channel min.

Parameters:
pixelsId - the pixelsId of the image.
w - channel.
Returns:
see above.
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError

getChannelWindowEnd

double getChannelWindowEnd(Long pixelsId,
                           int w)
                           throws omero.ServerError
Get the channel max.

Parameters:
pixelsId - the pixelsId of the image.
w - channel.
Returns:
see above.
Throws:
DSOutOfServiceException
DSAccessException
omero.ServerError


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

Copyright © 2009 The University of Dundee. All Rights Reserved.