Package omero.api
Interface _RenderingEngineOperationsNC
-
- All Superinterfaces:
_PyramidServiceOperationsNC
,_ServiceInterfaceOperationsNC
,_StatefulServiceInterfaceOperationsNC
- All Known Subinterfaces:
RenderingEngine
- All Known Implementing Classes:
_RenderingEngineDisp
,_RenderingEngineTie
public interface _RenderingEngineOperationsNC extends _PyramidServiceOperationsNC
Defines a service to render a given pixels set. A pixels set is a 5D array that stores the pixels data of an image, that is the pixels intensity values. Every instance of this service is paired up to a pixels set. Use this service to transform planes within the pixels set onto an RGB image. The RenderingEngine allows to fine-tune the settings that define the transformation context, that is, a specification of how raw pixels data is to be transformed into an image that can be displayed on screen. Those settings are referred to as rendering settings or display options. After tuning those settings it is possible to save them to the metadata repository so that they can be used the next time the pixels set is accessed for rendering; for example by another RenderingEngine instance. Note that the display options are specific to the given pixels set and are experimenter scoped i.e. two different users can specify different display options for the same pixels set. (A RenderingEngine instance takes this into account automatically as it is always bound to a given experimenter.) This service is thread-safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
addCodomainMap_async(AMD_RenderingEngine_addCodomainMap __cb, CodomainMapContext mapCtx)
Deprecated.addCodomainMap() is deprecated.void
addCodomainMapToChannel_async(AMD_RenderingEngine_addCodomainMapToChannel __cb, CodomainMapContext mapCtx, int w)
Adds the context to the mapping chain.void
getAvailableFamilies_async(AMD_RenderingEngine_getAvailableFamilies __cb)
Returns the list of mapping families supported by the Rendering engine.void
getAvailableModels_async(AMD_RenderingEngine_getAvailableModels __cb)
Returns the list of color models supported by the Rendering engine.void
getChannelCurveCoefficient_async(AMD_RenderingEngine_getChannelCurveCoefficient __cb, int w)
Returns the coefficient identifying a map in the family.void
getChannelFamily_async(AMD_RenderingEngine_getChannelFamily __cb, int w)
Returns the family associated to the specified channel.void
getChannelLookupTable_async(AMD_RenderingEngine_getChannelLookupTable __cb, int w)
void
getChannelNoiseReduction_async(AMD_RenderingEngine_getChannelNoiseReduction __cb, int w)
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)
void
getChannelWindowEnd_async(AMD_RenderingEngine_getChannelWindowEnd __cb, int w)
Returns the upper bound of the pixels intensity interval.void
getChannelWindowStart_async(AMD_RenderingEngine_getChannelWindowStart __cb, int w)
Returns the lower bound of the pixels intensity interval.void
getCodomainMapContext_async(AMD_RenderingEngine_getCodomainMapContext __cb, int w)
Returns the list of codomain contexts for the specified channel.void
getCompressionLevel_async(AMD_RenderingEngine_getCompressionLevel __cb)
Returns the current compression level for the service.void
getDefaultT_async(AMD_RenderingEngine_getDefaultT __cb)
Returns the default timepoint index.void
getDefaultZ_async(AMD_RenderingEngine_getDefaultZ __cb)
Returns the index of the default focal section.void
getModel_async(AMD_RenderingEngine_getModel __cb)
Returns the model that dictates how transformed raw data has to be mapped onto a color space.void
getPixels_async(AMD_RenderingEngine_getPixels __cb)
Returns thePixels
set the Rendering engine is for.void
getPixelsTypeLowerBound_async(AMD_RenderingEngine_getPixelsTypeLowerBound __cb, int w)
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)
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)
Returns the quantization object.void
getRenderingDefId_async(AMD_RenderingEngine_getRenderingDefId __cb)
void
getRGBA_async(AMD_RenderingEngine_getRGBA __cb, int w)
Returns a 4D-array representing the color associated to the specified channel.void
isActive_async(AMD_RenderingEngine_isActive __cb, int w)
Returnstrue
if the channel is mapped,false
otherwise.void
isPixelsTypeSigned_async(AMD_RenderingEngine_isPixelsTypeSigned __cb)
Returnstrue
if the pixels type is signed,false
otherwise.void
load_async(AMD_RenderingEngine_load __cb)
Creates an instance of the rendering engine.void
loadRenderingDef_async(AMD_RenderingEngine_loadRenderingDef __cb, long renderingDefId)
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)
Loads the Pixels set this Rendering Engine is for.void
lookupRenderingDef_async(AMD_RenderingEngine_lookupRenderingDef __cb, long pixelsId)
Loads the rendering settings associated to the specified pixels set.void
removeCodomainMap_async(AMD_RenderingEngine_removeCodomainMap __cb, CodomainMapContext mapCtx)
Deprecated.removeCodomainMap() is deprecated.void
removeCodomainMapFromChannel_async(AMD_RenderingEngine_removeCodomainMapFromChannel __cb, CodomainMapContext mapCtx, int w)
Removes the specified context from the chain.void
render_async(AMD_RenderingEngine_render __cb, PlaneDef def)
Renders the data selected bydef
according to the current rendering settings.void
renderAsPackedInt_async(AMD_RenderingEngine_renderAsPackedInt __cb, PlaneDef def)
Renders the data selected bydef
according to the current rendering settings.void
renderCompressed_async(AMD_RenderingEngine_renderCompressed __cb, PlaneDef def)
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)
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)
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)
Resets the default settings i.e.void
saveAsNewSettings_async(AMD_RenderingEngine_saveAsNewSettings __cb)
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)
Saves the current rendering settings in the database.void
setActive_async(AMD_RenderingEngine_setActive __cb, int w, boolean active)
Maps the specified channel iftrue
, unmaps the channel otherwise.void
setChannelLookupTable_async(AMD_RenderingEngine_setChannelLookupTable __cb, int w, java.lang.String lookup)
void
setChannelWindow_async(AMD_RenderingEngine_setChannelWindow __cb, int w, double start, double end)
Returns the pixels intensity interval.void
setCodomainInterval_async(AMD_RenderingEngine_setCodomainInterval __cb, int start, int end)
Sets the sub-interval of the device space i.e.void
setCompressionLevel_async(AMD_RenderingEngine_setCompressionLevel __cb, float percentage)
Sets the current compression level for the service.void
setDefaultT_async(AMD_RenderingEngine_setDefaultT __cb, int t)
Sets the default timepoint index.void
setDefaultZ_async(AMD_RenderingEngine_setDefaultZ __cb, int z)
Sets the index of the default focal section.void
setModel_async(AMD_RenderingEngine_setModel __cb, RenderingModel model)
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 tablesId, RLong imageId, java.util.Map<java.lang.Long,java.lang.Integer> rowColorMap)
Deprecated.use omero::romio::PlaneDefWithMasks insteadvoid
setQuantizationMap_async(AMD_RenderingEngine_setQuantizationMap __cb, int w, Family family, double coefficient, boolean noiseReduction)
Sets the quantization map, one per channel.void
setQuantumStrategy_async(AMD_RenderingEngine_setQuantumStrategy __cb, int bitResolution)
Sets the quantization strategy.void
setRGBA_async(AMD_RenderingEngine_setRGBA __cb, int w, int red, int green, int blue, int alpha)
Sets the four components composing the color associated to the specified channel.void
updateCodomainMap_async(AMD_RenderingEngine_updateCodomainMap __cb, CodomainMapContext mapCtx)
Deprecated.removeCodomainMap() is deprecated.void
updateSettings_async(AMD_RenderingEngine_updateSettings __cb, RenderingDef settings)
Updates the current rendering settings based on a provided rendering definition and associated sub-objects.-
Methods inherited from interface omero.api._PyramidServiceOperationsNC
getResolutionDescriptions_async, getResolutionLevel_async, getResolutionLevels_async, getTileSize_async, requiresPixelsPyramid_async, setResolutionLevel_async
-
Methods inherited from interface omero.api._StatefulServiceInterfaceOperationsNC
activate_async, close_async, getCurrentEventContext_async, passivate_async
-
-
-
-
Method Detail
-
render_async
void render_async(AMD_RenderingEngine_render __cb, PlaneDef def) throws ServerError
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.- Parameters:
__cb
- The callback object for the operation.def
- Selects a plane orthogonal to one of the X, Y, or Z axes.- Throws:
ValidationException
- Ifdef
isnull
.ServerError
-
renderAsPackedInt_async
void renderAsPackedInt_async(AMD_RenderingEngine_renderAsPackedInt __cb, PlaneDef def) throws ServerError
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.- Parameters:
__cb
- The callback object for the operation.def
- Selects a plane orthogonal to one of the X, Y, or Z axes.- Throws:
ValidationException
- Ifdef
isnull
.ServerError
-
renderProjectedAsPackedInt_async
void renderProjectedAsPackedInt_async(AMD_RenderingEngine_renderProjectedAsPackedInt __cb, ProjectionType algorithm, int timepoint, int stepping, int start, int end) throws ServerError
Performs a projection through selected optical sections of a particular timepoint with the currently active channels and renders the data for display.- 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.- Throws:
ValidationException
- Where:algorithm
is unknowntimepoint
is out of rangestart
is out of rangeend
is out of rangestart
is greater thanend
ServerError
-
renderCompressed_async
void renderCompressed_async(AMD_RenderingEngine_renderCompressed __cb, PlaneDef def) throws ServerError
Renders the data selected bydef
according to the current rendering settings and compresses the resulting RGBA composite image.- Parameters:
__cb
- The callback object for the operation.def
- Selects a plane orthogonal to one of the X, Y or Z axes.- Throws:
ValidationException
- Ifdef
isnull
.ServerError
-
renderProjectedCompressed_async
void renderProjectedCompressed_async(AMD_RenderingEngine_renderProjectedCompressed __cb, ProjectionType algorithm, int timepoint, int stepping, int start, int end) throws ServerError
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.- 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.- Throws:
ValidationException
- Where:algorithm
is unknowntimepoint
is out of rangestart
is out of rangeend
is out of rangestart
is greater thanend
ServerError
-
getRenderingDefId_async
void getRenderingDefId_async(AMD_RenderingEngine_getRenderingDefId __cb) throws ServerError
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
lookupPixels_async
void lookupPixels_async(AMD_RenderingEngine_lookupPixels __cb, long pixelsId) throws ServerError
Loads the Pixels set this Rendering Engine is for.- Parameters:
__cb
- The callback object for the operation.pixelsId
- The pixels set ID.- Throws:
ServerError
-
lookupRenderingDef_async
void lookupRenderingDef_async(AMD_RenderingEngine_lookupRenderingDef __cb, long pixelsId) throws ServerError
Loads the rendering settings associated to the specified pixels set.- Parameters:
__cb
- The callback object for the operation.pixelsId
- The pixels set ID.- Throws:
ServerError
-
loadRenderingDef_async
void loadRenderingDef_async(AMD_RenderingEngine_loadRenderingDef __cb, long renderingDefId) throws ServerError
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
.- Parameters:
__cb
- The callback object for the operation.renderingDefId
- The rendering definition ID.- Throws:
ValidationException
- If a RenderingDef does not exist with the IDrenderingDefId
or if the RenderingDef is incompatible due to differing pixels sets.ServerError
-
setOverlays_async
void setOverlays_async(AMD_RenderingEngine_setOverlays __cb, RLong tablesId, RLong imageId, java.util.Map<java.lang.Long,java.lang.Integer> rowColorMap) throws ServerError
Deprecated.use omero::romio::PlaneDefWithMasks insteadInforms the rendering engine that it should render a set of overlays on each rendered frame. These are expected to be binary masks.- Parameters:
__cb
- The callback object for the operation.rowColorMap
- Binary mask to color map.- Throws:
ServerError
-
load_async
void load_async(AMD_RenderingEngine_load __cb) throws ServerError
Creates an instance of the rendering engine.- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
setModel_async
void setModel_async(AMD_RenderingEngine_setModel __cb, RenderingModel model) throws ServerError
Specifies the model that dictates how transformed raw data has to be mapped onto a color space.- Parameters:
__cb
- The callback object for the operation.model
- Identifies the color space model.- Throws:
ServerError
-
getModel_async
void getModel_async(AMD_RenderingEngine_getModel __cb) throws ServerError
Returns the model that dictates how transformed raw data has to be mapped onto a color space.- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getDefaultZ_async
void getDefaultZ_async(AMD_RenderingEngine_getDefaultZ __cb) throws ServerError
Returns the index of the default focal section.- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getDefaultT_async
void getDefaultT_async(AMD_RenderingEngine_getDefaultT __cb) throws ServerError
Returns the default timepoint index.- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
setDefaultZ_async
void setDefaultZ_async(AMD_RenderingEngine_setDefaultZ __cb, int z) throws ServerError
Sets the index of the default focal section. This index is used to define a default plane.- Parameters:
__cb
- The callback object for the operation.z
- The value to set.- Throws:
ServerError
-
setDefaultT_async
void setDefaultT_async(AMD_RenderingEngine_setDefaultT __cb, int t) throws ServerError
Sets the default timepoint index. This index is used to define a default plane.- Parameters:
__cb
- The callback object for the operation.t
- The value to set.- Throws:
ServerError
-
getPixels_async
void getPixels_async(AMD_RenderingEngine_getPixels __cb) throws ServerError
Returns thePixels
set the Rendering engine is for.- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getAvailableModels_async
void getAvailableModels_async(AMD_RenderingEngine_getAvailableModels __cb) throws ServerError
Returns the list of color models supported by the Rendering engine.- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getAvailableFamilies_async
void getAvailableFamilies_async(AMD_RenderingEngine_getAvailableFamilies __cb) throws ServerError
Returns the list of mapping families supported by the Rendering engine.- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
setQuantumStrategy_async
void setQuantumStrategy_async(AMD_RenderingEngine_setQuantumStrategy __cb, int bitResolution) throws ServerError
Sets the quantization strategy. The strategy is common to all channels.- Parameters:
__cb
- The callback object for the operation.bitResolution
- The bit resolution defining associated to the strategy.- Throws:
ServerError
-
setCodomainInterval_async
void setCodomainInterval_async(AMD_RenderingEngine_setCodomainInterval __cb, int start, int end) throws ServerError
Sets the sub-interval of the device space i.e. a discrete sub-interval of \[0, 255].- Parameters:
__cb
- The callback object for the operation.start
- The lower bound of the interval.- Throws:
ServerError
-
getQuantumDef_async
void getQuantumDef_async(AMD_RenderingEngine_getQuantumDef __cb) throws ServerError
Returns the quantization object.- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
setQuantizationMap_async
void setQuantizationMap_async(AMD_RenderingEngine_setQuantizationMap __cb, int w, Family family, double coefficient, boolean noiseReduction) throws ServerError
Sets the quantization map, one per channel.- 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.- Throws:
ServerError
-
getChannelFamily_async
void getChannelFamily_async(AMD_RenderingEngine_getChannelFamily __cb, int w) throws ServerError
Returns the family associated to the specified channel.- Parameters:
__cb
- The callback object for the operation.w
- The channel index.- Throws:
ServerError
-
getChannelNoiseReduction_async
void getChannelNoiseReduction_async(AMD_RenderingEngine_getChannelNoiseReduction __cb, int w) throws ServerError
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.- Parameters:
__cb
- The callback object for the operation.w
- The channel index.- Throws:
ServerError
-
getChannelStats_async
void getChannelStats_async(AMD_RenderingEngine_getChannelStats __cb, int w) throws ServerError
- Throws:
ServerError
-
getChannelCurveCoefficient_async
void getChannelCurveCoefficient_async(AMD_RenderingEngine_getChannelCurveCoefficient __cb, int w) throws ServerError
Returns the coefficient identifying a map in the family. Each channel has a map associated to it.- Parameters:
__cb
- The callback object for the operation.w
- The channel index.- Throws:
ServerError
-
setChannelWindow_async
void setChannelWindow_async(AMD_RenderingEngine_setChannelWindow __cb, int w, double start, double end) throws ServerError
Returns the pixels intensity interval. Each channel has a pixels intensity interval associated to it.- Parameters:
__cb
- The callback object for the operation.w
- The channel index.end
- The upper bound of the interval.- Throws:
ServerError
-
getChannelWindowStart_async
void getChannelWindowStart_async(AMD_RenderingEngine_getChannelWindowStart __cb, int w) throws ServerError
Returns the lower bound of the pixels intensity interval. Each channel has a pixels intensity interval associated to it.- Parameters:
__cb
- The callback object for the operation.w
- The channel index.- Throws:
ServerError
-
getChannelWindowEnd_async
void getChannelWindowEnd_async(AMD_RenderingEngine_getChannelWindowEnd __cb, int w) throws ServerError
Returns the upper bound of the pixels intensity interval. Each channel has a pixels intensity interval associated to it.- Parameters:
__cb
- The callback object for the operation.w
- The channel index.- Throws:
ServerError
-
setRGBA_async
void setRGBA_async(AMD_RenderingEngine_setRGBA __cb, int w, int red, int green, int blue, int alpha) throws ServerError
Sets the four components composing the color associated to the specified channel.- 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.- Throws:
ServerError
-
getRGBA_async
void getRGBA_async(AMD_RenderingEngine_getRGBA __cb, int w) throws ServerError
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).- Parameters:
__cb
- The callback object for the operation.w
- The channel index.- Throws:
ServerError
-
setActive_async
void setActive_async(AMD_RenderingEngine_setActive __cb, int w, boolean active) throws ServerError
Maps the specified channel iftrue
, unmaps the channel otherwise.- Parameters:
__cb
- The callback object for the operation.w
- The channel index.- Throws:
ServerError
-
isActive_async
void isActive_async(AMD_RenderingEngine_isActive __cb, int w) throws ServerError
Returnstrue
if the channel is mapped,false
otherwise.- Parameters:
__cb
- The callback object for the operation.w
- The channel index.- Throws:
ServerError
-
setChannelLookupTable_async
void setChannelLookupTable_async(AMD_RenderingEngine_setChannelLookupTable __cb, int w, java.lang.String lookup) throws ServerError
- Throws:
ServerError
-
getChannelLookupTable_async
void getChannelLookupTable_async(AMD_RenderingEngine_getChannelLookupTable __cb, int w) throws ServerError
- Throws:
ServerError
-
addCodomainMap_async
void addCodomainMap_async(AMD_RenderingEngine_addCodomainMap __cb, CodomainMapContext mapCtx) throws ServerError
Deprecated.addCodomainMap() is deprecated. use addCodomainMapToChannel instead.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.- Parameters:
__cb
- The callback object for the operation.mapCtx
- The context to add.- Throws:
ServerError
-
updateCodomainMap_async
void updateCodomainMap_async(AMD_RenderingEngine_updateCodomainMap __cb, CodomainMapContext mapCtx) throws ServerError
Deprecated.removeCodomainMap() is deprecated.Updates the specified context. The codomain chain already contains the specified context. Each time a new context is updated, the second LUT is rebuilt.- Parameters:
__cb
- The callback object for the operation.mapCtx
- The context to update.- Throws:
ServerError
-
removeCodomainMap_async
void removeCodomainMap_async(AMD_RenderingEngine_removeCodomainMap __cb, CodomainMapContext mapCtx) throws ServerError
Deprecated.removeCodomainMap() is deprecated. use removeCodomainMapFromChannel instead.Removes the specified context from the chain. Each time a new context is removed, the second LUT is rebuilt.- Parameters:
__cb
- The callback object for the operation.mapCtx
- The context to remove.- Throws:
ServerError
-
addCodomainMapToChannel_async
void addCodomainMapToChannel_async(AMD_RenderingEngine_addCodomainMapToChannel __cb, CodomainMapContext mapCtx, int w) throws ServerError
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.- Parameters:
__cb
- The callback object for the operation.mapCtx
- The context to add.- Throws:
ServerError
-
removeCodomainMapFromChannel_async
void removeCodomainMapFromChannel_async(AMD_RenderingEngine_removeCodomainMapFromChannel __cb, CodomainMapContext mapCtx, int w) throws ServerError
Removes the specified context from the chain. Each time a new context is removed, the second LUT is rebuilt.- Parameters:
__cb
- The callback object for the operation.mapCtx
- The context to remove.- Throws:
ServerError
-
updateSettings_async
void updateSettings_async(AMD_RenderingEngine_updateSettings __cb, RenderingDef settings) throws ServerError
Updates the current rendering settings based on a provided rendering definition and associated sub-objects.- 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.- Throws:
ServerError
-
saveCurrentSettings_async
void saveCurrentSettings_async(AMD_RenderingEngine_saveCurrentSettings __cb) throws ServerError
Saves the current rendering settings in the database.- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
saveAsNewSettings_async
void saveAsNewSettings_async(AMD_RenderingEngine_saveAsNewSettings __cb) throws ServerError
Saves the current rendering settings in the database as a newRenderingDef
and loads the object into the currentRenderingEngine
.- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
resetDefaultSettings_async
void resetDefaultSettings_async(AMD_RenderingEngine_resetDefaultSettings __cb, boolean save) throws ServerError
Resets the default settings i.e. the default values internal to the Rendering engine. The settings will be saved.- Parameters:
__cb
- The callback object for the operation.save
- Passtrue
to save the settings,false
otherwise.- Throws:
ServerError
-
setCompressionLevel_async
void setCompressionLevel_async(AMD_RenderingEngine_setCompressionLevel __cb, float percentage) throws ServerError
Sets the current compression level for the service. (The default is 85%)- Parameters:
__cb
- The callback object for the operation.percentage
- A percentage compression level from 1.00 (100%) to 0.01 (1%).- Throws:
ValidationException
- if thepercentage
is out of range.ServerError
-
getCompressionLevel_async
void getCompressionLevel_async(AMD_RenderingEngine_getCompressionLevel __cb) throws ServerError
Returns the current compression level for the service.- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
isPixelsTypeSigned_async
void isPixelsTypeSigned_async(AMD_RenderingEngine_isPixelsTypeSigned __cb) throws ServerError
Returnstrue
if the pixels type is signed,false
otherwise.- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getPixelsTypeUpperBound_async
void getPixelsTypeUpperBound_async(AMD_RenderingEngine_getPixelsTypeUpperBound __cb, int w) throws ServerError
Returns the minimum value for that channels depending on the pixels type and the original range (globalmin, globalmax)- Parameters:
__cb
- The callback object for the operation.w
- The channel index.- Throws:
ServerError
-
getPixelsTypeLowerBound_async
void getPixelsTypeLowerBound_async(AMD_RenderingEngine_getPixelsTypeLowerBound __cb, int w) throws ServerError
Returns the maximum value for that channels depending on the pixels type and the original range (globalmin, globalmax)- Parameters:
__cb
- The callback object for the operation.w
- The channel index.- Throws:
ServerError
-
getCodomainMapContext_async
void getCodomainMapContext_async(AMD_RenderingEngine_getCodomainMapContext __cb, int w) throws ServerError
Returns the list of codomain contexts for the specified channel.- Parameters:
__cb
- The callback object for the operation.w
- The channel index.- Throws:
ServerError
-
-