|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread jwo.landserf.process.LSThread jwo.landserf.process.SurfNetworkThread
public class SurfNetworkThread
Calculates a vector surface network from a raster elevation model and surface feature raster.
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 | |
---|---|
SurfNetworkThread(GISFrame gisFrame)
Initialises the surface network processing. |
Method Summary | |
---|---|
boolean |
doCommand(LSCommand command)
Creates the surface network. |
void |
doProcessing()
Processes the raster DEM and surface feature layers extracting the surface network. |
LSCommand |
getCommand()
Reports the syntax required to allow a metric surface network to be created via a scripting command. |
RasterMap |
getFetureNetworkRaster()
Retrieves the newly created raster map representing thinned surface network. |
GISFrame |
getGISFrame()
Retrieves the GISFrame that can be used for storing multiple spatial objects. |
Object |
getReturnedObject()
Returns a vector map representing the surface network. |
VectorMap |
getSurfaceNetwork()
Retrieves a newly created surface feature network. |
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 SurfNetworkThread(GISFrame gisFrame)
gisFrame
- GIS frame containing rasters to process.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 and primary vector respectively. These
can be retrieved directly via this class's method getFeatureNetworkRaster() and
getFeatureNetworkVector() methods, or by calling gisFrame.getRaster2();
and gisFrame.getVectorMap1()
.
doProcessing
in class LSThread
GISFrame
public RasterMap getFetureNetworkRaster()
public VectorMap getSurfaceNetwork()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |