jwo.landserf.process
Class CombineThread
java.lang.Object
java.lang.Thread
jwo.landserf.process.LSThread
jwo.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
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 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 |
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.
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