jwo.landserf.process
Class TransRastThread

java.lang.Object
  extended byjava.lang.Thread
      extended byjwo.landserf.process.LSThread
          extended byjwo.landserf.process.TransRastThread
All Implemented Interfaces:
Runnable

public class TransRastThread
extends LSThread

Creates a new raster based on a transformation (scaling, translation, flooding, rounding and to/from null conversion) of an existing one.

Version:
2.1, 27th July, 2003.
Author:
Jo Wood

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TransRastThread(GISFrame gisFrame, TransRastBox trb)
          Transforms raster values using parameters given in trb.
 
Method Summary
 void doProcessing()
          Transform raster.
 
Methods inherited from class jwo.landserf.process.LSThread
resetTimer, run, setErrorMessage, setMessage
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransRastThread

public TransRastThread(GISFrame gisFrame,
                       TransRastBox trb)
Transforms raster values using parameters given in trb.

Parameters:
gisFrame - GISFrame holding raster to transform.
trb - GUI box containing reater transformation parameters.
Method Detail

doProcessing

public void doProcessing()
Transform raster. The order of transformations is (i) substiution; (ii) Translation, (iii) Scaling; (iv) rounding; (v) flooding.

Specified by:
doProcessing in class LSThread


Copyright Jo Wood, 1996-2004, last modified, 3rd September, 2004