Package-level declarations
Types
Constructs a MIL-STD-2525 Placemark with an appropriate level of detail for the current distance from the camera. Shared low-fidelity images are used when far away from the camera, whereas unique high-fidelity images are used when near the camera. The high-fidelity images that are no longer in view are automatically freed, if necessary, to release memory resources.
Default Affiliation Colors for the symbols
Rendering class
Error Logging class for Renderer
Utility class that takes the 3 digit country code from the symbol ID and returns the 3 character string representation of that country. For example, 840 turns into "USA" for the United States.
Interface for Point Conversion objects. Recommend using the functions that take and return Point2D objects.
This utility class generates MIL-STD-2525 symbols and tactical graphics using the MIL-STD-2525 Symbol Rendering Library
This utility class generates MIL-STD-2525 symbols and tactical graphics using the MIL-STD-2525 Symbol Rendering Library
Generates MIL-STD-2525 point symbols using the MIL-STD-2525 Symbol Rendering Library, reached through the per-target MilStd2525Renderer seam (so this class lives in webMain while the generated mil-sym-ts / canvg bindings stay per-target).
The MilStd2525LevelOfDetailSelector determines which set of PlacemarkAttributes to use for a MilStd2525Placemark. A MilStd2525Placemark creates an instance of this class in its constructor, and calls Placemark.LevelOfDetailSelector.selectLevelOfDetail in its Placemark.doRender method.
A modifier rendered as a rasterized image (e.g. a fill glyph) anchored at position.
A modifier rendered as a text label anchored at position, styled with the MP-label font.
Constructs a MIL-STD-2525 Placemark with an appropriate level of detail for the current distance from the camera. Shared low-fidelity images are used when far away from the camera, whereas unique high-fidelity images are used when near the camera. The high-fidelity images that are no longer in view are automatically freed, if necessary, to release memory resources. The Placemark's symbol is lazily created (and recreated if necessary) via an ImageSource.ImageFactory. See the MilStd2525Placemark.getPlacemarkAttributes for more information about resource caching/sharing and the bitmap factory.
Constructs a MIL-STD-2525 Placemark with an appropriate level of detail for the current distance from the camera. Shared low-fidelity images are used when far away from the camera, whereas unique high-fidelity images are used when near the camera. The high-fidelity images that are no longer in view are automatically freed, if necessary, to release memory resources. See the MilStd2525Placemark.getPlacemarkAttributes for more information about resource caching/sharing.
Constructs a MIL-STD-2525 Placemark with an appropriate level of detail for the current distance from the camera. Shared low-fidelity images are used when far away from the camera, whereas unique high-fidelity images are used when near the camera. The high-fidelity images that are no longer in view are automatically freed, if necessary, to release memory resources. See the MilStd2525Placemark.getPlacemarkAttributes for more information about resource caching/sharing.
A poly-line / filled shape: its (geo-converted) poly-lines plus the resolved stroke/fill styling.
Target-agnostic facade over the per-target mil-sym-ts (C5Ren) + canvg bindings, expressed in plain Kotlin / DOM types only, so the WorldWind-facing point-symbol code (MilStd2525, MilStd2525Placemark) can live in webMain while the generated @JsModule externs (C5Ren / C5RenTypes / Canvg) stay per-target behind this seam.
Target-agnostic projection of one mil-sym multipoint ShapeInfo, produced by MilStd2525Renderer.renderTacticalGraphic. The per-target adapter does all the C5Ren work — building the MilStdSymbol, running the renderer, converting pixels→geo, colours, and the ideal-outline / MP-label font — and emits these plain-Kotlin shapes so MilStd2525TacticalGraphic can turn them into Renderables in webMain without touching any generated type.
A rendered point symbol (from MilStd2525Renderer.renderSymbol) — the rasterized canvas plus the renderer's symbol-center offset and symbol-bounds size (already coerced to Double, free of any generated number alias). Not a MilStd2525Shape; co-located here as the other renderer-result DTO.
Symbol attribute constants
This class is used for rendering icons that represent the single point graphics in the MilStd 2525. It can also be used for rendering icon previews for multipoint graphics.
Object that holds information on how to draw a multipoint symbol after {@link armyc2.c5isr.web.render.WebRenderer#RenderMultiPointAsMilStdSymbol(String, String, String, String, String, String, double, String, Map, Map)} is called.
Draw Rules for METEOROLOGICAL AND OCEANOGRAPHIC SYMBOLOGY
Static class that holds the setting for the JavaRenderer. Allows different parts of the renderer to know what values are being used.
Holds information on how to draw the pieces of a multipoint symbol. Can be retrieved from {@link MilStdSymbol#getSymbolShapes()} and {@link MilStdSymbol#getModifierShapes()} after {@link armyc2.c5isr.web.render.WebRenderer#RenderMultiPointAsMilStdSymbol(String, String, String, String, String, String, double, String, Map, Map)} is called.
Has various utility functions for prcessing the symbol code. See {@link SymbolID} for additional functions related to parsing the symbol code.
js actual: the native JS WeakRef (object identity, true weak semantics).
wasm actual: a JS WeakRef can't reliably hold a Kotlin/Wasm heap object — it must be boxed in a JsReference whose box has no strong holder, so the WeakRef can clear while the boxed object is still in use (premature symbol-cache eviction → re-rasterization). The sole consumer is the bounded MIL-STD-2525 symbol cache, so retain strongly: bounded memory, no premature eviction.
A weak reference used by the MIL-STD-2525 symbol cache so unused earth.worldwind.shape.PlacemarkAttributes bundles can be reclaimed. js uses a native JS WeakRef; wasm retains strongly (a JS WeakRef can't reliably hold a Kotlin/Wasm heap object — see the wasm actual), which is sound because the cache is bounded to the finite set of MIL-STD symbol codes.
Main class for rendering multi-point graphics such as Control Measures, Atmospheric, and Oceanographic.