|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.blitz.gateway.services.impl.ThumbnailServiceImpl
public class ThumbnailServiceImpl
Constructor Summary | |
---|---|
ThumbnailServiceImpl(omero.api.ThumbnailStorePrx thumbnailStore)
Create the ThumbnailService passing the gateway. |
Method Summary | |
---|---|
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. |
Map<Long,byte[]> |
getThumbnailByLongestSideSet(omero.RInt size,
List<Long> pixelsIds)
Get a set of thumbnails, maintaining aspect ratio. |
Map<Long,byte[]> |
getThumbnailSet(omero.RInt sizeX,
omero.RInt sizeY,
List<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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThumbnailServiceImpl(omero.api.ThumbnailStorePrx thumbnailStore) throws omero.ServerError
ThumbnailStorePrx
- To generate new instances of the
ThumbnailStore.
omero.ServerError
Method Detail |
---|
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
in interface 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
in interface ThumbnailService
pixelsId
- for pixelsIdsize
- size of thumbnail.
omero.ServerError
public Map<Long,byte[]> getThumbnailByLongestSideSet(omero.RInt size, List<Long> pixelsIds) throws omero.ServerError
ThumbnailService
getThumbnailByLongestSideSet
in interface ThumbnailService
size
- size of thumbnail.pixelsIds
- list of ids.
omero.ServerError
public Map<Long,byte[]> getThumbnailSet(omero.RInt sizeX, omero.RInt sizeY, List<Long> pixelsIds) throws omero.ServerError
ThumbnailService
getThumbnailSet
in interface 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
in interface ThumbnailService
pixelsId
- for pixelsIdrenderingDefId
- see above.
omero.ServerError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.