com.neatech.climbplan.simulation
Class Simulation
java.lang.Object
com.neatech.climbplan.simulation.AVListImpl
com.neatech.climbplan.simulation.Simulation
- All Implemented Interfaces:
- AVList
public class Simulation
- extends AVListImpl
Constructor Summary |
Simulation(gov.nasa.worldwind.WorldWindow wwd,
gov.nasa.worldwind.layers.RenderableLayer lineLayer,
gov.nasa.worldwind.render.Polyline polyline,
SimulationModel model)
|
Methods inherited from class com.neatech.climbplan.simulation.AVListImpl |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wwd
private gov.nasa.worldwind.WorldWindow wwd
view
private gov.nasa.worldwind.view.OrbitView view
allPositions
private List<gov.nasa.worldwind.geom.Position> allPositions
visitedPositions
private List<gov.nasa.worldwind.geom.Position> visitedPositions
simulationControl
private SimulationControlPanel simulationControl
simulationTimer
private Timer simulationTimer
line
private gov.nasa.worldwind.render.Polyline line
checkPoints
private List<gov.nasa.worldwind.render.SurfaceCircle> checkPoints
attributes
private gov.nasa.worldwind.render.BasicShapeAttributes attributes
layer
private gov.nasa.worldwind.layers.RenderableLayer layer
actionTimer
public Action actionTimer
Simulation
public Simulation(gov.nasa.worldwind.WorldWindow wwd,
gov.nasa.worldwind.layers.RenderableLayer lineLayer,
gov.nasa.worldwind.render.Polyline polyline,
SimulationModel model)
drawPath
public void drawPath()
startSimulation
public void startSimulation()
pauseSimulation
public void pauseSimulation()
resumeSimulation
public void resumeSimulation()
stopSimulation
public void stopSimulation()
getControlPanel
public SimulationControlPanel getControlPanel()
getLayer
public gov.nasa.worldwind.layers.RenderableLayer getLayer()
- Returns the layer holding the polyline being created.
- Returns:
- the layer containing the polyline.
getLine
public gov.nasa.worldwind.render.Polyline getLine()
- Returns the layer currently used to display the polyline.
- Returns:
- the layer holding the polyline.
getAppPanel
public static JPanel getAppPanel(SimulationModel model)