Package skyview.request
Class RGBWriter
- java.lang.Object
-
- skyview.request.HTMLWriter
-
- skyview.request.RGBWriter
-
public class RGBWriter extends HTMLWriter
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RGBWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
A description for the compontent.java.lang.String
getName()
A name for the componentvoid
process(Image[] inputs, Image output, int[] sources, Sampler samp, DepthSampler dpSamp)
Process the image.protected void
updateSettings(Image output, Sampler samp)
Update the settings before creating the appropiate HTML-
Methods inherited from class skyview.request.HTMLWriter
printoutTemplate, setSettings, slurp, updateHeader, writeFooter, writeHeader
-
-
-
-
Method Detail
-
process
public void process(Image[] inputs, Image output, int[] sources, Sampler samp, DepthSampler dpSamp)
Description copied from class:HTMLWriter
Process the image. This should happen late.- Specified by:
process
in interfaceProcessor
- Overrides:
process
in classHTMLWriter
- Parameters:
inputs
- The input images.output
- The output imagesources
- Usually a map giving the input image used for each output pixelsamp
- The sampler used to create the outputdpSamp
- For 3-d images the sampler in the energy axis.
-
getName
public java.lang.String getName()
Description copied from class:HTMLWriter
A name for the component- Specified by:
getName
in interfaceComponent
- Overrides:
getName
in classHTMLWriter
-
getDescription
public java.lang.String getDescription()
Description copied from class:HTMLWriter
A description for the compontent.- Specified by:
getDescription
in interfaceComponent
- Overrides:
getDescription
in classHTMLWriter
-
updateSettings
protected void updateSettings(Image output, Sampler samp)
Update the settings before creating the appropiate HTML- Overrides:
updateSettings
in classHTMLWriter
- Parameters:
output
- The output imagesamp
- The sampler used to create the output image.
-
-