Package skyview.request
Class RGBWriter
- java.lang.Object
-
- skyview.process.Processor
-
- skyview.request.HTMLWriter
-
- skyview.request.RGBWriter
-
- All Implemented Interfaces:
java.io.Serializable,Component
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.StringgetDescription()A description for the compontent.java.lang.StringgetName()A name for the componentvoidprocess(Image[] inputs, Image output, int[] sources, Sampler samp, DepthSampler dpSamp)Process the image.protected voidupdateSettings(Image output, Sampler samp)Update the settings before creating the appropriate HTML-
Methods inherited from class skyview.request.HTMLWriter
printoutTemplate, setSettings, slurp, updateHeader, updatesOutput, writeFooter, writeHeader
-
-
-
-
Method Detail
-
process
public void process(Image[] inputs, Image output, int[] sources, Sampler samp, DepthSampler dpSamp)
Description copied from class:HTMLWriterProcess the image. This should happen late.- Overrides:
processin 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:HTMLWriterA name for the component- Specified by:
getNamein interfaceComponent- Overrides:
getNamein classHTMLWriter
-
getDescription
public java.lang.String getDescription()
Description copied from class:HTMLWriterA description for the compontent.- Specified by:
getDescriptionin interfaceComponent- Overrides:
getDescriptionin classHTMLWriter
-
updateSettings
protected void updateSettings(Image output, Sampler samp)
Update the settings before creating the appropriate HTML- Overrides:
updateSettingsin classHTMLWriter- Parameters:
output- The output imagesamp- The sampler used to create the output image.
-
-