Class AttackRotaryWing
- 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.lines.AbstractAxisArrow
-
- gov.nasa.worldwind.symbology.milstd2525.graphics.lines.Aviation
-
- gov.nasa.worldwind.symbology.milstd2525.graphics.lines.AttackRotaryWing
-
- All Implemented Interfaces:
AVList
,Draggable
,Movable
,Highlightable
,Renderable
,MilStd2525TacticalGraphic
,TacticalGraphic
public class AttackRotaryWing extends Aviation
Implementation of the Aviation offensive graphic (hierarchy 2.X.2.5.2.1.3, SIDC: G*GPOLAR--****X).
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
LEFT_VERTICAL
Index of the left vertical path in thepaths
array.protected static int
RIGHT_VERTICAL
Index of the right vertical path in thepaths
array.protected static int
ROTOR_SYMBOL
Index of the rotor symbol path in thepaths
array.-
Fields inherited from class gov.nasa.worldwind.symbology.milstd2525.graphics.lines.AbstractAxisArrow
arrowPositions, finalPointWidthOfRoute, paths, positions
-
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 AttackRotaryWing(java.lang.String sidc)
Create a new graphic.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createLinePositions(java.util.List<Position> leftPositions, java.util.List<Position> rightPositions, double halfWidth, Globe globe)
Create positions that make up the left and right arrow lines.static java.util.List<java.lang.String>
getSupportedGraphics()
Indicates the graphics supported by this class.-
Methods inherited from class gov.nasa.worldwind.symbology.milstd2525.graphics.lines.Aviation
createArrowHeadPositions
-
Methods inherited from class gov.nasa.worldwind.symbology.milstd2525.graphics.lines.AbstractAxisArrow
applyDelegateOwner, createPath, createShapePositions, doRenderGraphic, getPositions, getReferencePosition, isFinalPointWidthOfRoute, setFinalPointWidthOfRoute, setPositions
-
Methods inherited from class gov.nasa.worldwind.symbology.milstd2525.AbstractMilStd2525TacticalGraphic
applyDefaultAttributes, createSymbol, getDefaultMaterial, getIdentifier, getModifier, getOutlineStippleFactor, getOutlineStipplePattern, getStatus, getText, mustShowHostileIndicator, setModifier, setStatus
-
Methods inherited from class gov.nasa.worldwind.symbology.AbstractTacticalGraphic
addLabel, applyLabelAttributes, applyOverrideAttributes, computeGeometry, computeLabelInteriorOpacity, createLabels, determineActiveAttributes, determineDelegateOwner, determineLabelPositions, 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.render.Renderable
render
-
Methods inherited from interface gov.nasa.worldwind.symbology.TacticalGraphic
getAttributes, getDelegateOwner, getHighlightAttributes, getLabelOffset, getUnitsFormat, isShowGraphicModifiers, isShowHostileIndicator, isShowLocation, isShowTextModifiers, isVisible, setAttributes, setDelegateOwner, setHighlightAttributes, setLabelOffset, setShowGraphicModifiers, setShowHostileIndicator, setShowLocation, setShowTextModifiers, setText, setUnitsFormat, setVisible
-
-
-
-
Field Detail
-
LEFT_VERTICAL
protected static final int LEFT_VERTICAL
Index of the left vertical path in thepaths
array.- See Also:
- Constant Field Values
-
RIGHT_VERTICAL
protected static final int RIGHT_VERTICAL
Index of the right vertical path in thepaths
array.- See Also:
- Constant Field Values
-
ROTOR_SYMBOL
protected static final int ROTOR_SYMBOL
Index of the rotor symbol path in thepaths
array.- See Also:
- Constant Field Values
-
-
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.
-
createLinePositions
protected void createLinePositions(java.util.List<Position> leftPositions, java.util.List<Position> rightPositions, double halfWidth, Globe globe)
Description copied from class:AbstractAxisArrow
Create positions that make up the left and right arrow lines.- Overrides:
createLinePositions
in classAbstractAxisArrow
- Parameters:
leftPositions
- List to collect positions on the left line.rightPositions
- List to collect positions on the right line.halfWidth
- Distance from the center line to the left or right lines. Half the width of the arrow's double lines.globe
- Current globe.
-
-