|
|||||||||
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.ContourThread
public class ContourThread
Class for fitting contour lines through a gridded surface.
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 | |
---|---|
ContourThread(GISFrame gisFrame)
Creates an object ready for contouring but does not perform the transformation. |
|
ContourThread(GISFrame gisFrame,
float lowest,
float interval,
int gridWidth)
Creates a contoured vector map of the given surface with the given minimum contour and vertical interval. |
Method Summary | |
---|---|
boolean |
doCommand(LSCommand command)
Creates a vector map containing the contoured surface. |
void |
doProcessing()
Creates a new contour vector map by threading contour segments through the primary raster stored in the GISFrame provided to the constructor. |
LSCommand |
getCommand()
Reports the syntax required to allow contours to be created via a scripting command. |
VectorMap |
getContourMap()
Retrieves the newly created contour map. |
GISFrame |
getGISFrame()
Retrieves the GISFrame that can be used for storing multiple spatial objects. |
Object |
getReturnedObject()
Returns a vector map holding the contoured surface. |
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 ContourThread(GISFrame gisFrame)
gisFrame
- Frame in which to report results.public ContourThread(GISFrame gisFrame, float lowest, float interval, int gridWidth)
gisFrame
- GISFrame holding raster to contour.lowest
- Lowest contour level.interval
- Vertical interval between contours.gridWidth
- Sampling frequency of raster.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.
The newly created vector map containing the contours is added to the GISFrame
provided to the constructor as a primary vector map. This can be retrieved by calling
gisFrame.getVectorMap1();
or directly from this class via getContourMap().
doProcessing
in class LSThread
GISFrame
public VectorMap getContourMap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |