public class SurfaceImageEditor extends java.lang.Object implements SelectListener
Modifier and Type | Class and Description |
---|---|
protected static class |
SurfaceImageEditor.ControlPointMarker |
Modifier and Type | Field and Description |
---|---|
protected boolean |
active |
protected int |
activeOperation |
protected boolean |
armed |
protected MarkerLayer |
controlPointLayer |
protected static int |
MOVING |
protected static int |
NONE |
protected Position |
previousPosition |
protected SurfaceImage |
shape |
protected static int |
SIZING |
protected WorldWindow |
wwd |
Constructor and Description |
---|
SurfaceImageEditor(WorldWindow wwd,
SurfaceImage shape) |
Modifier and Type | Method and Description |
---|---|
protected double |
computeSurfaceElevation(WorldWindow wwd,
LatLon latLon) |
protected void |
disable() |
protected void |
dragWholeShape(DragSelectEvent dragEvent,
java.lang.Object topObject) |
protected void |
enable() |
SurfaceImage |
getSurfaceImage() |
WorldWindow |
getWwd() |
boolean |
isArmed() |
protected void |
resizeShape(java.lang.Object topObject) |
void |
selected(SelectEvent event) |
void |
setArmed(boolean armed) |
protected void |
updateAffordances() |
protected boolean active
protected int activeOperation
protected boolean armed
protected MarkerLayer controlPointLayer
protected static final int MOVING
protected static final int NONE
protected Position previousPosition
protected SurfaceImage shape
protected static final int SIZING
protected final WorldWindow wwd
public SurfaceImageEditor(WorldWindow wwd, SurfaceImage shape)
protected double computeSurfaceElevation(WorldWindow wwd, LatLon latLon)
protected void disable()
protected void dragWholeShape(DragSelectEvent dragEvent, java.lang.Object topObject)
protected void enable()
public SurfaceImage getSurfaceImage()
public WorldWindow getWwd()
public boolean isArmed()
protected void resizeShape(java.lang.Object topObject)
public void selected(SelectEvent event)
selected
in interface SelectListener
public void setArmed(boolean armed)
protected void updateAffordances()