|
|||||||||
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.PolySurfaceThread
public class PolySurfaceThread
Calculates a polynomial 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 | |
---|---|
PolySurfaceThread(GISFrame gisFrame,
RasterMap origRast1,
String polynomial)
Creates a polynomial surface with the given expression. |
Method Summary | |
---|---|
Object |
doFunction(Vector function)
Would substitute the given function with an appropriate value. |
void |
doProcessing()
Create the polynomial surface. |
int |
getReturnType()
Reports the type of value returned by a call to getValue . |
Object |
getValue(String varName)
Substitutes the given variable name with an appropriate value. |
void |
setFocalModifier(double xOffset,
double yOffset)
Allows a focal modifier (relative spatial offset) to be set. |
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 PolySurfaceThread(GISFrame gisFrame, RasterMap origRast1, String polynomial)
origRast1
) must be
passed to this constructor as a separate parameter.
gisFrame
- Frame in which to report results.origRast1
- Original primary raster (contains z1 values).polynomial
- Polynomial to calculate.Method Detail |
---|
public void doProcessing()
jwo.landserf.process
package, this class does not create a
new raster map, but instead 'fills' the existing primary raster stored in
the GISFrame
provided to the constructor. This is to make it
easier to allow a polynomial surface to be created by default in a new GISFrame.
To retrieve the polynomial surface, call GISFrame.getRaster1()
after this process has completed.
doProcessing
in class LSThread
GISFrame
public Object getValue(String varName)
getValue
in interface Substitutable
varName
- Name of variable to substitute.
public int getReturnType()
getValue
.
This will always be MatheEvaluator.EXPR_NUMERIC
.
getReturnType
in interface Substitutable
public void setFocalModifier(double xOffset, double yOffset)
setFocalModifier
in interface Substitutable
xOffset
- Offset in the x direction.yOffset
- Offset in the y direction.public Object doFunction(Vector function)
doFunction
in interface Substitutable
function
- Name and parameters of function to call.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |