|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
jwo.landserf.process.LSThread
jwo.landserf.process.SurfParamThread
public class SurfParamThread
Calculates a given surface parameter such as slope, aspect, curvature or feature type.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
Thread.State, Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
SurfParamThread(GISFrame gisFrame)
Prepares the class for calculation of surface parameters. |
|
SurfParamThread(GISFrame gisFrame,
SurfParam surfParam)
Prepares the class for calculation of a given surface parameter. |
Method Summary | |
---|---|
boolean |
doCommand(LSCommand command)
Calculates the surface parameter of the object provided by the given scripting parameters. |
void |
doProcessing()
Creates a raster containing the surface parameter values. |
LSCommand |
getCommand()
Reports the syntax required to allow surface parameters to be calculated via a scripting command. |
GISFrame |
getGISFrame()
Retrieves the GISFrame that can be used for storing multiple spatial objects. |
RasterMap |
getParamMap()
Retrieves the newly created raster map containing the selected surface parameter values. |
Object |
getReturnedObject()
Returns a raster map containing the surface parameters or summary defined via scripting command. |
Methods inherited from class jwo.landserf.process.LSThread |
---|
checkStoppedThread, interruptionRequested, resetTimer, run, setErrorMessage, setFinalMessage, setMessage |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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 |
---|
public SurfParamThread(GISFrame gisFrame)
gisFrame
- Frame holding spatial objects and in which to report results.public SurfParamThread(GISFrame gisFrame, SurfParam surfParam)
gisFrame
- GIS frame containing raster to process.surfParam
- Surface parameter to calculate.Method Detail |
---|
public LSCommand getCommand()
getCommand
in interface Scriptable
public boolean doCommand(LSCommand command)
doCommand
in interface Scriptable
command
- Command containing parameter values.
public Object getReturnedObject()
getReturnedObject
in interface Scriptable
public GISFrame getGISFrame()
getGISFrame
in interface Scriptable
public void doProcessing()
GISFrame
provided to the constructor as a secondary raster. This can be retrieved directly via
this class's method getParamMap(), or by calling gisFrame.getRaster2();
.
doProcessing
in class LSThread
GISFrame
public RasterMap getParamMap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |