Class RectifyThread

  extended byjava.lang.Thread
      extended byjwo.landserf.process.LSThread
          extended byjwo.landserf.process.RectifyThread
All Implemented Interfaces:
JWInterruptionListener, Runnable

public class RectifyThread
extends LSThread

Rectifies a raster map using the supplied transformable class.

2.2, 26th February, 2005.
Jo Wood

Field Summary
Fields inherited from class java.lang.Thread
Constructor Summary
RectifyThread(GISFrame gisFrame, RasterMap newRast, Transformable transformer)
          Rectifies the given raster using the given transformer.
Method Summary
 void doProcessing()
          Creates a rectified version of the primary raster stored in the GISFrame provided to the constructor.
Methods inherited from class jwo.landserf.process.LSThread
checkStoppedThread, interruptionRequested, 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


public RectifyThread(GISFrame gisFrame,
                     RasterMap newRast,
                     Transformable transformer)
Rectifies the given raster using the given transformer.

gisFrame - Frame holding spatial objects and in which to report results.
newRast - New raster containing rectified surface.
transformer - Class doing the transformation.
Method Detail


public void doProcessing()
Creates a rectified version of the primary raster stored in the GISFrame provided to the constructor. The rectified raster is placed inside the raster map object provided to the constructor (newRast).

Note that this method will be called automatically if this is run as a threaded process (e.g. myRectifyThread.start()). Alternatively it can be called directly as a non-threaded process.

Specified by:
doProcessing in class LSThread
See Also:

Copyright Jo Wood, 1996-2005, last modified, 11th March, 2005