Package ome.services.blitz.impl
Class PixelsI
- java.lang.Object
-
- ome.services.blitz.impl.AbstractAmdServant
-
- ome.services.blitz.impl.PixelsI
-
- All Implemented Interfaces:
_IPixelsOperations,_ServiceInterfaceOperations,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class PixelsI extends AbstractAmdServant implements _IPixelsOperations
Implementation of the IPixels service.- Since:
- 3.0-Beta4
- See Also:
IPixels
-
-
Constructor Summary
Constructors Constructor Description PixelsI(ome.api.IPixels service, BlitzExecutor be)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyAndResizeImage_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, Ice.Current __current)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.voidcopyAndResizePixels_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, Ice.Current __current)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.voidcreateImage_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, Ice.Current __current)Creates the metadata, and only the metadata linked to an Image object.voidgetAllEnumerations_async(AMD_IPixels_getAllEnumerations __cb, java.lang.String enumClass, Ice.Current __current)Retrieves the exhaustive list of enumerations for a given enumeration class.voidgetBitDepth_async(AMD_IPixels_getBitDepth __cb, PixelsType type, Ice.Current __current)Bit depth for a given pixel type.voidgetEnumeration_async(AMD_IPixels_getEnumeration __cb, java.lang.String enumClass, java.lang.String value, Ice.Current __current)Retrieves a particular enumeration for a given enumeration class.voidloadRndSettings_async(AMD_IPixels_loadRndSettings __cb, long renderingSettingsId, Ice.Current __current)Loads a specific set of rendering settings.voidretrieveAllRndSettings_async(AMD_IPixels_retrieveAllRndSettings __cb, long pixId, long userId, Ice.Current __current)Retrieves all the rendering settings for a given pixels set and the passed user.voidretrievePixDescription_async(AMD_IPixels_retrievePixDescription __cb, long pixId, Ice.Current __current)Retrieves the pixels metadata.voidretrieveRndSettings_async(AMD_IPixels_retrieveRndSettings __cb, long pixId, Ice.Current __current)Retrieves the rendering settings for a given pixels set and the currently logged in user.voidretrieveRndSettingsFor_async(AMD_IPixels_retrieveRndSettingsFor __cb, long pixId, long userId, Ice.Current __current)Retrieves the rendering settings for a given pixels set and the passed user.voidsaveRndSettings_async(AMD_IPixels_saveRndSettings __cb, RenderingDef rndSettings, Ice.Current __current)Saves the specified rendering settings.voidsetChannelGlobalMinMax_async(AMD_IPixels_setChannelGlobalMinMax __cb, long pixelsId, int channelIndex, double min, double max, Ice.Current __current)Sets the channel global (all 2D optical sections corresponding to a particular channel) minimum and maximum for a Pixels set.-
Methods inherited from class ome.services.blitz.impl.AbstractAmdServant
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
-
-
-
-
Constructor Detail
-
PixelsI
public PixelsI(ome.api.IPixels service, BlitzExecutor be)
-
-
Method Detail
-
copyAndResizeImage_async
public 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, Ice.Current __current) throws ServerError
Description copied from interface:_IPixelsOperationsCopies 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 throughRawPixelsStoreor to add and linkPlaneInfoand/or other Pixels set specific metadata. It is also assumed that the caller wishes the pixels dimensions andPixelsTypeto remain the same; changing these is outside the scope of this method. NOTE: AsChannelobjects are only able to apply to a single set of Pixels any annotations or linkage to these objects will be lost.- Specified by:
copyAndResizeImage_asyncin interface_IPixelsOperations- Parameters:
__cb- The callback object for the operation.imageId- The source Image id.sizeY- The new size across the Y-axis.nullif the copy should maintain the same size.sizeZ- The new size across the Z-axis.nullif the copy should maintain the same size.sizeT- The new number of timepoints.nullif 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.__current- The Current object for the invocation.- Throws:
ServerError
-
copyAndResizePixels_async
public 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, Ice.Current __current) throws ServerError
Description copied from interface:_IPixelsOperationsCopies 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 throughRawPixelsStoreor to add and linkPlaneInfoand/or other Pixels set specific metadata. It is also assumed that the caller wishes the pixels dimensions andPixelsTypeto remain the same; changing these is outside the scope of this method. NOTE: AsChannelobjects are only able to apply to a single set of Pixels any annotations or linkage to these objects will be lost.- Specified by:
copyAndResizePixels_asyncin interface_IPixelsOperations- Parameters:
__cb- The callback object for the operation.pixelsId- The source Pixels set id.sizeY- The new size across the Y-axis.nullif the copy should maintain the same size.sizeZ- The new size across the Z-axis.nullif the copy should maintain the same size.sizeT- The new number of timepoints.nullif 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 theStatsInfofor each channel.__current- The Current object for the invocation.- Throws:
ServerError
-
createImage_async
public 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, Ice.Current __current) throws ServerError
Description copied from interface:_IPixelsOperationsCreates 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 throughRawPixelsStoreor to add and linkPlaneInfoorStatsInfoobjects and/or other Pixels set specific metadata. It is also up to the caller to update the pixels dimensions.- Specified by:
createImage_asyncin interface_IPixelsOperations- 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.__current- The Current object for the invocation.- Throws:
ServerError
-
getAllEnumerations_async
public void getAllEnumerations_async(AMD_IPixels_getAllEnumerations __cb, java.lang.String enumClass, Ice.Current __current) throws ServerError
Description copied from interface:_IPixelsOperationsRetrieves the exhaustive list of enumerations for a given enumeration class.- Specified by:
getAllEnumerations_asyncin interface_IPixelsOperations- Parameters:
__cb- The callback object for the operation.enumClass- Enumeration class.__current- The Current object for the invocation.- Throws:
ServerError
-
getBitDepth_async
public void getBitDepth_async(AMD_IPixels_getBitDepth __cb, PixelsType type, Ice.Current __current) throws ServerError
Description copied from interface:_IPixelsOperationsBit depth for a given pixel type.- Specified by:
getBitDepth_asyncin interface_IPixelsOperations- Parameters:
__cb- The callback object for the operation.type- Pixels type.__current- The Current object for the invocation.- Throws:
ServerError
-
getEnumeration_async
public void getEnumeration_async(AMD_IPixels_getEnumeration __cb, java.lang.String enumClass, java.lang.String value, Ice.Current __current) throws ServerError
Description copied from interface:_IPixelsOperationsRetrieves a particular enumeration for a given enumeration class.- Specified by:
getEnumeration_asyncin interface_IPixelsOperations- Parameters:
__cb- The callback object for the operation.enumClass- Enumeration class.__current- The Current object for the invocation.- Throws:
ServerError
-
loadRndSettings_async
public void loadRndSettings_async(AMD_IPixels_loadRndSettings __cb, long renderingSettingsId, Ice.Current __current) throws ServerError
Description copied from interface:_IPixelsOperationsLoads 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_asyncin interface_IPixelsOperations- Parameters:
__cb- The callback object for the operation.renderingSettingsId- Rendering definition id.__current- The Current object for the invocation.- Throws:
ServerError
-
retrievePixDescription_async
public void retrievePixDescription_async(AMD_IPixels_retrievePixDescription __cb, long pixId, Ice.Current __current) throws ServerError
Description copied from interface:_IPixelsOperationsRetrieves 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_asyncin interface_IPixelsOperations- Parameters:
__cb- The callback object for the operation.pixId- Pixels id.__current- The Current object for the invocation.- Throws:
ServerError
-
retrieveRndSettings_async
public void retrieveRndSettings_async(AMD_IPixels_retrieveRndSettings __cb, long pixId, Ice.Current __current) throws ServerError
Description copied from interface:_IPixelsOperationsRetrieves 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 aRenderingDefmay 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_asyncin interface_IPixelsOperations- Parameters:
__cb- The callback object for the operation.pixId- Pixels id.__current- The Current object for the invocation.- Throws:
ServerError
-
retrieveRndSettingsFor_async
public void retrieveRndSettingsFor_async(AMD_IPixels_retrieveRndSettingsFor __cb, long pixId, long userId, Ice.Current __current) throws ServerError
Description copied from interface:_IPixelsOperationsRetrieves 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_asyncin interface_IPixelsOperations- Parameters:
__cb- The callback object for the operation.pixId- Pixels id.__current- The Current object for the invocation.- Throws:
ServerError
-
retrieveAllRndSettings_async
public void retrieveAllRndSettings_async(AMD_IPixels_retrieveAllRndSettings __cb, long pixId, long userId, Ice.Current __current) throws ServerError
Description copied from interface:_IPixelsOperationsRetrieves 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_asyncin interface_IPixelsOperations- Parameters:
__cb- The callback object for the operation.pixId- Pixels id.__current- The Current object for the invocation.- Throws:
ServerError
-
saveRndSettings_async
public void saveRndSettings_async(AMD_IPixels_saveRndSettings __cb, RenderingDef rndSettings, Ice.Current __current) throws ServerError
Description copied from interface:_IPixelsOperationsSaves the specified rendering settings.- Specified by:
saveRndSettings_asyncin interface_IPixelsOperations- Parameters:
__cb- The callback object for the operation.rndSettings- Rendering settings.__current- The Current object for the invocation.- Throws:
ServerError
-
setChannelGlobalMinMax_async
public void setChannelGlobalMinMax_async(AMD_IPixels_setChannelGlobalMinMax __cb, long pixelsId, int channelIndex, double min, double max, Ice.Current __current) throws ServerError
Description copied from interface:_IPixelsOperationsSets the channel global (all 2D optical sections corresponding to a particular channel) minimum and maximum for a Pixels set.- Specified by:
setChannelGlobalMinMax_asyncin interface_IPixelsOperations- Parameters:
__cb- The callback object for the operation.pixelsId- The source Pixels set id.min- The channel global minimum.__current- The Current object for the invocation.- Throws:
ServerError
-
-