skyview.vo
Class CatalogProcessor

java.lang.Object
  extended by skyview.vo.CatalogProcessor
All Implemented Interfaces:
java.io.Serializable, Component, SettingsUpdater, Processor

public class CatalogProcessor
extends java.lang.Object
implements Processor, SettingsUpdater

See Also:
Serialized Form

Constructor Summary
CatalogProcessor()
           
 
Method Summary
 ConeQuerier[] getCatalogs()
           
 java.lang.String getDescription()
          Get the description of this component.
static CatalogProcessor getLastProcessor()
           
 java.lang.String getName()
          Get the name of this component.
 double[][] getPixels()
           
 int[] getSymbols()
           
 void pixels(boolean doPrint)
          Transform the catalog positions into pixel positions.
 void postProcess(Image[] inputs, Image output, int[] source, Sampler samp, DepthSampler dsamp)
           
 void process(Image[] inputs, Image output, int[] source, Sampler samp, DepthSampler dsamp)
          Start up the processing.
 void updateHeader(Header header)
          Update the FITS header to indicate what processing was done.
 void updateSettings()
          Make sure that we have use this as a pre-processor if needed.
 void waitForThreads()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogProcessor

public CatalogProcessor()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Component
Get the name of this component.

Specified by:
getName in interface Component

getDescription

public java.lang.String getDescription()
Description copied from interface: Component
Get the description of this component.

Specified by:
getDescription in interface Component

process

public void process(Image[] inputs,
                    Image output,
                    int[] source,
                    Sampler samp,
                    DepthSampler dsamp)
Start up the processing.

Specified by:
process in interface Processor
Parameters:
inputs - The array of input survey images.
output - The output user image
source - An array giving the source image for each output pixel.
samp - The sampler object used in processing.
dsamp - The sampler in the energy dimension (often null).

getLastProcessor

public static CatalogProcessor getLastProcessor()

waitForThreads

public void waitForThreads()

getCatalogs

public ConeQuerier[] getCatalogs()

updateHeader

public void updateHeader(Header header)
Update the FITS header to indicate what processing was done.

Specified by:
updateHeader in interface Processor

updateSettings

public void updateSettings()
Make sure that we have use this as a pre-processor if needed.

Specified by:
updateSettings in interface SettingsUpdater

pixels

public void pixels(boolean doPrint)
Transform the catalog positions into pixel positions.


postProcess

public void postProcess(Image[] inputs,
                        Image output,
                        int[] source,
                        Sampler samp,
                        DepthSampler dsamp)

getPixels

public double[][] getPixels()

getSymbols

public int[] getSymbols()