|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
jwo.landserf.process.LSThread
jwo.landserf.process.ProjectionThread
public class ProjectionThread
Reprojects a spatial object between coordinate systems.
| 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 | |
|---|---|
ProjectionThread(GISFrame gisFrame)
Prepares the class for reprojecting a spatial object. |
|
ProjectionThread(GISFrame gisFrame,
SpatialObject spObject,
int newProjType)
Prepares the class for reprojecting the given spatial object using the given projection type . |
|
| Method Summary | |
|---|---|
boolean |
doCommand(LSCommand command)
Reprojects a spatial object in the given scripting parameters. |
void |
doProcessing()
Reprojects the spatial object provided to the constructor. |
LSCommand |
getCommand()
Reports the syntax required to allow objects to be reprojected via a scripting command. |
GISFrame |
getGISFrame()
Retrieves the GISFrame that can be used for storing multiple spatial objects. |
SpatialObject |
getReprojectedSpatialObject()
Retrieves the reprojected spatial object. |
Object |
getReturnedObject()
Returns a spatial object that has been projected via scripting command. |
| 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 ProjectionThread(GISFrame gisFrame)
gisFrame - Frame holding spatial objects and in which to report results.
public ProjectionThread(GISFrame gisFrame,
SpatialObject spObject,
int newProjType)
gisFrame - Frame holding spatial objects and in which to report results.spObject - Spatial object to transform.newProjType - Type of projection to perform.| Method Detail |
|---|
public LSCommand getCommand()
getCommand in interface Scriptablepublic boolean doCommand(LSCommand command)
doCommand in interface Scriptablecommand - Command containing parameter values.
public Object getReturnedObject()
getReturnedObject in interface Scriptablepublic GISFrame getGISFrame()
getGISFrame in interface Scriptablepublic void doProcessing()
GISFrame
provided to the constructor as either a primary raster or vector map. This
can be retrieved directly via this class's method getReprojectedSpatialObject(),
or by calling gisFrame.getRaster1(); or gisFrame.getVectorMap1();
doProcessing in class LSThreadGISFramepublic SpatialObject getReprojectedSpatialObject()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||