jwo.landserf.process
Class CombineThread

java.lang.Object
  extended byjava.lang.Thread
      extended byjwo.landserf.process.LSThread
          extended byjwo.landserf.process.CombineThread
All Implemented Interfaces:
Runnable

public class CombineThread
extends LSThread

Combines two rasters to create a new raster.

Version:
2.0, 21st February, 2004.
Author:
Jo Wood

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CombineThread(GISFrame gisFrame, int combineType, int priority, boolean replaceNull)
          Combines the primary and secondary raster stored int the gisFrame.
 
Method Summary
 void doProcessing()
          Combines the rasters according to the supplied rules.
 
Methods inherited from class jwo.landserf.process.LSThread
resetTimer, run, setErrorMessage, setMessage
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CombineThread

public CombineThread(GISFrame gisFrame,
                     int combineType,
                     int priority,
                     boolean replaceNull)
Combines the primary and secondary raster stored int the gisFrame.

Parameters:
gisFrame - Frame holding the rasters to combine.
combineType - Type of comination (INTERSECTION or UNION).
priority - Indicates the priority attribute for intersection regions (PRIMARY, SECONDARY or AVERAGE).
replaceNull - Indicates whether null values will be replaced where possible.
Method Detail

doProcessing

public void doProcessing()
Combines the rasters according to the supplied rules.

Specified by:
doProcessing in class LSThread


Copyright Jo Wood, 1996-2004, last modified, 19th March, 2004