public interface _IPixelsOperationsNC extends _ServiceInterfaceOperationsNC
RenderingEngine
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).Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
void retrievePixDescription_async(AMD_IPixels_retrievePixDescription __cb, long pixId) throws ServerError
__cb
- The callback object for the operation.pixId
- Pixels id.ServerError
void retrieveRndSettings_async(AMD_IPixels_retrieveRndSettings __cb, long pixId) throws ServerError
RenderingDef
, and the user is an
administrator, then a RenderingDef
may
be returned for the owner of the
Pixels
. This matches the behavior of the
Rendering service.
The following objects will be pre-linked:
__cb
- The callback object for the operation.pixId
- Pixels id.ServerError
void retrieveRndSettingsFor_async(AMD_IPixels_retrieveRndSettingsFor __cb, long pixId, long userId) throws ServerError
__cb
- The callback object for the operation.pixId
- Pixels id.ServerError
void retrieveAllRndSettings_async(AMD_IPixels_retrieveAllRndSettings __cb, long pixId, long userId) throws ServerError
__cb
- The callback object for the operation.pixId
- Pixels id.ServerError
void loadRndSettings_async(AMD_IPixels_loadRndSettings __cb, long renderingSettingsId) throws ServerError
__cb
- The callback object for the operation.renderingSettingsId
- Rendering definition id.ValidationException
- If no RenderingDef
matches the ID renderingDefId
.ServerError
void saveRndSettings_async(AMD_IPixels_saveRndSettings __cb, RenderingDef rndSettings) throws ServerError
__cb
- The callback object for the operation.rndSettings
- Rendering settings.ServerError
void getBitDepth_async(AMD_IPixels_getBitDepth __cb, PixelsType type) throws ServerError
__cb
- The callback object for the operation.type
- Pixels type.ServerError
void getEnumeration_async(AMD_IPixels_getEnumeration __cb, java.lang.String enumClass, java.lang.String value) throws ServerError
__cb
- The callback object for the operation.enumClass
- Enumeration class.ServerError
void getAllEnumerations_async(AMD_IPixels_getAllEnumerations __cb, java.lang.String enumClass) throws ServerError
__cb
- The callback object for the operation.enumClass
- Enumeration class.ServerError
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
RawPixelsStore
or to add
and link PlaneInfo
and/or other Pixels
set specific metadata.
It is also assumed that the caller wishes the pixels
dimensions and PixelsType
to remain the
same; changing these is outside the scope of this method.
NOTE: As Channel
objects are
only able to apply to a single set of Pixels any
annotations or linkage to these objects will be lost.__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 the
StatsInfo
for each
channel.ValidationException
- If the X, Y, Z, T or
channelList dimensions are out of bounds or the
Pixels object corresponding to
pixelsId
is unlocatable.ServerError
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
RawPixelsStore
or to add
and link PlaneInfo
and/or other Pixels
set specific metadata.
It is also assumed that the caller wishes the pixels
dimensions and PixelsType
to remain the
same; changing these is outside the scope of this method.
NOTE: As Channel
objects are
only able to apply to a single set of Pixels any
annotations or linkage to these objects will be lost.__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.ValidationException
- If the X, Y, Z, T or
channelList dimensions are out of bounds or the
Pixels object corresponding to
pixelsId
is unlocatable.ServerError
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
RawPixelsStore
or to
add and link PlaneInfo
or
StatsInfo
objects and/or other Pixels
set specific metadata. It is also up to the caller to
update the pixels dimensions.__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.ValidationException
- If the channel list is
null
or of size == 0.ServerError
void setChannelGlobalMinMax_async(AMD_IPixels_setChannelGlobalMinMax __cb, long pixelsId, int channelIndex, double min, double max) throws ServerError
__cb
- The callback object for the operation.pixelsId
- The source Pixels set id.min
- The channel global minimum.ServerError