![]() RenderableLayer symbolLayer = new RenderableLayer() symbols can be added to a single layer. This example adds only a single symbol, but many Create a renderable layer to display the tactical symbol. TacticalSymbol symbol = new MilStd2525TacticalSymbol("SFGPU-G", omDegrees(40, -120, 0)) tactical symbol's altitude mode is automatically configured as WorldWind.CLAMP_TO_GROUND. Since the SIDC specifies a ground symbol, the ![]() Create a tactical symbol for a MIL-STD-2525 friendly ground unit. Here's an example of creatingĪnd displaying a tactical symbol for a MIL-STD-2525 friendly ground unit using a RenderableLayer: Tactical symbol is to add it to a RenderableLayer. Or by calling its render method from within a custom layer or renderable object. Since TacticalSymbol extends the Renderable interface, a tactical symbol is displayed either by adding it to a layer, Must be one of the constants defined in MilStd2525TacticalSymbol's documentation. The string identifier must be a 15-character alphanumeric symbol identification code (SIDC), and the modifier keys The format of the string identifier and the modifier key-value pairs are implementation dependent. MIL-STD-2525 tactical symbols display a screen space icon with graphic and text modifiers Symbol implementation may display a 3D object at the position, or display a screen space icon who's screen location Symbol modifiers, and draws that graphic at the specified position when its render method is called. The tactical symbol creates a graphic appropriate for the string identifier and optional String identifier, the desired geographic position, and (optionally) one or more symbol modifier key-value pairs to To create a tactical symbol, instantiate a concrete implementation appropriate for the desired symbology set. Tactical symbols from the MIL-STD-2525 symbology specification. For example, class MilStd2525TacticalSymbol provides support for Symbol displays graphic and textual information about an object at a single geographic position at a particular pointįor instructions on using TacticalSymbol in an application.Ĭonstruction Implementations of this interface provide support for symbols belonging to a specific symbology TacticalSymbol provides a common interface for displaying tactical point symbols from symbology sets.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |