NASA World Wind

gov.nasa.worldwindx.examples.lineofsight
Class LinesOfSight.ShapeLoaderThread

java.lang.Object
  extended by java.lang.Thread
      extended by gov.nasa.worldwindx.examples.lineofsight.LinesOfSight.ShapeLoaderThread
All Implemented Interfaces:
Runnable
Enclosing class:
LinesOfSight

public static class LinesOfSight.ShapeLoaderThread
extends Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
protected  ShapeAttributes buildingAttributes
           
protected  File file
           
protected  RenderableLayer layer
           
protected  LayerPanel layerPanel
           
protected  WorldWindow wwd
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
LinesOfSight.ShapeLoaderThread(File file, WorldWindow wwd, RenderableLayer layer, LayerPanel layerPanel)
           
 
Method Summary
protected  ExtrudedPolygon makeShape(gov.nasa.worldwind.formats.shapefile.ShapefileRecord record)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

buildingAttributes

protected ShapeAttributes buildingAttributes

file

protected File file

layer

protected RenderableLayer layer

layerPanel

protected LayerPanel layerPanel

wwd

protected WorldWindow wwd
Constructor Detail

LinesOfSight.ShapeLoaderThread

public LinesOfSight.ShapeLoaderThread(File file,
                                      WorldWindow wwd,
                                      RenderableLayer layer,
                                      LayerPanel layerPanel)
Method Detail

makeShape

protected ExtrudedPolygon makeShape(gov.nasa.worldwind.formats.shapefile.ShapefileRecord record)

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

NASA World Wind