public interface _RenderingEngineOperationsNC extends _PyramidServiceOperationsNC
Modifier and Type | Method and Description |
---|---|
void |
addCodomainMap_async(AMD_RenderingEngine_addCodomainMap __cb,
CodomainMapContext mapCtx)
Deprecated.
addCodomainMap() is deprecated. use addCodomainMapToChannel instead.
|
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)
Returns
true 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 the
Pixels 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)
Returns
true if the channel is mapped,
false otherwise. |
void |
isPixelsTypeSigned_async(AMD_RenderingEngine_isPixelsTypeSigned __cb)
Returns
true 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. use removeCodomainMapFromChannel instead.
|
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 by
def according to
the current rendering settings. |
void |
renderAsPackedInt_async(AMD_RenderingEngine_renderAsPackedInt __cb,
PlaneDef def)
Renders the data selected by
def according to
the current rendering settings. |
void |
renderCompressed_async(AMD_RenderingEngine_renderCompressed __cb,
PlaneDef def)
Renders the data selected by
def 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 new
RenderingDef and loads the
object into the current RenderingEngine . |
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 if
true , 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 instead
|
void |
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.
|
getResolutionDescriptions_async, getResolutionLevel_async, getResolutionLevels_async, getTileSize_async, requiresPixelsPyramid_async, setResolutionLevel_async
activate_async, close_async, getCurrentEventContext_async, passivate_async
void render_async(AMD_RenderingEngine_render __cb, PlaneDef def) throws ServerError
def
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.__cb
- The callback object for the operation.def
- Selects a plane orthogonal to one of the
X, Y, or Z axes.ServerError
void renderAsPackedInt_async(AMD_RenderingEngine_renderAsPackedInt __cb, PlaneDef def) throws ServerError
def
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.__cb
- The callback object for the operation.def
- Selects a plane orthogonal to one of the
X, Y, or Z axes.ServerError
void renderProjectedAsPackedInt_async(AMD_RenderingEngine_renderProjectedAsPackedInt __cb, ProjectionType algorithm, int timepoint, int stepping, int start, int end) throws ServerError
__cb
- The callback object for the operation.algorithm
- IProjection.MAXIMUM_INTENSITY
,
IProjection.MEAN_INTENSITY
or
IProjection.SUM_INTENSITY
.stepping
- Stepping value to use while calculating the
projection.
For example, stepping=1
will
use every optical section from
start
to end
where stepping=2
will use every
other section from start
to
end
to perform the projection.start
- Optical section to start projecting from.ServerError
void renderCompressed_async(AMD_RenderingEngine_renderCompressed __cb, PlaneDef def) throws ServerError
def
according to
the current rendering settings and compresses the resulting
RGBA composite image.__cb
- The callback object for the operation.def
- Selects a plane orthogonal to one of the
X, Y or Z axes.ServerError
void renderProjectedCompressed_async(AMD_RenderingEngine_renderProjectedCompressed __cb, ProjectionType algorithm, int timepoint, int stepping, int start, int end) throws ServerError
__cb
- The callback object for the operation.algorithm
- IProjection.MAXIMUM_INTENSITY
,
IProjection.MEAN_INTENSITY
or
IProjection.SUM_INTENSITY
.stepping
- Stepping value to use while calculating the
projection.
For example, stepping=1
will
use every optical section from
start
to end
where stepping=2
will use every
other section from start
to
end
to perform the projection.start
- Optical section to start projecting from.ServerError
void getRenderingDefId_async(AMD_RenderingEngine_getRenderingDefId __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void lookupPixels_async(AMD_RenderingEngine_lookupPixels __cb, long pixelsId) throws ServerError
__cb
- The callback object for the operation.pixelsId
- The pixels set ID.ServerError
void lookupRenderingDef_async(AMD_RenderingEngine_lookupRenderingDef __cb, long pixelsId) throws ServerError
__cb
- The callback object for the operation.pixelsId
- The pixels set ID.ServerError
void loadRenderingDef_async(AMD_RenderingEngine_loadRenderingDef __cb, long renderingDefId) throws ServerError
omero.api.IRenderingSettings.sanityCheckPixels
.__cb
- The callback object for the operation.renderingDefId
- The rendering definition ID.ServerError
void setOverlays_async(AMD_RenderingEngine_setOverlays __cb, RLong tablesId, RLong imageId, java.util.Map<java.lang.Long,java.lang.Integer> rowColorMap) throws ServerError
__cb
- The callback object for the operation.rowColorMap
- Binary mask to color map.ServerError
void load_async(AMD_RenderingEngine_load __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void setModel_async(AMD_RenderingEngine_setModel __cb, RenderingModel model) throws ServerError
__cb
- The callback object for the operation.model
- Identifies the color space model.ServerError
void getModel_async(AMD_RenderingEngine_getModel __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void getDefaultZ_async(AMD_RenderingEngine_getDefaultZ __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void getDefaultT_async(AMD_RenderingEngine_getDefaultT __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void setDefaultZ_async(AMD_RenderingEngine_setDefaultZ __cb, int z) throws ServerError
__cb
- The callback object for the operation.z
- The value to set.ServerError
void setDefaultT_async(AMD_RenderingEngine_setDefaultT __cb, int t) throws ServerError
__cb
- The callback object for the operation.t
- The value to set.ServerError
void getPixels_async(AMD_RenderingEngine_getPixels __cb) throws ServerError
Pixels
set the Rendering
engine is for.__cb
- The callback object for the operation.ServerError
void getAvailableModels_async(AMD_RenderingEngine_getAvailableModels __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void getAvailableFamilies_async(AMD_RenderingEngine_getAvailableFamilies __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void setQuantumStrategy_async(AMD_RenderingEngine_setQuantumStrategy __cb, int bitResolution) throws ServerError
__cb
- The callback object for the operation.bitResolution
- The bit resolution defining associated
to the strategy.ServerError
void setCodomainInterval_async(AMD_RenderingEngine_setCodomainInterval __cb, int start, int end) throws ServerError
__cb
- The callback object for the operation.start
- The lower bound of the interval.ServerError
void getQuantumDef_async(AMD_RenderingEngine_getQuantumDef __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void setQuantizationMap_async(AMD_RenderingEngine_setQuantizationMap __cb, int w, Family family, double coefficient, boolean noiseReduction) throws ServerError
__cb
- The callback object for the operation.w
- The channel index.coefficient
- The coefficient identifying a curve in
the family.noiseReduction
- Pass true
to turn the
noise reduction algorithm on,
false
otherwise.ServerError
void getChannelFamily_async(AMD_RenderingEngine_getChannelFamily __cb, int w) throws ServerError
__cb
- The callback object for the operation.w
- The channel index.ServerError
void getChannelNoiseReduction_async(AMD_RenderingEngine_getChannelNoiseReduction __cb, int w) throws ServerError
true
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.__cb
- The callback object for the operation.w
- The channel index.ServerError
void getChannelStats_async(AMD_RenderingEngine_getChannelStats __cb, int w) throws ServerError
ServerError
void getChannelCurveCoefficient_async(AMD_RenderingEngine_getChannelCurveCoefficient __cb, int w) throws ServerError
__cb
- The callback object for the operation.w
- The channel index.ServerError
void setChannelWindow_async(AMD_RenderingEngine_setChannelWindow __cb, int w, double start, double end) throws ServerError
__cb
- The callback object for the operation.w
- The channel index.end
- The upper bound of the interval.ServerError
void getChannelWindowStart_async(AMD_RenderingEngine_getChannelWindowStart __cb, int w) throws ServerError
__cb
- The callback object for the operation.w
- The channel index.ServerError
void getChannelWindowEnd_async(AMD_RenderingEngine_getChannelWindowEnd __cb, int w) throws ServerError
__cb
- The callback object for the operation.w
- The channel index.ServerError
void setRGBA_async(AMD_RenderingEngine_setRGBA __cb, int w, int red, int green, int blue, int alpha) throws ServerError
__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.ServerError
void getRGBA_async(AMD_RenderingEngine_getRGBA __cb, int w) throws ServerError
__cb
- The callback object for the operation.w
- The channel index.ServerError
void setActive_async(AMD_RenderingEngine_setActive __cb, int w, boolean active) throws ServerError
true
, unmaps the
channel otherwise.__cb
- The callback object for the operation.w
- The channel index.ServerError
void isActive_async(AMD_RenderingEngine_isActive __cb, int w) throws ServerError
true
if the channel is mapped,
false
otherwise.__cb
- The callback object for the operation.w
- The channel index.ServerError
void setChannelLookupTable_async(AMD_RenderingEngine_setChannelLookupTable __cb, int w, java.lang.String lookup) throws ServerError
ServerError
void getChannelLookupTable_async(AMD_RenderingEngine_getChannelLookupTable __cb, int w) throws ServerError
ServerError
void addCodomainMap_async(AMD_RenderingEngine_addCodomainMap __cb, CodomainMapContext mapCtx) throws ServerError
__cb
- The callback object for the operation.mapCtx
- The context to add.ServerError
void updateCodomainMap_async(AMD_RenderingEngine_updateCodomainMap __cb, CodomainMapContext mapCtx) throws ServerError
__cb
- The callback object for the operation.mapCtx
- The context to update.ServerError
void removeCodomainMap_async(AMD_RenderingEngine_removeCodomainMap __cb, CodomainMapContext mapCtx) throws ServerError
__cb
- The callback object for the operation.mapCtx
- The context to remove.ServerError
void addCodomainMapToChannel_async(AMD_RenderingEngine_addCodomainMapToChannel __cb, CodomainMapContext mapCtx, int w) throws ServerError
__cb
- The callback object for the operation.mapCtx
- The context to add.ServerError
void removeCodomainMapFromChannel_async(AMD_RenderingEngine_removeCodomainMapFromChannel __cb, CodomainMapContext mapCtx, int w) throws ServerError
__cb
- The callback object for the operation.mapCtx
- The context to remove.ServerError
void updateSettings_async(AMD_RenderingEngine_updateSettings __cb, RenderingDef settings) throws ServerError
__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 are
null
and indexes in the RenderingDef.WAVERENDERING
array greater than the currently looked up Pixels.SIZEC
will be
skipped.ServerError
void saveCurrentSettings_async(AMD_RenderingEngine_saveCurrentSettings __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void saveAsNewSettings_async(AMD_RenderingEngine_saveAsNewSettings __cb) throws ServerError
RenderingDef
and loads the
object into the current RenderingEngine
.__cb
- The callback object for the operation.ServerError
void resetDefaultSettings_async(AMD_RenderingEngine_resetDefaultSettings __cb, boolean save) throws ServerError
__cb
- The callback object for the operation.save
- Pass true
to save the settings,
false
otherwise.ServerError
void setCompressionLevel_async(AMD_RenderingEngine_setCompressionLevel __cb, float percentage) throws ServerError
__cb
- The callback object for the operation.percentage
- A percentage compression level from 1.00 (100%) to 0.01 (1%).ServerError
void getCompressionLevel_async(AMD_RenderingEngine_getCompressionLevel __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void isPixelsTypeSigned_async(AMD_RenderingEngine_isPixelsTypeSigned __cb) throws ServerError
true
if the pixels type is signed,
false
otherwise.__cb
- The callback object for the operation.ServerError
void getPixelsTypeUpperBound_async(AMD_RenderingEngine_getPixelsTypeUpperBound __cb, int w) throws ServerError
__cb
- The callback object for the operation.w
- The channel index.ServerError
void getPixelsTypeLowerBound_async(AMD_RenderingEngine_getPixelsTypeLowerBound __cb, int w) throws ServerError
__cb
- The callback object for the operation.w
- The channel index.ServerError
void getCodomainMapContext_async(AMD_RenderingEngine_getCodomainMapContext __cb, int w) throws ServerError
__cb
- The callback object for the operation.w
- The channel index.ServerError