Class PullUpPoint
- java.lang.Object
-
- gov.nasa.worldwind.avlist.AVListImpl
-
- gov.nasa.worldwind.symbology.AbstractTacticalGraphic
-
- gov.nasa.worldwind.symbology.milstd2525.AbstractMilStd2525TacticalGraphic
-
- gov.nasa.worldwind.symbology.milstd2525.graphics.areas.AbstractCircularGraphic
-
- gov.nasa.worldwind.symbology.milstd2525.graphics.lines.PullUpPoint
-
- All Implemented Interfaces:
AVList
,Draggable
,Movable
,Highlightable
,PreRenderable
,Renderable
,MilStd2525TacticalGraphic
,TacticalCircle
,TacticalGraphic
,TacticalPoint
public class PullUpPoint extends AbstractCircularGraphic implements TacticalPoint, PreRenderable
Implementation of the Pull-Up Point (PUP) graphic (2.X.2.2.1.3).
-
-
Field Summary
Fields Modifier and Type Field Description protected Path
bowtie
Path to draw the bowtie in the middle of the circle.static double
DEFAULT_RADIUS
Default radius, in meters, for the circle.-
Fields inherited from class gov.nasa.worldwind.symbology.milstd2525.graphics.areas.AbstractCircularGraphic
circle
-
Fields inherited from class gov.nasa.worldwind.symbology.milstd2525.AbstractMilStd2525TacticalGraphic
maskedSymbolCode, OUTLINE_STIPPLE_FACTOR_ANTICIPATED, OUTLINE_STIPPLE_FACTOR_PRESENT, OUTLINE_STIPPLE_PATTERN, symbolCode
-
Fields inherited from class gov.nasa.worldwind.symbology.AbstractTacticalGraphic
activeOverrides, activeShapeAttributes, DEFAULT_HIGHLIGHT_MATERIAL, DEFAULT_LABEL_INTERIOR_OPACITY, delegateOwner, dragEnabled, draggableSupport, frameTimestamp, highlightAttributes, highlighted, labelOffset, labels, modifiers, mustCreateLabels, normalAttributes, showGraphicModifiers, showHostileIndicator, showLocation, showTextModifiers, text, unitsFormat, visible
-
-
Constructor Summary
Constructors Constructor Description PullUpPoint(java.lang.String sidc)
Create a new point.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<Position>
asPositionList(LatLon... locations)
Convert a list of LatLon to a list of Positions at zero elevation.protected Path
createBowtie(DrawContext dc)
Create a path to draw the bowtie graphic in the middle of the circle.protected void
createLabels()
protected Path
createPath()
Create and configure the Path used to render this graphic.protected void
determineLabelPositions(DrawContext dc)
Determine the appropriate position for the graphic's labels.protected void
doRenderGraphic(DrawContext dc)
Render the polygon.static java.util.List<java.lang.String>
getSupportedGraphics()
Indicates the graphics supported by this class.protected void
reset()
Invalidate the bowtie shape when the circle changes.-
Methods inherited from class gov.nasa.worldwind.symbology.milstd2525.graphics.areas.AbstractCircularGraphic
applyDelegateOwner, createShape, determineActiveAttributes, getModifier, getPosition, getPositions, getRadius, getReferencePosition, preRender, setModifier, setPosition, setPositions, setRadius
-
Methods inherited from class gov.nasa.worldwind.symbology.milstd2525.AbstractMilStd2525TacticalGraphic
applyDefaultAttributes, createSymbol, getDefaultMaterial, getIdentifier, getOutlineStippleFactor, getOutlineStipplePattern, getStatus, getText, mustShowHostileIndicator, setStatus
-
Methods inherited from class gov.nasa.worldwind.symbology.AbstractTacticalGraphic
addLabel, applyLabelAttributes, applyOverrideAttributes, computeGeometry, computeLabelInteriorOpacity, determineDelegateOwner, determinePerFrameAttributes, doDrag, doRenderGraphicModifiers, doRenderTextModifiers, drag, getActiveDelegateOwner, getActiveOverrideAttributes, getActiveShapeAttributes, getAttributes, getDefaultLabelOffset, getDelegateOwner, getHighlightAttributes, getLabelMaterial, getLabelOffset, getUnitsFormat, isDragEnabled, isHighlighted, isShowGraphicModifiers, isShowHostileIndicator, isShowLocation, isShowTextModifiers, isVisible, move, moveTo, onModifierChanged, render, setAttributes, setDelegateOwner, setDragEnabled, setHighlightAttributes, setHighlighted, setLabelOffset, setShowGraphicModifiers, setShowHostileIndicator, setShowLocation, setShowTextModifiers, setText, setUnitsFormat, setVisible
-
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
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
-
Methods inherited from class java.lang.Object
clone, equals, 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
-
Methods inherited from interface gov.nasa.worldwind.render.Highlightable
isHighlighted, setHighlighted
-
Methods inherited from interface gov.nasa.worldwind.Movable
getReferencePosition, move, moveTo
-
Methods inherited from interface gov.nasa.worldwind.render.PreRenderable
preRender
-
Methods inherited from interface gov.nasa.worldwind.render.Renderable
render
-
Methods inherited from interface gov.nasa.worldwind.symbology.TacticalGraphic
getAttributes, getDelegateOwner, getHighlightAttributes, getIdentifier, getLabelOffset, getModifier, getPositions, getText, getUnitsFormat, isShowGraphicModifiers, isShowHostileIndicator, isShowLocation, isShowTextModifiers, isVisible, setAttributes, setDelegateOwner, setHighlightAttributes, setLabelOffset, setModifier, setPositions, setShowGraphicModifiers, setShowHostileIndicator, setShowLocation, setShowTextModifiers, setText, setUnitsFormat, setVisible
-
Methods inherited from interface gov.nasa.worldwind.symbology.TacticalPoint
getPosition, setPosition
-
-
-
-
Field Detail
-
DEFAULT_RADIUS
public static final double DEFAULT_RADIUS
Default radius, in meters, for the circle.- See Also:
- Constant Field Values
-
bowtie
protected Path bowtie
Path to draw the bowtie in the middle of the circle.
-
-
Method Detail
-
getSupportedGraphics
public static java.util.List<java.lang.String> getSupportedGraphics()
Indicates the graphics supported by this class.- Returns:
- List of masked SIDC strings that identify graphics that this class supports.
-
reset
protected void reset()
Invalidate the bowtie shape when the circle changes.- Overrides:
reset
in classAbstractCircularGraphic
-
doRenderGraphic
protected void doRenderGraphic(DrawContext dc)
Render the polygon. Overridden to draw airfield graphic.- Overrides:
doRenderGraphic
in classAbstractCircularGraphic
- Parameters:
dc
- Current draw context.- See Also:
AbstractTacticalGraphic.doRenderTextModifiers(gov.nasa.worldwind.render.DrawContext)
,AbstractTacticalGraphic.doRenderGraphicModifiers(gov.nasa.worldwind.render.DrawContext)
-
createBowtie
protected Path createBowtie(DrawContext dc)
Create a path to draw the bowtie graphic in the middle of the circle.- Parameters:
dc
- Current draw context.- Returns:
- Path for the bowtie.
-
asPositionList
protected java.util.List<Position> asPositionList(LatLon... locations)
Convert a list of LatLon to a list of Positions at zero elevation.- Parameters:
locations
- Locations to convert to Positions.- Returns:
- Position list. All elevations will be set to zero.
-
createLabels
protected void createLabels()
- Overrides:
createLabels
in classAbstractTacticalGraphic
-
determineLabelPositions
protected void determineLabelPositions(DrawContext dc)
Determine the appropriate position for the graphic's labels.- Overrides:
determineLabelPositions
in classAbstractTacticalGraphic
- Parameters:
dc
- Current draw context.
-
createPath
protected Path createPath()
Create and configure the Path used to render this graphic.- Returns:
- New path configured with defaults appropriate for this type of graphic.
-
-