Package omero.api
Class _IPixelsDisp
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.api._IPixelsDisp
-
- All Implemented Interfaces:
Ice.Object
,java.io.Serializable
,java.lang.Cloneable
,_IPixelsOperations
,_IPixelsOperationsNC
,_ServiceInterfaceOperations
,_ServiceInterfaceOperationsNC
,IPixels
,ServiceInterface
- Direct Known Subclasses:
_IPixelsTie
public abstract class _IPixelsDisp extends Ice.ObjectImpl implements IPixels
Metadata gateway for theRenderingEngine
and clients. This service provides all DB access that the rendering engine needs as well as Pixels services to a client. It also allows the rendering engine to also be run external to the server (e.g. client-side).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
__ids
static long
serialVersionUID
-
Fields inherited from interface omero.api.IPixels
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _IPixelsDisp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Ice.DispatchStatus
___copyAndResizeImage(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___copyAndResizePixels(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___createImage(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getAllEnumerations(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getBitDepth(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getEnumeration(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___loadRndSettings(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___retrieveAllRndSettings(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___retrievePixDescription(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___retrieveRndSettings(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___retrieveRndSettingsFor(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___saveRndSettings(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___setChannelGlobalMinMax(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
Ice.DispatchStatus
__dispatch(IceInternal.Incoming in, Ice.Current __current)
protected void
__readImpl(IceInternal.BasicStream __is)
protected void
__writeImpl(IceInternal.BasicStream __os)
void
copyAndResizeImage_async(AMD_IPixels_copyAndResizeImage __cb, long imageId, RInt sizeX, RInt sizeY, RInt sizeZ, RInt sizeT, java.util.List<java.lang.Integer> channelList, java.lang.String methodology, boolean copyStats)
Copies the metadata, and only the metadata linked to a Image object into a new Image object of equal or differing size across one or many of its three physical dimensions or temporal dimension.void
copyAndResizePixels_async(AMD_IPixels_copyAndResizePixels __cb, long pixelsId, RInt sizeX, RInt sizeY, RInt sizeZ, RInt sizeT, java.util.List<java.lang.Integer> channelList, java.lang.String methodology, boolean copyStats)
Copies the metadata, and only the metadata linked to a Pixels object into a new Pixels object of equal or differing size across one or many of its three physical dimensions or temporal dimension.void
createImage_async(AMD_IPixels_createImage __cb, int sizeX, int sizeY, int sizeZ, int sizeT, java.util.List<java.lang.Integer> channelList, PixelsType pixelsType, java.lang.String name, java.lang.String description)
Creates the metadata, and only the metadata linked to an Image object.void
getAllEnumerations_async(AMD_IPixels_getAllEnumerations __cb, java.lang.String enumClass)
Deprecated.Use ITypes#allEnumerations(string) instead.void
getBitDepth_async(AMD_IPixels_getBitDepth __cb, PixelsType type)
Bit depth for a given pixel type.void
getEnumeration_async(AMD_IPixels_getEnumeration __cb, java.lang.String enumClass, java.lang.String value)
Deprecated.Use ITypes#getEnumeration(string, string) instead.protected void
ice_copyStateFrom(Ice.Object __obj)
java.lang.String
ice_id()
java.lang.String
ice_id(Ice.Current __current)
java.lang.String[]
ice_ids()
java.lang.String[]
ice_ids(Ice.Current __current)
boolean
ice_isA(java.lang.String s)
boolean
ice_isA(java.lang.String s, Ice.Current __current)
static java.lang.String
ice_staticId()
void
loadRndSettings_async(AMD_IPixels_loadRndSettings __cb, long renderingSettingsId)
Loads a specific set of rendering settings.void
retrieveAllRndSettings_async(AMD_IPixels_retrieveAllRndSettings __cb, long pixId, long userId)
Retrieves all the rendering settings for a given pixels set and the passed user.void
retrievePixDescription_async(AMD_IPixels_retrievePixDescription __cb, long pixId)
Retrieves the pixels metadata.void
retrieveRndSettings_async(AMD_IPixels_retrieveRndSettings __cb, long pixId)
Retrieves the rendering settings for a given pixels set and the currently logged in user.void
retrieveRndSettingsFor_async(AMD_IPixels_retrieveRndSettingsFor __cb, long pixId, long userId)
Retrieves the rendering settings for a given pixels set and the passed user.void
saveRndSettings_async(AMD_IPixels_saveRndSettings __cb, RenderingDef rndSettings)
Saves the specified rendering settings.void
setChannelGlobalMinMax_async(AMD_IPixels_setChannelGlobalMinMax __cb, long pixelsId, int channelIndex, double min, double max)
Sets the channel global (all 2D optical sections corresponding to a particular channel) minimum and maximum for a Pixels set.-
Methods inherited from class Ice.ObjectImpl
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface omero.api._IPixelsOperations
copyAndResizeImage_async, copyAndResizePixels_async, createImage_async, getAllEnumerations_async, getBitDepth_async, getEnumeration_async, loadRndSettings_async, retrieveAllRndSettings_async, retrievePixDescription_async, retrieveRndSettings_async, retrieveRndSettingsFor_async, saveRndSettings_async, setChannelGlobalMinMax_async
-
-
-
-
Field Detail
-
__ids
public static final java.lang.String[] __ids
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
ice_copyStateFrom
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException
-
ice_isA
public boolean ice_isA(java.lang.String s)
- Specified by:
ice_isA
in interfaceIce.Object
- Overrides:
ice_isA
in classIce.ObjectImpl
-
ice_isA
public boolean ice_isA(java.lang.String s, Ice.Current __current)
- Specified by:
ice_isA
in interfaceIce.Object
- Overrides:
ice_isA
in classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids()
- Specified by:
ice_ids
in interfaceIce.Object
- Overrides:
ice_ids
in classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids(Ice.Current __current)
- Specified by:
ice_ids
in interfaceIce.Object
- Overrides:
ice_ids
in classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id()
- Specified by:
ice_id
in interfaceIce.Object
- Overrides:
ice_id
in classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id(Ice.Current __current)
- Specified by:
ice_id
in interfaceIce.Object
- Overrides:
ice_id
in classIce.ObjectImpl
-
ice_staticId
public static java.lang.String ice_staticId()
-
copyAndResizeImage_async
public final void copyAndResizeImage_async(AMD_IPixels_copyAndResizeImage __cb, long imageId, RInt sizeX, RInt sizeY, RInt sizeZ, RInt sizeT, java.util.List<java.lang.Integer> channelList, java.lang.String methodology, boolean copyStats) throws ServerError
Copies the metadata, and only the metadata linked to a Image object into a new Image object of equal or differing size across one or many of its three physical dimensions or temporal dimension. It is beyond the scope of this method to handle updates or changes to the raw pixel data available throughRawPixelsStore
or to add and linkPlaneInfo
and/or other Pixels set specific metadata. It is also assumed that the caller wishes the pixels dimensions andPixelsType
to remain the same; changing these is outside the scope of this method. NOTE: AsChannel
objects are only able to apply to a single set of Pixels any annotations or linkage to these objects will be lost.- Specified by:
copyAndResizeImage_async
in interface_IPixelsOperationsNC
- Parameters:
__cb
- The callback object for the operation.imageId
- The source Image id.sizeY
- The new size across the Y-axis.null
if the copy should maintain the same size.sizeZ
- The new size across the Z-axis.null
if the copy should maintain the same size.sizeT
- The new number of timepoints.null
if the copy should maintain the same number.channelList
- The channels that should be copied into the new Pixels set.methodology
- The name of the new Image.- Throws:
ValidationException
- If the X, Y, Z, T or channelList dimensions are out of bounds or the Pixels object corresponding topixelsId
is unlocatable.ServerError
-
copyAndResizePixels_async
public final void copyAndResizePixels_async(AMD_IPixels_copyAndResizePixels __cb, long pixelsId, RInt sizeX, RInt sizeY, RInt sizeZ, RInt sizeT, java.util.List<java.lang.Integer> channelList, java.lang.String methodology, boolean copyStats) throws ServerError
Copies the metadata, and only the metadata linked to a Pixels object into a new Pixels object of equal or differing size across one or many of its three physical dimensions or temporal dimension. It is beyond the scope of this method to handle updates or changes to the raw pixel data available throughRawPixelsStore
or to add and linkPlaneInfo
and/or other Pixels set specific metadata. It is also assumed that the caller wishes the pixels dimensions andPixelsType
to remain the same; changing these is outside the scope of this method. NOTE: AsChannel
objects are only able to apply to a single set of Pixels any annotations or linkage to these objects will be lost.- Specified by:
copyAndResizePixels_async
in interface_IPixelsOperationsNC
- Parameters:
__cb
- The callback object for the operation.pixelsId
- The source Pixels set id.sizeY
- The new size across the Y-axis.null
if the copy should maintain the same size.sizeZ
- The new size across the Z-axis.null
if the copy should maintain the same size.sizeT
- The new number of timepoints.null
if the copy should maintain the same number.channelList
- The channels that should be copied into the new Pixels set.methodology
- An optional string signifying the methodology that will be used to produce this new Pixels set.copyStats
- Whether or not to copy theStatsInfo
for each channel.- Throws:
ValidationException
- If the X, Y, Z, T or channelList dimensions are out of bounds or the Pixels object corresponding topixelsId
is unlocatable.ServerError
-
createImage_async
public final void createImage_async(AMD_IPixels_createImage __cb, int sizeX, int sizeY, int sizeZ, int sizeT, java.util.List<java.lang.Integer> channelList, PixelsType pixelsType, java.lang.String name, java.lang.String description) throws ServerError
Creates the metadata, and only the metadata linked to an Image object. It is beyond the scope of this method to handle updates or changes to the raw pixel data available throughRawPixelsStore
or to add and linkPlaneInfo
orStatsInfo
objects and/or other Pixels set specific metadata. It is also up to the caller to update the pixels dimensions.- Specified by:
createImage_async
in interface_IPixelsOperationsNC
- Parameters:
__cb
- The callback object for the operation.sizeX
- The new size across the X-axis.sizeZ
- The new size across the Z-axis.pixelsType
- The pixelsTypedescription
- The description of the new Image.- Throws:
ValidationException
- If the channel list isnull
or of size == 0.ServerError
-
getAllEnumerations_async
public final void getAllEnumerations_async(AMD_IPixels_getAllEnumerations __cb, java.lang.String enumClass) throws ServerError
Deprecated.Use ITypes#allEnumerations(string) instead.Retrieves the exhaustive list of enumerations for a given enumeration class.- Specified by:
getAllEnumerations_async
in interface_IPixelsOperationsNC
- Parameters:
__cb
- The callback object for the operation.enumClass
- Enumeration class.- Throws:
ServerError
-
getBitDepth_async
public final void getBitDepth_async(AMD_IPixels_getBitDepth __cb, PixelsType type) throws ServerError
Bit depth for a given pixel type.- Specified by:
getBitDepth_async
in interface_IPixelsOperationsNC
- Parameters:
__cb
- The callback object for the operation.type
- Pixels type.- Throws:
ServerError
-
getEnumeration_async
public final void getEnumeration_async(AMD_IPixels_getEnumeration __cb, java.lang.String enumClass, java.lang.String value) throws ServerError
Deprecated.Use ITypes#getEnumeration(string, string) instead.Retrieves a particular enumeration for a given enumeration class.- Specified by:
getEnumeration_async
in interface_IPixelsOperationsNC
- Parameters:
__cb
- The callback object for the operation.enumClass
- Enumeration class.- Throws:
ServerError
-
loadRndSettings_async
public final void loadRndSettings_async(AMD_IPixels_loadRndSettings __cb, long renderingSettingsId) throws ServerError
Loads a specific set of rendering settings. The following objects are pre-linked:- renderingDef.quantization
- renderingDef.model
- renderingDef.waveRendering
- renderingDef.waveRendering.color
- renderingDef.waveRendering.family
- renderingDef.spatialDomainEnhancement
- Specified by:
loadRndSettings_async
in interface_IPixelsOperationsNC
- Parameters:
__cb
- The callback object for the operation.renderingSettingsId
- Rendering definition id.- Throws:
ValidationException
- If noRenderingDef
matches the IDrenderingDefId
.ServerError
-
retrieveAllRndSettings_async
public final void retrieveAllRndSettings_async(AMD_IPixels_retrieveAllRndSettings __cb, long pixId, long userId) throws ServerError
Retrieves all the rendering settings for a given pixels set and the passed user. The following objects are pre-linked:- renderingDef.quantization
- renderingDef.model
- renderingDef.waveRendering
- renderingDef.waveRendering.color
- renderingDef.waveRendering.family
- renderingDef.spatialDomainEnhancement
- Specified by:
retrieveAllRndSettings_async
in interface_IPixelsOperationsNC
- Parameters:
__cb
- The callback object for the operation.pixId
- Pixels id.- Throws:
ServerError
-
retrievePixDescription_async
public final void retrievePixDescription_async(AMD_IPixels_retrievePixDescription __cb, long pixId) throws ServerError
Retrieves the pixels metadata. The following objects are pre-linked:- pixels.pixelsType
- pixels.pixelsDimensions
- pixels.channels
- pixels.channnels.statsInfo
- pixels.channnels.colorComponent
- pixels.channnels.logicalChannel
- pixels.channnels.logicalChannel.photometricInterpretation
- Specified by:
retrievePixDescription_async
in interface_IPixelsOperationsNC
- Parameters:
__cb
- The callback object for the operation.pixId
- Pixels id.- Throws:
ServerError
-
retrieveRndSettings_async
public final void retrieveRndSettings_async(AMD_IPixels_retrieveRndSettings __cb, long pixId) throws ServerError
Retrieves the rendering settings for a given pixels set and the currently logged in user. If the current user has noRenderingDef
, and the user is an administrator, then aRenderingDef
may be returned for the owner of thePixels
. This matches the behavior of the Rendering service. The following objects will be pre-linked:- renderingDef.quantization
- renderingDef.model
- renderingDef.waveRendering
- renderingDef.waveRendering.color
- renderingDef.waveRendering.family
- renderingDef.spatialDomainEnhancement
- Specified by:
retrieveRndSettings_async
in interface_IPixelsOperationsNC
- Parameters:
__cb
- The callback object for the operation.pixId
- Pixels id.- Throws:
ServerError
-
retrieveRndSettingsFor_async
public final void retrieveRndSettingsFor_async(AMD_IPixels_retrieveRndSettingsFor __cb, long pixId, long userId) throws ServerError
Retrieves the rendering settings for a given pixels set and the passed user. The following objects are pre-linked:- renderingDef.quantization
- renderingDef.model
- renderingDef.waveRendering
- renderingDef.waveRendering.color
- renderingDef.waveRendering.family
- renderingDef.spatialDomainEnhancement
- Specified by:
retrieveRndSettingsFor_async
in interface_IPixelsOperationsNC
- Parameters:
__cb
- The callback object for the operation.pixId
- Pixels id.- Throws:
ServerError
-
saveRndSettings_async
public final void saveRndSettings_async(AMD_IPixels_saveRndSettings __cb, RenderingDef rndSettings) throws ServerError
Saves the specified rendering settings.- Specified by:
saveRndSettings_async
in interface_IPixelsOperationsNC
- Parameters:
__cb
- The callback object for the operation.rndSettings
- Rendering settings.- Throws:
ServerError
-
setChannelGlobalMinMax_async
public final void setChannelGlobalMinMax_async(AMD_IPixels_setChannelGlobalMinMax __cb, long pixelsId, int channelIndex, double min, double max) throws ServerError
Sets the channel global (all 2D optical sections corresponding to a particular channel) minimum and maximum for a Pixels set.- Specified by:
setChannelGlobalMinMax_async
in interface_IPixelsOperationsNC
- Parameters:
__cb
- The callback object for the operation.pixelsId
- The source Pixels set id.min
- The channel global minimum.- Throws:
ServerError
-
___retrievePixDescription
public static Ice.DispatchStatus ___retrievePixDescription(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___retrieveRndSettings
public static Ice.DispatchStatus ___retrieveRndSettings(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___retrieveRndSettingsFor
public static Ice.DispatchStatus ___retrieveRndSettingsFor(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___retrieveAllRndSettings
public static Ice.DispatchStatus ___retrieveAllRndSettings(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___loadRndSettings
public static Ice.DispatchStatus ___loadRndSettings(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___saveRndSettings
public static Ice.DispatchStatus ___saveRndSettings(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getBitDepth
public static Ice.DispatchStatus ___getBitDepth(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getEnumeration
public static Ice.DispatchStatus ___getEnumeration(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getAllEnumerations
public static Ice.DispatchStatus ___getAllEnumerations(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___copyAndResizePixels
public static Ice.DispatchStatus ___copyAndResizePixels(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___copyAndResizeImage
public static Ice.DispatchStatus ___copyAndResizeImage(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___createImage
public static Ice.DispatchStatus ___createImage(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setChannelGlobalMinMax
public static Ice.DispatchStatus ___setChannelGlobalMinMax(IPixels __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
__dispatch
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
- Specified by:
__dispatch
in interfaceIce.Object
- Overrides:
__dispatch
in classIce.ObjectImpl
-
__writeImpl
protected void __writeImpl(IceInternal.BasicStream __os)
- Overrides:
__writeImpl
in classIce.ObjectImpl
-
__readImpl
protected void __readImpl(IceInternal.BasicStream __is)
- Overrides:
__readImpl
in classIce.ObjectImpl
-
-