Package ome.services.blitz.impl
Class RenderingEngineI
- java.lang.Object
-
- ome.services.blitz.impl.AbstractAmdServant
-
- ome.services.blitz.impl.AbstractCloseableAmdServant
-
- ome.services.blitz.impl.AbstractPyramidServant
-
- ome.services.blitz.impl.RenderingEngineI
-
- All Implemented Interfaces:
ServiceFactoryAware
,_PyramidServiceOperations
,_RenderingEngineOperations
,_ServiceInterfaceOperations
,_StatefulServiceInterfaceOperations
,CloseableServant
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class RenderingEngineI extends AbstractPyramidServant implements _RenderingEngineOperations, ServiceFactoryAware
Implementation of the RenderingEngine service.- Since:
- 3.0-Beta4
- See Also:
RenderingEngine
-
-
Field Summary
-
Fields inherited from class ome.services.blitz.impl.AbstractPyramidServant
RESOLUTION_DESCRIPTIONS
-
-
Constructor Summary
Constructors Constructor Description RenderingEngineI(omeis.providers.re.RenderingEngine service, BlitzExecutor be)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCodomainMap_async(AMD_RenderingEngine_addCodomainMap __cb, CodomainMapContext mapCtx, Ice.Current __current)
Adds the context to the mapping chain.void
addCodomainMapToChannel_async(AMD_RenderingEngine_addCodomainMapToChannel __cb, CodomainMapContext mapCtx, int w, Ice.Current __current)
Adds the context to the mapping chain.void
getAvailableFamilies_async(AMD_RenderingEngine_getAvailableFamilies __cb, Ice.Current __current)
Returns the list of mapping families supported by the Rendering engine.void
getAvailableModels_async(AMD_RenderingEngine_getAvailableModels __cb, Ice.Current __current)
Returns the list of color models supported by the Rendering engine.void
getChannelCurveCoefficient_async(AMD_RenderingEngine_getChannelCurveCoefficient __cb, int w, Ice.Current __current)
Returns the coefficient identifying a map in the family.void
getChannelFamily_async(AMD_RenderingEngine_getChannelFamily __cb, int w, Ice.Current __current)
Returns the family associated to the specified channel.void
getChannelLookupTable_async(AMD_RenderingEngine_getChannelLookupTable __cb, int w, Ice.Current __current)
void
getChannelNoiseReduction_async(AMD_RenderingEngine_getChannelNoiseReduction __cb, int w, Ice.Current __current)
Returnstrue
if the noise reduction algorithm used to map the pixels intensity values is turned on,false
if the algorithm is turned off.void
getChannelStats_async(AMD_RenderingEngine_getChannelStats __cb, int w, Ice.Current __current)
void
getChannelWindowEnd_async(AMD_RenderingEngine_getChannelWindowEnd __cb, int w, Ice.Current __current)
Returns the upper bound of the pixels intensity interval.void
getChannelWindowStart_async(AMD_RenderingEngine_getChannelWindowStart __cb, int w, Ice.Current __current)
Returns the lower bound of the pixels intensity interval.void
getCodomainMapContext_async(AMD_RenderingEngine_getCodomainMapContext __cb, int w, Ice.Current __current)
Returns the list of codomain contexts for the specified channel.void
getCompressionLevel_async(AMD_RenderingEngine_getCompressionLevel __cb, Ice.Current __current)
Returns the current compression level for the service.void
getDefaultT_async(AMD_RenderingEngine_getDefaultT __cb, Ice.Current __current)
Returns the default timepoint index.void
getDefaultZ_async(AMD_RenderingEngine_getDefaultZ __cb, Ice.Current __current)
Returns the index of the default focal section.void
getModel_async(AMD_RenderingEngine_getModel __cb, Ice.Current __current)
Returns the model that dictates how transformed raw data has to be mapped onto a color space.void
getPixels_async(AMD_RenderingEngine_getPixels __cb, Ice.Current __current)
Returns thePixels
set the Rendering engine is for.void
getPixelsTypeLowerBound_async(AMD_RenderingEngine_getPixelsTypeLowerBound __cb, int w, Ice.Current __current)
Returns the maximum value for that channels depending on the pixels type and the original range (globalmin, globalmax)void
getPixelsTypeUpperBound_async(AMD_RenderingEngine_getPixelsTypeUpperBound __cb, int w, Ice.Current __current)
Returns the minimum value for that channels depending on the pixels type and the original range (globalmin, globalmax)void
getQuantumDef_async(AMD_RenderingEngine_getQuantumDef __cb, Ice.Current __current)
Returns the quantization object.void
getRenderingDefId_async(AMD_RenderingEngine_getRenderingDefId __cb, Ice.Current __current)
void
getRGBA_async(AMD_RenderingEngine_getRGBA __cb, int w, Ice.Current __current)
Returns a 4D-array representing the color associated to the specified channel.void
isActive_async(AMD_RenderingEngine_isActive __cb, int w, Ice.Current __current)
Returnstrue
if the channel is mapped,false
otherwise.void
isPixelsTypeSigned_async(AMD_RenderingEngine_isPixelsTypeSigned __cb, Ice.Current __current)
Returnstrue
if the pixels type is signed,false
otherwise.void
load_async(AMD_RenderingEngine_load __cb, Ice.Current __current)
Creates an instance of the rendering engine.void
loadRenderingDef_async(AMD_RenderingEngine_loadRenderingDef __cb, long renderingDefId, Ice.Current __current)
Loads a specific set of rendering settings that does not necessarily have to be linked to the given Pixels set.void
lookupPixels_async(AMD_RenderingEngine_lookupPixels __cb, long pixelsId, Ice.Current __current)
Loads the Pixels set this Rendering Engine is for.void
lookupRenderingDef_async(AMD_RenderingEngine_lookupRenderingDef __cb, long pixelsId, Ice.Current __current)
Loads the rendering settings associated to the specified pixels set.void
removeCodomainMap_async(AMD_RenderingEngine_removeCodomainMap __cb, CodomainMapContext mapCtx, Ice.Current __current)
Removes the specified context from the chain.void
removeCodomainMapFromChannel_async(AMD_RenderingEngine_removeCodomainMapFromChannel __cb, CodomainMapContext mapCtx, int w, Ice.Current __current)
Removes the specified context from the chain.void
render_async(AMD_RenderingEngine_render __cb, PlaneDef def, Ice.Current __current)
Renders the data selected bydef
according to the current rendering settings.void
renderAsPackedInt_async(AMD_RenderingEngine_renderAsPackedInt __cb, PlaneDef def, Ice.Current __current)
Renders the data selected bydef
according to the current rendering settings.void
renderCompressed_async(AMD_RenderingEngine_renderCompressed __cb, PlaneDef def, Ice.Current __current)
Renders the data selected bydef
according to the current rendering settings and compresses the resulting RGBA composite image.void
renderProjectedAsPackedInt_async(AMD_RenderingEngine_renderProjectedAsPackedInt __cb, ProjectionType algorithm, int timepoint, int stepping, int start, int end, Ice.Current __current)
Performs a projection through selected optical sections of a particular timepoint with the currently active channels and renders the data for display.void
renderProjectedCompressed_async(AMD_RenderingEngine_renderProjectedCompressed __cb, ProjectionType algorithm, int timepoint, int stepping, int start, int end, Ice.Current __current)
Performs a projection through selected optical sections of a particular timepoint with the currently active channels, renders the data for display and compresses the resulting RGBA composite image.void
resetDefaultSettings_async(AMD_RenderingEngine_resetDefaultSettings __cb, boolean save, Ice.Current __current)
Resets the default settings i.e.void
saveAsNewSettings_async(AMD_RenderingEngine_saveAsNewSettings __cb, Ice.Current __current)
Saves the current rendering settings in the database as a newRenderingDef
and loads the object into the currentRenderingEngine
.void
saveCurrentSettings_async(AMD_RenderingEngine_saveCurrentSettings __cb, Ice.Current __current)
Saves the current rendering settings in the database.void
setActive_async(AMD_RenderingEngine_setActive __cb, int w, boolean active, Ice.Current __current)
Maps the specified channel iftrue
, unmaps the channel otherwise.void
setChannelLookupTable_async(AMD_RenderingEngine_setChannelLookupTable __cb, int w, java.lang.String lookup, Ice.Current __current)
void
setChannelWindow_async(AMD_RenderingEngine_setChannelWindow __cb, int w, double start, double end, Ice.Current __current)
Returns the pixels intensity interval.void
setCodomainInterval_async(AMD_RenderingEngine_setCodomainInterval __cb, int start, int end, Ice.Current __current)
Sets the sub-interval of the device space i.e.void
setCompressionLevel_async(AMD_RenderingEngine_setCompressionLevel __cb, float percentage, Ice.Current __current)
Sets the current compression level for the service.void
setDefaultT_async(AMD_RenderingEngine_setDefaultT __cb, int t, Ice.Current __current)
Sets the default timepoint index.void
setDefaultZ_async(AMD_RenderingEngine_setDefaultZ __cb, int z, Ice.Current __current)
Sets the index of the default focal section.void
setModel_async(AMD_RenderingEngine_setModel __cb, RenderingModel model, Ice.Current __current)
Specifies the model that dictates how transformed raw data has to be mapped onto a color space.void
setOverlays_async(AMD_RenderingEngine_setOverlays __cb, RLong tableId, RLong imageId, java.util.Map<java.lang.Long,java.lang.Integer> rowColorMap, Ice.Current __current)
Informs the rendering engine that it should render a set of overlays on each rendered frame.void
setQuantizationMap_async(AMD_RenderingEngine_setQuantizationMap __cb, int w, Family fam, double coefficient, boolean noiseReduction, Ice.Current __current)
Sets the quantization map, one per channel.void
setQuantumStrategy_async(AMD_RenderingEngine_setQuantumStrategy __cb, int bitResolution, Ice.Current __current)
Sets the quantization strategy.void
setRGBA_async(AMD_RenderingEngine_setRGBA __cb, int w, int red, int green, int blue, int alpha, Ice.Current __current)
Sets the four components composing the color associated to the specified channel.void
setServiceFactory(ServiceFactoryI sf)
void
updateCodomainMap_async(AMD_RenderingEngine_updateCodomainMap __cb, CodomainMapContext mapCtx, Ice.Current __current)
Updates the specified context.void
updateSettings_async(AMD_RenderingEngine_updateSettings __cb, RenderingDef settings, Ice.Current __current)
Updates the current rendering settings based on a provided rendering definition and associated sub-objects.-
Methods inherited from class ome.services.blitz.impl.AbstractPyramidServant
getResolutionDescriptions_async, getResolutionLevel_async, getResolutionLevels_async, getTileSize_async, postClose, preClose, requiresPixelsPyramid_async, setResolutionLevel_async
-
Methods inherited from class ome.services.blitz.impl.AbstractCloseableAmdServant
close, close_async
-
Methods inherited from class ome.services.blitz.impl.AbstractAmdServant
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface omero.api._PyramidServiceOperations
getResolutionDescriptions_async, getResolutionLevel_async, getResolutionLevels_async, getTileSize_async, requiresPixelsPyramid_async, setResolutionLevel_async
-
Methods inherited from interface omero.api._StatefulServiceInterfaceOperations
activate_async, close_async, getCurrentEventContext_async, passivate_async
-
-
-
-
Constructor Detail
-
RenderingEngineI
public RenderingEngineI(omeis.providers.re.RenderingEngine service, BlitzExecutor be)
-
-
Method Detail
-
setServiceFactory
public void setServiceFactory(ServiceFactoryI sf) throws ServerError
- Specified by:
setServiceFactory
in interfaceServiceFactoryAware
- Throws:
ServerError
-
addCodomainMap_async
public void addCodomainMap_async(AMD_RenderingEngine_addCodomainMap __cb, CodomainMapContext mapCtx, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Adds the context to the mapping chain. Only one context of the same type can be added to the chain. The codomain transformations are functions from the device space to device space. Each time a new context is added, the second LUT is rebuilt.- Specified by:
addCodomainMap_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.mapCtx
- The context to add.__current
- The Current object for the invocation.- Throws:
ServerError
-
addCodomainMapToChannel_async
public void addCodomainMapToChannel_async(AMD_RenderingEngine_addCodomainMapToChannel __cb, CodomainMapContext mapCtx, int w, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Adds the context to the mapping chain. Only one context of the same type can be added to the chain. The codomain transformations are functions from the device space to device space. Each time a new context is added, the second LUT is rebuilt.- Specified by:
addCodomainMapToChannel_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.mapCtx
- The context to add.__current
- The Current object for the invocation.- Throws:
ServerError
-
getAvailableFamilies_async
public void getAvailableFamilies_async(AMD_RenderingEngine_getAvailableFamilies __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the list of mapping families supported by the Rendering engine.- Specified by:
getAvailableFamilies_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getAvailableModels_async
public void getAvailableModels_async(AMD_RenderingEngine_getAvailableModels __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the list of color models supported by the Rendering engine.- Specified by:
getAvailableModels_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getChannelCurveCoefficient_async
public void getChannelCurveCoefficient_async(AMD_RenderingEngine_getChannelCurveCoefficient __cb, int w, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the coefficient identifying a map in the family. Each channel has a map associated to it.- Specified by:
getChannelCurveCoefficient_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.__current
- The Current object for the invocation.- Throws:
ServerError
-
getChannelFamily_async
public void getChannelFamily_async(AMD_RenderingEngine_getChannelFamily __cb, int w, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the family associated to the specified channel.- Specified by:
getChannelFamily_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.__current
- The Current object for the invocation.- Throws:
ServerError
-
getChannelNoiseReduction_async
public void getChannelNoiseReduction_async(AMD_RenderingEngine_getChannelNoiseReduction __cb, int w, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returnstrue
if the noise reduction algorithm used to map the pixels intensity values is turned on,false
if the algorithm is turned off. Each channel has an algorithm associated to it.- Specified by:
getChannelNoiseReduction_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.__current
- The Current object for the invocation.- Throws:
ServerError
-
getChannelStats_async
public void getChannelStats_async(AMD_RenderingEngine_getChannelStats __cb, int w, Ice.Current __current) throws ServerError
- Specified by:
getChannelStats_async
in interface_RenderingEngineOperations
- Throws:
ServerError
-
getChannelWindowEnd_async
public void getChannelWindowEnd_async(AMD_RenderingEngine_getChannelWindowEnd __cb, int w, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the upper bound of the pixels intensity interval. Each channel has a pixels intensity interval associated to it.- Specified by:
getChannelWindowEnd_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.__current
- The Current object for the invocation.- Throws:
ServerError
-
getChannelWindowStart_async
public void getChannelWindowStart_async(AMD_RenderingEngine_getChannelWindowStart __cb, int w, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the lower bound of the pixels intensity interval. Each channel has a pixels intensity interval associated to it.- Specified by:
getChannelWindowStart_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.__current
- The Current object for the invocation.- Throws:
ServerError
-
getCompressionLevel_async
public void getCompressionLevel_async(AMD_RenderingEngine_getCompressionLevel __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the current compression level for the service.- Specified by:
getCompressionLevel_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getDefaultT_async
public void getDefaultT_async(AMD_RenderingEngine_getDefaultT __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the default timepoint index.- Specified by:
getDefaultT_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getDefaultZ_async
public void getDefaultZ_async(AMD_RenderingEngine_getDefaultZ __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the index of the default focal section.- Specified by:
getDefaultZ_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getModel_async
public void getModel_async(AMD_RenderingEngine_getModel __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the model that dictates how transformed raw data has to be mapped onto a color space.- Specified by:
getModel_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getPixelsTypeLowerBound_async
public void getPixelsTypeLowerBound_async(AMD_RenderingEngine_getPixelsTypeLowerBound __cb, int w, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the maximum value for that channels depending on the pixels type and the original range (globalmin, globalmax)- Specified by:
getPixelsTypeLowerBound_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.__current
- The Current object for the invocation.- Throws:
ServerError
-
getPixelsTypeUpperBound_async
public void getPixelsTypeUpperBound_async(AMD_RenderingEngine_getPixelsTypeUpperBound __cb, int w, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the minimum value for that channels depending on the pixels type and the original range (globalmin, globalmax)- Specified by:
getPixelsTypeUpperBound_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.__current
- The Current object for the invocation.- Throws:
ServerError
-
getPixels_async
public void getPixels_async(AMD_RenderingEngine_getPixels __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns thePixels
set the Rendering engine is for.- Specified by:
getPixels_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getQuantumDef_async
public void getQuantumDef_async(AMD_RenderingEngine_getQuantumDef __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the quantization object.- Specified by:
getQuantumDef_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getRGBA_async
public void getRGBA_async(AMD_RenderingEngine_getRGBA __cb, int w, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns a 4D-array representing the color associated to the specified channel. The first element corresponds to the red component (value between 0 and 255). The second corresponds to the green component (value between 0 and 255). The third corresponds to the blue component (value between 0 and 255). The fourth corresponds to the alpha component (value between 0 and 255).- Specified by:
getRGBA_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.__current
- The Current object for the invocation.- Throws:
ServerError
-
isActive_async
public void isActive_async(AMD_RenderingEngine_isActive __cb, int w, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returnstrue
if the channel is mapped,false
otherwise.- Specified by:
isActive_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.__current
- The Current object for the invocation.- Throws:
ServerError
-
isPixelsTypeSigned_async
public void isPixelsTypeSigned_async(AMD_RenderingEngine_isPixelsTypeSigned __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returnstrue
if the pixels type is signed,false
otherwise.- Specified by:
isPixelsTypeSigned_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
loadRenderingDef_async
public void loadRenderingDef_async(AMD_RenderingEngine_loadRenderingDef __cb, long renderingDefId, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Loads a specific set of rendering settings that does not necessarily have to be linked to the given Pixels set. However, the rendering settings must be linked to a compatible Pixels set as defined byomero.api.IRenderingSettings.sanityCheckPixels
.- Specified by:
loadRenderingDef_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.renderingDefId
- The rendering definition ID.__current
- The Current object for the invocation.- Throws:
ServerError
-
setOverlays_async
public void setOverlays_async(AMD_RenderingEngine_setOverlays __cb, RLong tableId, RLong imageId, java.util.Map<java.lang.Long,java.lang.Integer> rowColorMap, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Informs the rendering engine that it should render a set of overlays on each rendered frame. These are expected to be binary masks.- Specified by:
setOverlays_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.rowColorMap
- Binary mask to color map.__current
- The Current object for the invocation.- Throws:
ServerError
-
load_async
public void load_async(AMD_RenderingEngine_load __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Creates an instance of the rendering engine.- Specified by:
load_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
lookupPixels_async
public void lookupPixels_async(AMD_RenderingEngine_lookupPixels __cb, long pixelsId, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Loads the Pixels set this Rendering Engine is for.- Specified by:
lookupPixels_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.pixelsId
- The pixels set ID.__current
- The Current object for the invocation.- Throws:
ServerError
-
lookupRenderingDef_async
public void lookupRenderingDef_async(AMD_RenderingEngine_lookupRenderingDef __cb, long pixelsId, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Loads the rendering settings associated to the specified pixels set.- Specified by:
lookupRenderingDef_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.pixelsId
- The pixels set ID.__current
- The Current object for the invocation.- Throws:
ServerError
-
removeCodomainMap_async
public void removeCodomainMap_async(AMD_RenderingEngine_removeCodomainMap __cb, CodomainMapContext mapCtx, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Removes the specified context from the chain. Each time a new context is removed, the second LUT is rebuilt.- Specified by:
removeCodomainMap_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.mapCtx
- The context to remove.__current
- The Current object for the invocation.- Throws:
ServerError
-
removeCodomainMapFromChannel_async
public void removeCodomainMapFromChannel_async(AMD_RenderingEngine_removeCodomainMapFromChannel __cb, CodomainMapContext mapCtx, int w, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Removes the specified context from the chain. Each time a new context is removed, the second LUT is rebuilt.- Specified by:
removeCodomainMapFromChannel_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.mapCtx
- The context to remove.__current
- The Current object for the invocation.- Throws:
ServerError
-
renderAsPackedInt_async
public void renderAsPackedInt_async(AMD_RenderingEngine_renderAsPackedInt __cb, PlaneDef def, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Renders the data selected bydef
according to the current rendering settings. The passed argument selects a plane orthogonal to one of the X, Y, or Z axes. How many wavelengths are rendered and what color model is used depends on the current rendering settings.- Specified by:
renderAsPackedInt_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.def
- Selects a plane orthogonal to one of the X, Y, or Z axes.__current
- The Current object for the invocation.- Throws:
ServerError
-
renderCompressed_async
public void renderCompressed_async(AMD_RenderingEngine_renderCompressed __cb, PlaneDef def, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Renders the data selected bydef
according to the current rendering settings and compresses the resulting RGBA composite image.- Specified by:
renderCompressed_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.def
- Selects a plane orthogonal to one of the X, Y or Z axes.__current
- The Current object for the invocation.- Throws:
ServerError
-
renderProjectedAsPackedInt_async
public void renderProjectedAsPackedInt_async(AMD_RenderingEngine_renderProjectedAsPackedInt __cb, ProjectionType algorithm, int timepoint, int stepping, int start, int end, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Performs a projection through selected optical sections of a particular timepoint with the currently active channels and renders the data for display.- Specified by:
renderProjectedAsPackedInt_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.algorithm
-IProjection.MAXIMUM_INTENSITY
,IProjection.MEAN_INTENSITY
orIProjection.SUM_INTENSITY
.stepping
- Stepping value to use while calculating the projection. For example,stepping=1
will use every optical section fromstart
toend
wherestepping=2
will use every other section fromstart
toend
to perform the projection.start
- Optical section to start projecting from.__current
- The Current object for the invocation.- Throws:
ServerError
-
renderProjectedCompressed_async
public void renderProjectedCompressed_async(AMD_RenderingEngine_renderProjectedCompressed __cb, ProjectionType algorithm, int timepoint, int stepping, int start, int end, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Performs a projection through selected optical sections of a particular timepoint with the currently active channels, renders the data for display and compresses the resulting RGBA composite image.- Specified by:
renderProjectedCompressed_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.algorithm
-IProjection.MAXIMUM_INTENSITY
,IProjection.MEAN_INTENSITY
orIProjection.SUM_INTENSITY
.stepping
- Stepping value to use while calculating the projection. For example,stepping=1
will use every optical section fromstart
toend
wherestepping=2
will use every other section fromstart
toend
to perform the projection.start
- Optical section to start projecting from.__current
- The Current object for the invocation.- Throws:
ServerError
-
render_async
public void render_async(AMD_RenderingEngine_render __cb, PlaneDef def, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Renders the data selected bydef
according to the current rendering settings. The passed argument selects a plane orthogonal to one of the X, Y, or Z axes. How many wavelengths are rendered and what color model is used depends on the current rendering settings.- Specified by:
render_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.def
- Selects a plane orthogonal to one of the X, Y, or Z axes.__current
- The Current object for the invocation.- Throws:
ServerError
-
resetDefaultSettings_async
public void resetDefaultSettings_async(AMD_RenderingEngine_resetDefaultSettings __cb, boolean save, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Resets the default settings i.e. the default values internal to the Rendering engine. The settings will be saved.- Specified by:
resetDefaultSettings_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.save
- Passtrue
to save the settings,false
otherwise.__current
- The Current object for the invocation.- Throws:
ServerError
-
saveAsNewSettings_async
public void saveAsNewSettings_async(AMD_RenderingEngine_saveAsNewSettings __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Saves the current rendering settings in the database as a newRenderingDef
and loads the object into the currentRenderingEngine
.- Specified by:
saveAsNewSettings_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
saveCurrentSettings_async
public void saveCurrentSettings_async(AMD_RenderingEngine_saveCurrentSettings __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Saves the current rendering settings in the database.- Specified by:
saveCurrentSettings_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
setActive_async
public void setActive_async(AMD_RenderingEngine_setActive __cb, int w, boolean active, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Maps the specified channel iftrue
, unmaps the channel otherwise.- Specified by:
setActive_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.__current
- The Current object for the invocation.- Throws:
ServerError
-
setChannelWindow_async
public void setChannelWindow_async(AMD_RenderingEngine_setChannelWindow __cb, int w, double start, double end, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the pixels intensity interval. Each channel has a pixels intensity interval associated to it.- Specified by:
setChannelWindow_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.end
- The upper bound of the interval.__current
- The Current object for the invocation.- Throws:
ServerError
-
setCodomainInterval_async
public void setCodomainInterval_async(AMD_RenderingEngine_setCodomainInterval __cb, int start, int end, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Sets the sub-interval of the device space i.e. a discrete sub-interval of \[0, 255].- Specified by:
setCodomainInterval_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.start
- The lower bound of the interval.__current
- The Current object for the invocation.- Throws:
ServerError
-
setCompressionLevel_async
public void setCompressionLevel_async(AMD_RenderingEngine_setCompressionLevel __cb, float percentage, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Sets the current compression level for the service. (The default is 85%)- Specified by:
setCompressionLevel_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.percentage
- A percentage compression level from 1.00 (100%) to 0.01 (1%).__current
- The Current object for the invocation.- Throws:
ServerError
-
setDefaultT_async
public void setDefaultT_async(AMD_RenderingEngine_setDefaultT __cb, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Sets the default timepoint index. This index is used to define a default plane.- Specified by:
setDefaultT_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.t
- The value to set.__current
- The Current object for the invocation.- Throws:
ServerError
-
setDefaultZ_async
public void setDefaultZ_async(AMD_RenderingEngine_setDefaultZ __cb, int z, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Sets the index of the default focal section. This index is used to define a default plane.- Specified by:
setDefaultZ_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.z
- The value to set.__current
- The Current object for the invocation.- Throws:
ServerError
-
setModel_async
public void setModel_async(AMD_RenderingEngine_setModel __cb, RenderingModel model, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Specifies the model that dictates how transformed raw data has to be mapped onto a color space.- Specified by:
setModel_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.model
- Identifies the color space model.__current
- The Current object for the invocation.- Throws:
ServerError
-
setQuantizationMap_async
public void setQuantizationMap_async(AMD_RenderingEngine_setQuantizationMap __cb, int w, Family fam, double coefficient, boolean noiseReduction, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Sets the quantization map, one per channel.- Specified by:
setQuantizationMap_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.coefficient
- The coefficient identifying a curve in the family.noiseReduction
- Passtrue
to turn the noise reduction algorithm on,false
otherwise.__current
- The Current object for the invocation.- Throws:
ServerError
-
setQuantumStrategy_async
public void setQuantumStrategy_async(AMD_RenderingEngine_setQuantumStrategy __cb, int bitResolution, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Sets the quantization strategy. The strategy is common to all channels.- Specified by:
setQuantumStrategy_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.bitResolution
- The bit resolution defining associated to the strategy.__current
- The Current object for the invocation.- Throws:
ServerError
-
setRGBA_async
public void setRGBA_async(AMD_RenderingEngine_setRGBA __cb, int w, int red, int green, int blue, int alpha, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Sets the four components composing the color associated to the specified channel.- Specified by:
setRGBA_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.green
- The green component. A value between 0 and 255.alpha
- The alpha component. A value between 0 and 255.__current
- The Current object for the invocation.- Throws:
ServerError
-
updateSettings_async
public void updateSettings_async(AMD_RenderingEngine_updateSettings __cb, RenderingDef settings, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Updates the current rendering settings based on a provided rendering definition and associated sub-objects.- Specified by:
updateSettings_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.settings
- Rendering definition to copy from. Each sub-object will be processed as though the specific method was called with related attributes provided as arguments. The following methods are called underneath:RenderingEngine.setModel
RenderingEngine.setDefaultZ
RenderingEngine.setDefaultT
RenderingEngine.setQuantumStrategy
RenderingEngine.setCodomainInterval
RenderingEngine.setActive
RenderingEngine.setChannelWindow
RenderingEngine.setQuantizationMap
RenderingEngine.setRGBA
RenderingEngine.setChannelLookupTable
null
it will be skipped in its entirety. The underlying Renderer is not able to handle partial field updates. Furthermore,ChannelBinding
references that arenull
and indexes in theRenderingDef.WAVERENDERING
array greater than the currently looked upPixels.SIZEC
will be skipped.__current
- The Current object for the invocation.- Throws:
ServerError
-
updateCodomainMap_async
public void updateCodomainMap_async(AMD_RenderingEngine_updateCodomainMap __cb, CodomainMapContext mapCtx, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Updates the specified context. The codomain chain already contains the specified context. Each time a new context is updated, the second LUT is rebuilt.- Specified by:
updateCodomainMap_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.mapCtx
- The context to update.__current
- The Current object for the invocation.- Throws:
ServerError
-
getRenderingDefId_async
public void getRenderingDefId_async(AMD_RenderingEngine_getRenderingDefId __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
- Specified by:
getRenderingDefId_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getChannelLookupTable_async
public void getChannelLookupTable_async(AMD_RenderingEngine_getChannelLookupTable __cb, int w, Ice.Current __current) throws ServerError
- Specified by:
getChannelLookupTable_async
in interface_RenderingEngineOperations
- Throws:
ServerError
-
setChannelLookupTable_async
public void setChannelLookupTable_async(AMD_RenderingEngine_setChannelLookupTable __cb, int w, java.lang.String lookup, Ice.Current __current) throws ServerError
- Specified by:
setChannelLookupTable_async
in interface_RenderingEngineOperations
- Throws:
ServerError
-
getCodomainMapContext_async
public void getCodomainMapContext_async(AMD_RenderingEngine_getCodomainMapContext __cb, int w, Ice.Current __current) throws ServerError
Description copied from interface:_RenderingEngineOperations
Returns the list of codomain contexts for the specified channel.- Specified by:
getCodomainMapContext_async
in interface_RenderingEngineOperations
- Parameters:
__cb
- The callback object for the operation.w
- The channel index.__current
- The Current object for the invocation.- Throws:
ServerError
-
-