gov.nasa.worldwind.render
Class SegmentPlane
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.render.SegmentPlane
- All Implemented Interfaces:
- AVList, WWObject, PropertyChangeListener, EventListener
public class SegmentPlane
- extends WWObjectImpl
| Methods inherited from class gov.nasa.worldwind.avlist.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 |
| Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
ALTIMETER
public static final String ALTIMETER
- See Also:
- Constant Field Values
BOTTOM
public static final int BOTTOM
- See Also:
- Constant Field Values
CONTROL_POINT_LEADING_EDGE
public static final String CONTROL_POINT_LEADING_EDGE
- See Also:
- Constant Field Values
CONTROL_POINT_LOWER_LEFT
public static final String CONTROL_POINT_LOWER_LEFT
- See Also:
- Constant Field Values
CONTROL_POINT_LOWER_RIGHT
public static final String CONTROL_POINT_LOWER_RIGHT
- See Also:
- Constant Field Values
CONTROL_POINT_TOP_EDGE
public static final String CONTROL_POINT_TOP_EDGE
- See Also:
- Constant Field Values
CONTROL_POINT_UPPER_RIGHT
public static final String CONTROL_POINT_UPPER_RIGHT
- See Also:
- Constant Field Values
HORIZONTAL_AXIS_LABELS
public static final String HORIZONTAL_AXIS_LABELS
- See Also:
- Constant Field Values
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
PLANE_ALTITUDES
public static final String PLANE_ALTITUDES
- See Also:
- Constant Field Values
PLANE_BACKGROUND
public static final String PLANE_BACKGROUND
- See Also:
- Constant Field Values
PLANE_BORDER
public static final String PLANE_BORDER
- See Also:
- Constant Field Values
PLANE_GRID
public static final String PLANE_GRID
- See Also:
- Constant Field Values
PLANE_GRID_DIMENSIONS
public static final String PLANE_GRID_DIMENSIONS
- See Also:
- Constant Field Values
PLANE_LOCATIONS
public static final String PLANE_LOCATIONS
- See Also:
- Constant Field Values
PLANE_OUTLINE
public static final String PLANE_OUTLINE
- See Also:
- Constant Field Values
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
SEGMENT_BEGIN
public static final String SEGMENT_BEGIN
- See Also:
- Constant Field Values
SEGMENT_END
public static final String SEGMENT_END
- See Also:
- Constant Field Values
serialNumber
protected long serialNumber
TOP
public static final int TOP
- See Also:
- Constant Field Values
VERTICAL_AXIS_LABELS
public static final String VERTICAL_AXIS_LABELS
- See Also:
- Constant Field Values
SegmentPlane
public SegmentPlane()
addControlPoint
protected void addControlPoint(SegmentPlane.ControlPoint controlPoint)
addDefaultAttributes
protected void addDefaultAttributes(Object key)
addDefaultControlPoint
protected void addDefaultControlPoint(Object key,
double u,
double v,
boolean relativeToSurface)
computeInfinitePlane
public Plane computeInfinitePlane(Globe globe)
createPlaneInterpolator
public BilinearInterpolator createPlaneInterpolator(Globe globe)
getAttributes
public SegmentPlaneAttributes getAttributes()
getBorderMask
public int getBorderMask()
getControlPoints
public List<SegmentPlane.ControlPoint> getControlPoints()
getGridCellDimensions
public double[] getGridCellDimensions()
getPlaneAltitudes
public double[] getPlaneAltitudes()
getPlaneLocations
public LatLon[] getPlaneLocations()
getPlaneOutlineMask
public int getPlaneOutlineMask()
getSegmentPositions
public Position[] getSegmentPositions()
getStateKey
public Object getStateKey()
isVisible
public boolean isVisible()
setAttributes
public void setAttributes(SegmentPlaneAttributes attributes)
setBorderMask
public void setBorderMask(int mask)
setControlPoints
public void setControlPoints(Iterable<? extends SegmentPlane.ControlPoint> controlPoints)
setGridCellDimensions
public void setGridCellDimensions(double width,
double height)
setPlaneAltitudes
public void setPlaneAltitudes(double lowerAltitude,
double upperAltitude)
- Set the upper and lower altitude limits.
- Parameters:
lowerAltitude - the lower altitude limit, in meters relative to mean sea levelupperAltitude - the upper altitude limit, in meters relative to mean sea level
setPlaneLocations
public void setPlaneLocations(LatLon location1,
LatLon location2)
setPlaneOutlineMask
public void setPlaneOutlineMask(int mask)
setSegmentBeginPosition
public void setSegmentBeginPosition(Position position)
setSegmentEndPosition
public void setSegmentEndPosition(Position position)
setSegmentPositions
public void setSegmentPositions(Position position1,
Position position2)
setStateExpired
protected void setStateExpired()
setVisible
public void setVisible(boolean visible)