AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() In the example above we added a text modifier of "Alpha" to identify our shape. The symbol identifier ( GHGPGLP-AUSX) tells the factory what type of graphic to create, and how the Wwd.getModel().getLayers().add(graphicLayer) A reference to your application's WorldWind instance. the WorldWindow's picked object list, and reported to the WorldWindow's select listeners. Interactions between the graphic and the cursor are returned in graphic on the globe at the specified position. Add the layer to the WorldWindow's model and request that the layer redraw itself. RenderableLayer graphicLayer = new RenderableLayer() graphics can be added to a single layer. This example adds only a single graphic, but many Create a renderable layer to display the tactical graphic. TacticalGraphic graphic = factory.createGraphic("GHGPGLP-AUSX", positions, modifiers) (SIDC) that identifies the type of graphic to create. The first argument is the symbol identification code Create a graphic for a MIL-STD-2525 hostile phase line. tValue(Symbolog圜onstants.UNIQUE_DESIGNATION, "Alpha") Specify the control points for the line TacticalGraphicFactory factory = new MilStd2525GraphicFactory() Create a graphic factory for MIL-STD-2525 Here's an example of creating a graphic from the MIL-STD-2525 symbol The Renderable interface, so you can add a TacticalGraphic directly to a RenderableLayer. The TacticalGraphic interface provides access to settings common to all tactical graphics. For example, MilStd2525GraphicFactory creates graphics for the MIL-STD-2525 symbology You will need to instantiate the appropriate factory for the symbol set that you intend to use. MIL-STD-2525 Symbol Identification Code (SIDC) is a string of 15 characters. The format of this identifier depends on the symbol set. Set is identified by a string identifier. TacticalGraphics are typically created by an instance of TacticalGraphicFactory. See the TacticalGraphic Usage Guide for instructions on using TacticalGraphic in an application.Įxample applications for examples of how to use tactical graphics. Or polygon that is styled according to the symbol set's specification. That is drawn a geographic position, a vector graphic that is positioned using one or more control points, or a line TacticalGraphic provides a common interface for displaying a graphic from a symbology set. All Superinterfaces: AVList, Highlightable, Movable, Renderable All Known Subinterfaces: MilStd2525TacticalGraphic, TacticalCircle, TacticalPoint, TacticalQuad, TacticalRoute All Known Implementing Classes: AbstractAxisArrow, AbstractCircularGraphic, AbstractMilStd2525TacticalGraphic, AbstractRectangularGraphic, AbstractTacticalGraphic, AdvanceForFeint, Airborne, AirfieldZone, Airhead, Ambush, AttackByFirePosition, AttackRotaryWing, Aviation, AviationZone, BasicArea, BattlePosition, Boundary, CircularFireSupportArea, CircularPositionArea, CircularRangeFan, CombatSupportArea, DirectionOfAttack, DirectionOfAttackAviation, DirectionOfAttackForFeint, DoseRateContourLine, Dummy, Encirclement, FilledArea, FireSupportLine, FortifiedArea, ForwardEdgeOfBattleArea, ForwardLineOfOwnTroops, GroupOfTargets, HoldingLine, InfiltrationLane, IrregularFireSupportArea, LimitedAccessArea, LinearTarget, LineOfContact, MainAttack, MilStd2525PointGraphic, MinimumSafeDistanceZones, MunitionFlightPath, OffenseArea, PhaseLine, PrincipleDirectionOfFire, PullUpPoint, RectangularFireSupportArea, RectangularPositionArea, RectangularTarget, Route, RoutePoint, SearchArea, SectorRangeFan, Smoke, SpecialInterestArea, SupportByFirePosition, SupportingAttack, WeaponsFreeZoneĮxtends Renderable, Highlightable, Movable, AVList.
0 Comments
Read More
Leave a Reply. |