Interface RendererInterfaceIntensity
-
- All Known Implementing Classes:
RayCastIntensity
,RayCastIntensityDRR
,RayCastIntensityDRRBresenham
,RayCastIntensityMIP
,ShearWarpIntensity
,ShearWarpIntensityDRR
,ShearWarpIntensityMIP
public interface RendererInterfaceIntensity
An interface to be used to intensity-based Renderer implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasInputData()
Return indication as to whether or not the input image data has been specified yet.boolean
hasInputMap()
Return indication as to whether or not a LUT to use for mapping input intensity values to colors has been specified.void
setInput(byte[] acImageB, byte[] acImageA)
Specify the input volume to use for rendering.void
setInputMap(RendererMapIntensity kMap)
Specify the lookup table to use for mapping input intensity values to colors.
-
-
-
Method Detail
-
hasInputData
boolean hasInputData()
Return indication as to whether or not the input image data has been specified yet.- Returns:
- boolean True if the input image data has been specified.
-
hasInputMap
boolean hasInputMap()
Return indication as to whether or not a LUT to use for mapping input intensity values to colors has been specified.- Returns:
- boolean True if such a LUT has been defined.
-
setInput
void setInput(byte[] acImageB, byte[] acImageA)
Specify the input volume to use for rendering. The image data stored in order of slice indices, each slice stored in row-major order. That is, slice z=0 is stored first, slice z=1 is stored next, and so on. In slice z=0, the y=0 row is stored first, the y=1 row is stored next, and so on.- Parameters:
acImageB
- byte[] Array of byte intensity values for volume.acImageA
- byte[] Array of byte alpha values for volume.
-
setInputMap
void setInputMap(RendererMapIntensity kMap)
Specify the lookup table to use for mapping input intensity values to colors.- Parameters:
kMap
- Look up table for mapping the intensity values to colors.
-
-