public class ThumbnailServiceImpl extends java.lang.Object implements ThumbnailService
コンストラクタと説明 |
---|
ThumbnailServiceImpl(omero.api.ThumbnailStorePrx thumbnailStore)
Create the ThumbnailService passing the gateway.
|
修飾子とタイプ | メソッドと説明 |
---|---|
byte[] |
getThumbnail(long pixelsId,
omero.RInt sizeX,
omero.RInt sizeY)
Get the thumbnail of the image.
|
byte[] |
getThumbnailByLongestSide(long pixelsId,
omero.RInt size)
Get the thumbnail of the image, maintain aspect ratio.
|
java.util.Map<java.lang.Long,byte[]> |
getThumbnailByLongestSideSet(omero.RInt size,
java.util.List<java.lang.Long> pixelsIds)
Get a set of thumbnails, maintaining aspect ratio.
|
java.util.Map<java.lang.Long,byte[]> |
getThumbnailSet(omero.RInt sizeX,
omero.RInt sizeY,
java.util.List<java.lang.Long> pixelsIds)
Get a set of thumbnails.
|
void |
setPixelsId(long pixelsId)
Lookup the pixels for the renderingEngine for pixelsId
|
void |
setRenderingDefId(long pixelsId,
long renderingDefId)
Set the rendering def from the default to another.
|
public ThumbnailServiceImpl(omero.api.ThumbnailStorePrx thumbnailStore) throws omero.ServerError
ThumbnailStorePrx
- To generate new instances of the
ThumbnailStore.omero.ServerError
public void setPixelsId(long pixelsId) throws omero.ServerError
pixelsId
- see above.omero.ServerError
public byte[] getThumbnail(long pixelsId, omero.RInt sizeX, omero.RInt sizeY) throws omero.ServerError
ThumbnailService
getThumbnail
インタフェース内 ThumbnailService
pixelsId
- for pixelsIdsizeX
- size of thumbnail.sizeY
- size of thumbnail.omero.ServerError
public byte[] getThumbnailByLongestSide(long pixelsId, omero.RInt size) throws omero.ServerError
ThumbnailService
getThumbnailByLongestSide
インタフェース内 ThumbnailService
pixelsId
- for pixelsIdsize
- size of thumbnail.omero.ServerError
public java.util.Map<java.lang.Long,byte[]> getThumbnailByLongestSideSet(omero.RInt size, java.util.List<java.lang.Long> pixelsIds) throws omero.ServerError
ThumbnailService
getThumbnailByLongestSideSet
インタフェース内 ThumbnailService
size
- size of thumbnail.pixelsIds
- list of ids.omero.ServerError
public java.util.Map<java.lang.Long,byte[]> getThumbnailSet(omero.RInt sizeX, omero.RInt sizeY, java.util.List<java.lang.Long> pixelsIds) throws omero.ServerError
ThumbnailService
getThumbnailSet
インタフェース内 ThumbnailService
sizeX
- size of thumbnail.sizeY
- size of thumbnail.pixelsIds
- list of ids.omero.ServerError
public void setRenderingDefId(long pixelsId, long renderingDefId) throws omero.ServerError
ThumbnailService
setRenderingDefId
インタフェース内 ThumbnailService
pixelsId
- for pixelsIdrenderingDefId
- see above.omero.ServerError