Package omero.api
Interface _IRenderingSettingsOperationsNC
-
- All Superinterfaces:
_ServiceInterfaceOperationsNC
- All Known Subinterfaces:
IRenderingSettings
- All Known Implementing Classes:
_IRenderingSettingsDisp
,_IRenderingSettingsTie
public interface _IRenderingSettingsOperationsNC extends _ServiceInterfaceOperationsNC
Provides method to apply rendering settings to a collection of images. All methods will receive the id of the pixels set to copy the rendering settings from.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
applySettingsToDataset_async(AMD_IRenderingSettings_applySettingsToDataset __cb, long from, long to)
Applies rendering settings to all images in a given Dataset.void
applySettingsToImage_async(AMD_IRenderingSettings_applySettingsToImage __cb, long from, long to)
Applies rendering settings to a given Image.void
applySettingsToImages_async(AMD_IRenderingSettings_applySettingsToImages __cb, long from, java.util.List<java.lang.Long> to)
Applies rendering settings to a given Image.void
applySettingsToPixels_async(AMD_IRenderingSettings_applySettingsToPixels __cb, long from, long to)
Applies rendering settings to a given Pixels.void
applySettingsToProject_async(AMD_IRenderingSettings_applySettingsToProject __cb, long from, long to)
Applies rendering settings to all images in all Datasets of a given Project.void
applySettingsToSet_async(AMD_IRenderingSettings_applySettingsToSet __cb, long from, java.lang.String toType, java.util.List<java.lang.Long> nodeIds)
Applies rendering settings to one or many containers.void
createNewRenderingDef_async(AMD_IRenderingSettings_createNewRenderingDef __cb, Pixels pixels)
Creates a new rendering definition object along with its sub-objects.void
getRenderingSettings_async(AMD_IRenderingSettings_getRenderingSettings __cb, long pixelsId)
Returns the default rendering settings for a given pixels for the current user.void
resetDefaults_async(AMD_IRenderingSettings_resetDefaults __cb, RenderingDef def, Pixels pixels)
Resets the given rendering settings to those that are specified by the rendering engine intelligent pretty good image (PG) logic for the pixels set linked to that set of rendering settings.void
resetDefaultsByOwnerInSet_async(AMD_IRenderingSettings_resetDefaultsByOwnerInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds)
Resets the rendering settings of a given group of containers based on the owner's (essentially a copy).void
resetDefaultsForPixels_async(AMD_IRenderingSettings_resetDefaultsForPixels __cb, long pixelsId)
Resets a Pixels' default rendering settings back to those that are specified by the rendering engine intelligent pretty good image (PG) logic.void
resetDefaultsInDataset_async(AMD_IRenderingSettings_resetDefaultsInDataset __cb, long datasetId)
Resets a dataset's rendering settings back to those that are specified by the rendering engine intelligent pretty good image (PG) logic.void
resetDefaultsInImage_async(AMD_IRenderingSettings_resetDefaultsInImage __cb, long imageId)
Resets an image's default rendering settings back to those that are specified by the rendering engine intelligent pretty good image (PG) logic.void
resetDefaultsInSet_async(AMD_IRenderingSettings_resetDefaultsInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds)
Resets a rendering settings back to one or many containers that are specified by the rendering engine intelligent pretty good image (PG) logic.void
resetDefaultsNoSave_async(AMD_IRenderingSettings_resetDefaultsNoSave __cb, RenderingDef def, Pixels pixels)
Resets the given rendering settings to those that are specified by the rendering engine intelligent pretty good image (PG) logic for the pixels set linked to that set of rendering settings.void
resetMinMaxInSet_async(AMD_IRenderingSettings_resetMinMaxInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds)
Resets a the channel windows for one or many containers back to their global minimum and global maximum for the channel.void
sanityCheckPixels_async(AMD_IRenderingSettings_sanityCheckPixels __cb, Pixels pFrom, Pixels pTo)
Checks if the specified sets of pixels are compatible.void
setOriginalSettingsForPixels_async(AMD_IRenderingSettings_setOriginalSettingsForPixels __cb, long pixelsId)
Resets an Pixels' default rendering settings back to channel global minimum and maximum.void
setOriginalSettingsInDataset_async(AMD_IRenderingSettings_setOriginalSettingsInDataset __cb, long datasetId)
Resets a dataset's rendering settings back to channel global minimum and maximum.void
setOriginalSettingsInImage_async(AMD_IRenderingSettings_setOriginalSettingsInImage __cb, long imageId)
Resets an image's default rendering settings back to channel global minimum and maximum.void
setOriginalSettingsInSet_async(AMD_IRenderingSettings_setOriginalSettingsInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds)
Resets a rendering settings back to channel global minimum and maximum for the specified containers.
-
-
-
Method Detail
-
sanityCheckPixels_async
void sanityCheckPixels_async(AMD_IRenderingSettings_sanityCheckPixels __cb, Pixels pFrom, Pixels pTo) throws ServerError
Checks if the specified sets of pixels are compatible. Returnstrue
if the pixels set is valid,false
otherwise.- Parameters:
__cb
- The callback object for the operation.pFrom
- The pixels set to copy the settings from.- Throws:
ServerError
-
getRenderingSettings_async
void getRenderingSettings_async(AMD_IRenderingSettings_getRenderingSettings __cb, long pixelsId) throws ServerError
Returns the default rendering settings for a given pixels for the current user.- Parameters:
__cb
- The callback object for the operation.pixelsId
- The Id of the Pixels- Throws:
ValidationException
- if the image qualified byimageId
is unlocatable.ServerError
-
createNewRenderingDef_async
void createNewRenderingDef_async(AMD_IRenderingSettings_createNewRenderingDef __cb, Pixels pixels) throws ServerError
Creates a new rendering definition object along with its sub-objects.- Parameters:
__cb
- The callback object for the operation.pixels
- The Pixels set to link to the rendering definition.- Throws:
ServerError
-
resetDefaults_async
void resetDefaults_async(AMD_IRenderingSettings_resetDefaults __cb, RenderingDef def, Pixels pixels) throws ServerError
Resets the given rendering settings to those that are specified by the rendering engine intelligent pretty good image (PG) logic for the pixels set linked to that set of rendering settings. NOTE: This method should only be used to reset a rendering definition that has been retrieved viagetRenderingSettings
as it relies on certain objects being loaded. The rendering settings are saved upon completion.- Parameters:
__cb
- The callback object for the operation.def
- A RenderingDef to reset. It is expected that def.pixels will be unloaded and that the actual linked Pixels set will be provided in thepixels
argument.pixels
- The Pixels set fordef
.- Throws:
ServerError
-
resetDefaultsNoSave_async
void resetDefaultsNoSave_async(AMD_IRenderingSettings_resetDefaultsNoSave __cb, RenderingDef def, Pixels pixels) throws ServerError
Resets the given rendering settings to those that are specified by the rendering engine intelligent pretty good image (PG) logic for the pixels set linked to that set of rendering settings. NOTE: This method should only be used to reset a rendering definition that has been retrieved viagetRenderingSettings(long)
as it relies on certain objects being loaded. The rendering settings are not saved.- Parameters:
__cb
- The callback object for the operation.def
- A RenderingDef to reset. It is expected that def.pixels will be unloaded and that the actual linked Pixels set will be provided in thepixels
argument.pixels
- The Pixels set fordef
.- Throws:
ServerError
-
resetDefaultsInImage_async
void resetDefaultsInImage_async(AMD_IRenderingSettings_resetDefaultsInImage __cb, long imageId) throws ServerError
Resets an image's default rendering settings back to those that are specified by the rendering engine intelligent pretty good image (PG) logic.- Parameters:
__cb
- The callback object for the operation.imageId
- The Id of the Image.- Throws:
ValidationException
- if the image qualified byimageId
is unlocatable.ServerError
-
resetDefaultsForPixels_async
void resetDefaultsForPixels_async(AMD_IRenderingSettings_resetDefaultsForPixels __cb, long pixelsId) throws ServerError
Resets a Pixels' default rendering settings back to those that are specified by the rendering engine intelligent pretty good image (PG) logic.- Parameters:
__cb
- The callback object for the operation.pixelsId
- The Id of the Pixels.- Throws:
ValidationException
- if the Pixels qualified bypixelsId
is unlocatable.ServerError
-
resetDefaultsInDataset_async
void resetDefaultsInDataset_async(AMD_IRenderingSettings_resetDefaultsInDataset __cb, long datasetId) throws ServerError
Resets a dataset's rendering settings back to those that are specified by the rendering engine intelligent pretty good image (PG) logic.- Parameters:
__cb
- The callback object for the operation.datasetId
- The Id of the Dataset.- Throws:
ValidationException
- if the image qualified bydatasetId
is not locatable.ServerError
-
resetDefaultsInSet_async
void resetDefaultsInSet_async(AMD_IRenderingSettings_resetDefaultsInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds) throws ServerError
Resets a rendering settings back to one or many containers that are specified by the rendering engine intelligent pretty good image (PG) logic. Supported container types are:- Parameters:
__cb
- The callback object for the operation.type
- The type of nodes to handle.- Throws:
ValidationException
- if an illegaltype
is used.ServerError
-
resetDefaultsByOwnerInSet_async
void resetDefaultsByOwnerInSet_async(AMD_IRenderingSettings_resetDefaultsByOwnerInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds) throws ServerError
Resets the rendering settings of a given group of containers based on the owner's (essentially a copy). Supported container types are:- Parameters:
__cb
- The callback object for the operation.type
- The type of nodes to handle.- Throws:
ValidationException
- if an illegaltype
is used.ServerError
-
resetMinMaxInSet_async
void resetMinMaxInSet_async(AMD_IRenderingSettings_resetMinMaxInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds) throws ServerError
Resets a the channel windows for one or many containers back to their global minimum and global maximum for the channel. Supported container types are:- Parameters:
__cb
- The callback object for the operation.type
- The type of nodes to handle.- Throws:
ValidationException
- if an illegaltype
is used.ServerError
-
applySettingsToSet_async
void applySettingsToSet_async(AMD_IRenderingSettings_applySettingsToSet __cb, long from, java.lang.String toType, java.util.List<java.lang.Long> nodeIds) throws ServerError
Applies rendering settings to one or many containers. If a container such as Dataset is to be copied to, all images within that Dataset will have the rendering settings applied. Supported container types are:- Parameters:
__cb
- The callback object for the operation.from
- The Id of the pixels set to copy the rendering settings from.toType
- The type of nodes to handle.- Throws:
ValidationException
- if an illegaltype
is used.ServerError
-
applySettingsToProject_async
void applySettingsToProject_async(AMD_IRenderingSettings_applySettingsToProject __cb, long from, long to) throws ServerError
Applies rendering settings to all images in all Datasets of a given Project.- Parameters:
__cb
- The callback object for the operation.from
- The Id of the pixels set to copy the rendering settings from.to
- The Id of the project container to apply settings to.- Throws:
ValidationException
- if the rendering settingsfrom
is not locatable or the projectto
is not locatable.ServerError
-
applySettingsToDataset_async
void applySettingsToDataset_async(AMD_IRenderingSettings_applySettingsToDataset __cb, long from, long to) throws ServerError
Applies rendering settings to all images in a given Dataset.- Parameters:
__cb
- The callback object for the operation.from
- The Id of the pixels set to copy the rendering settings from.to
- The Id of the dataset container to apply settings to.- Throws:
ValidationException
- if the rendering settingsfrom
is not locatable or the datasetto
is not locatable.ServerError
-
applySettingsToImages_async
void applySettingsToImages_async(AMD_IRenderingSettings_applySettingsToImages __cb, long from, java.util.List<java.lang.Long> to) throws ServerError
Applies rendering settings to a given Image.- Parameters:
__cb
- The callback object for the operation.from
- The Id of the pixels set to copy the rendering settings from.to
- The Id of the image container to apply settings to.- Throws:
ValidationException
- if the rendering settingsfrom
is not locatable or the imageto
is not locatable.ServerError
-
applySettingsToImage_async
void applySettingsToImage_async(AMD_IRenderingSettings_applySettingsToImage __cb, long from, long to) throws ServerError
Applies rendering settings to a given Image.- Parameters:
__cb
- The callback object for the operation.from
- The Id of the pixels set to copy the rendering settings from.to
- The Id of the image container to apply settings to.- Throws:
ValidationException
- if the rendering settingsfrom
is not locatable or the imageto
is not locatable.ServerError
-
applySettingsToPixels_async
void applySettingsToPixels_async(AMD_IRenderingSettings_applySettingsToPixels __cb, long from, long to) throws ServerError
Applies rendering settings to a given Pixels.- Parameters:
__cb
- The callback object for the operation.from
- The Id of the pixels set to copy the rendering settings from.to
- The Id of the pixels container to apply settings to.- Throws:
ValidationException
- if the rendering settingsfrom
is not locatable or the pixelsto
is not locatable.ServerError
-
setOriginalSettingsInImage_async
void setOriginalSettingsInImage_async(AMD_IRenderingSettings_setOriginalSettingsInImage __cb, long imageId) throws ServerError
Resets an image's default rendering settings back to channel global minimum and maximum.- Parameters:
__cb
- The callback object for the operation.imageId
- The Id of the Image.- Throws:
ValidationException
- if the image qualified byimageId
is not locatable.ServerError
-
setOriginalSettingsForPixels_async
void setOriginalSettingsForPixels_async(AMD_IRenderingSettings_setOriginalSettingsForPixels __cb, long pixelsId) throws ServerError
Resets an Pixels' default rendering settings back to channel global minimum and maximum.- Parameters:
__cb
- The callback object for the operation.pixelsId
- The Id of the Pixels set.- Throws:
ValidationException
- if the image qualified bypixelsId
is not locatable.ServerError
-
setOriginalSettingsInDataset_async
void setOriginalSettingsInDataset_async(AMD_IRenderingSettings_setOriginalSettingsInDataset __cb, long datasetId) throws ServerError
Resets a dataset's rendering settings back to channel global minimum and maximum.- Parameters:
__cb
- The callback object for the operation.datasetId
- The id of the dataset to handle.- Throws:
ValidationException
- if the image qualified bydatasetId
is not locatable.ServerError
-
setOriginalSettingsInSet_async
void setOriginalSettingsInSet_async(AMD_IRenderingSettings_setOriginalSettingsInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds) throws ServerError
Resets a rendering settings back to channel global minimum and maximum for the specified containers. Supported container types are:- Parameters:
__cb
- The callback object for the operation.type
- The type of nodes to handle.- Throws:
ValidationException
- if an illegaltype
is used.ServerError
-
-