public class SegmentPlane extends WWObjectImpl
Modifier and Type | Class and Description |
---|---|
static class |
SegmentPlane.ControlPoint |
protected static class |
SegmentPlane.StateKey |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALTIMETER |
static int |
BOTTOM |
static java.lang.String |
CONTROL_POINT_LEADING_EDGE |
static java.lang.String |
CONTROL_POINT_LOWER_LEFT |
static java.lang.String |
CONTROL_POINT_LOWER_RIGHT |
static java.lang.String |
CONTROL_POINT_TOP_EDGE |
static java.lang.String |
CONTROL_POINT_UPPER_RIGHT |
static java.lang.String |
HORIZONTAL_AXIS_LABELS |
static int |
LEFT |
static java.lang.String |
PLANE_ALTITUDES |
static java.lang.String |
PLANE_BACKGROUND |
static java.lang.String |
PLANE_BORDER |
static java.lang.String |
PLANE_GRID |
static java.lang.String |
PLANE_GRID_DIMENSIONS |
static java.lang.String |
PLANE_LOCATIONS |
static java.lang.String |
PLANE_OUTLINE |
static int |
RIGHT |
static java.lang.String |
SEGMENT_BEGIN |
static java.lang.String |
SEGMENT_END |
protected long |
serialNumber |
static int |
TOP |
static java.lang.String |
VERTICAL_AXIS_LABELS |
Constructor and Description |
---|
SegmentPlane() |
Modifier and Type | Method and Description |
---|---|
protected void |
addControlPoint(SegmentPlane.ControlPoint controlPoint) |
protected void |
addDefaultAttributes(java.lang.Object key) |
protected void |
addDefaultControlPoint(java.lang.Object key,
double u,
double v,
boolean relativeToSurface,
java.lang.String shapeType) |
Plane |
computeInfinitePlane(Globe globe) |
BilinearInterpolator |
createPlaneInterpolator(Globe globe) |
SegmentPlaneAttributes |
getAttributes() |
int |
getBorderMask() |
java.util.List<SegmentPlane.ControlPoint> |
getControlPoints() |
double[] |
getGridCellDimensions() |
double[] |
getPlaneAltitudes() |
LatLon[] |
getPlaneLocations() |
int |
getPlaneOutlineMask() |
Position[] |
getSegmentPositions() |
java.lang.Object |
getStateKey() |
boolean |
isVisible() |
void |
setAttributes(SegmentPlaneAttributes attributes) |
void |
setBorderMask(int mask) |
void |
setControlPoints(java.lang.Iterable<? extends SegmentPlane.ControlPoint> controlPoints) |
void |
setGridCellDimensions(double width,
double height) |
void |
setPlaneAltitudes(double lowerAltitude,
double upperAltitude)
Set the upper and lower altitude limits.
|
void |
setPlaneLocations(LatLon location1,
LatLon location2) |
void |
setPlaneOutlineMask(int mask) |
void |
setSegmentBeginPosition(Position position) |
void |
setSegmentEndPosition(Position position) |
void |
setSegmentPositions(Position position1,
Position position2) |
protected void |
setStateExpired() |
void |
setVisible(boolean visible) |
onMessage, propertyChange
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
public static final java.lang.String ALTIMETER
public static final int BOTTOM
public static final java.lang.String CONTROL_POINT_LEADING_EDGE
public static final java.lang.String CONTROL_POINT_LOWER_LEFT
public static final java.lang.String CONTROL_POINT_LOWER_RIGHT
public static final java.lang.String CONTROL_POINT_TOP_EDGE
public static final java.lang.String CONTROL_POINT_UPPER_RIGHT
public static final java.lang.String HORIZONTAL_AXIS_LABELS
public static final int LEFT
public static final java.lang.String PLANE_ALTITUDES
public static final java.lang.String PLANE_BACKGROUND
public static final java.lang.String PLANE_BORDER
public static final java.lang.String PLANE_GRID
public static final java.lang.String PLANE_GRID_DIMENSIONS
public static final java.lang.String PLANE_LOCATIONS
public static final java.lang.String PLANE_OUTLINE
public static final int RIGHT
public static final java.lang.String SEGMENT_BEGIN
public static final java.lang.String SEGMENT_END
protected long serialNumber
public static final int TOP
public static final java.lang.String VERTICAL_AXIS_LABELS
protected void addControlPoint(SegmentPlane.ControlPoint controlPoint)
protected void addDefaultAttributes(java.lang.Object key)
protected void addDefaultControlPoint(java.lang.Object key, double u, double v, boolean relativeToSurface, java.lang.String shapeType)
public BilinearInterpolator createPlaneInterpolator(Globe globe)
public SegmentPlaneAttributes getAttributes()
public int getBorderMask()
public java.util.List<SegmentPlane.ControlPoint> getControlPoints()
public double[] getGridCellDimensions()
public double[] getPlaneAltitudes()
public LatLon[] getPlaneLocations()
public int getPlaneOutlineMask()
public Position[] getSegmentPositions()
public java.lang.Object getStateKey()
public boolean isVisible()
public void setAttributes(SegmentPlaneAttributes attributes)
public void setBorderMask(int mask)
public void setControlPoints(java.lang.Iterable<? extends SegmentPlane.ControlPoint> controlPoints)
public void setGridCellDimensions(double width, double height)
public void setPlaneAltitudes(double lowerAltitude, double upperAltitude)
lowerAltitude
- the lower altitude limit, in meters relative to mean sea levelupperAltitude
- the upper altitude limit, in meters relative to mean sea levelpublic void setPlaneOutlineMask(int mask)
public void setSegmentBeginPosition(Position position)
public void setSegmentEndPosition(Position position)
protected void setStateExpired()
public void setVisible(boolean visible)