VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes
makVrv::DtMilStdJsonRegistry Class Reference

Complete MIL-STD geometry registry loaded from JSON files.

DtMilStdJsonRegistry is a concrete subclass of DtMilStdJsonRegistryBase that loads, caches, and serves all parsed MIL-STD SVG geometry for a single simulation. It covers frames, status overlays, context decorators, HQ/TF/Dummy overlays, echelon marks, icon bodies, and modifier 1/2 symbols.

Lifecycle

``` DtMilStdJsonRegistry* reg = new DtMilStdJsonRegistry(); reg->load(dataDir); // parse all JSON files DtMilStdJsonRegistry::registerInstance(de, reg); // attach to DtDe ... DtMilStdJsonRegistry& r = DtMilStdJsonRegistry::instance(de); // retrieve auto paths = r.buildFramePaths(ssId, stdId, colors, center, size); ```

Coordinate space

All geometry is stored in 200x200 space centred at (100,100). build*Paths() methods scale to render space internally with sc = size / 200.0. Callers always receive final DtDrawPath vectors in render-space pixels - raw coordinates are an internal implementation detail.

(ssId x stdId) composite key

Most internal unordered_map containers are keyed by makeKey(ssId, stdId), which evaluates to ssId * 100 + stdId.

Layer kinds (per frame entry)

Each frame entry in the JSON can carry up to three LayerKind sub-layers:

Thread safety

Not thread-safe. Do not call load() concurrently with any build*Paths() call.

Inheritance diagram for makVrv::DtMilStdJsonRegistry:
Inheritance graph
[legend]

Classes

struct  ContextDecoratorDef
 
struct  EchelonCodeDef
 
struct  EchelonMark
 
struct  ExtraGroup
 
struct  ExtraPathDef
 
struct  HqtfOverlayData
 
struct  IconItem
 
struct  LayerDef
 
struct  NamePair
 
struct  PolylineSet
 

Public Types

enum  LayerKind { LayerKind::Frame, LayerKind::Dashed, LayerKind::Decorator }
 

Public Member Functions

 DtMilStdJsonRegistry ()=default
 
virtual const char * registryName () const override
 
bool load (const std::string &dataDir)
 
const std::vector< LayerDef > & frameLayers (int ssId, int stdId) const
 
bool isFrameFilled (DtSymbolSet ss, DtStandardIdentity si) const
 
std::vector< DtDrawPath > buildFramePaths (DtSymbolSet ss, DtStandardIdentity si, const DtColorScheme &colors, const DtPoint &center, double size) const
 
std::vector< DtDrawPath > buildStatusPaths (DtStatus status, DtSymbolSet ss, DtStandardIdentity si, const DtColorScheme &colors, const DtPoint &center, double size, DtOperationalConditionMode ocMode=DtOperationalConditionMode::AlternateColorBar) const
 
std::vector< DtDrawPath > buildContextPaths (DtContext ctx, DtSymbolSet ss, DtStandardIdentity si, const DtColorScheme &colors, const DtPoint &center, double size) const
 
std::vector< DtDrawPath > buildHqtfPaths (DtHqTfDummy hqtf, DtSymbolSet ss, DtStandardIdentity si, const DtColorScheme &colors, const DtPoint &center, double size) const
 
std::vector< DtDrawPath > buildEchelonPaths (DtEchelonMobilityTowed echelon, DtSymbolSet ss, DtStandardIdentity si, const DtColorScheme &colors, const DtPoint &center, double size) const
 
std::vector< DtDrawPath > buildIconPaths (DtSymbolSet ss, const std::string &functionCode, const DtColorScheme &colors, const DtPoint &center, double size, DtSymbologyStandard standard=DtSymbologyStandard::MilStd2525D, DtStandardIdentity si=DtStandardIdentity::Friend) const
 
std::vector< DtDrawPath > buildModifier1Paths (DtSymbolSet ss, DtStandardIdentity si, int modCode, const DtColorScheme &colors, const DtPoint &center, double size) const
 
std::vector< DtDrawPath > buildModifier2Paths (DtSymbolSet ss, DtStandardIdentity si, int modCode, const DtColorScheme &colors, const DtPoint &center, double size) const
 
const NamePair & iconName (int ssId, const std::string &functionCode) const
 
const NamePair & modifier1Name (int ssId, const std::string &modCode) const
 
const NamePair & modifier2Name (int ssId, const std::string &modCode) const
 
- Public Member Functions inherited from makVrv::DtMilStdJsonRegistryBase
 DtMilStdJsonRegistryBase ()
 
virtual ~DtMilStdJsonRegistryBase ()
 
bool isLoaded () const
 
 DtMilStdJsonRegistryBase (const DtMilStdJsonRegistryBase &)=delete
 
 DtMilStdJsonRegistryBase (const DtMilStdJsonRegistryBase &&)=delete
 
DtMilStdJsonRegistryBase & operator= (const DtMilStdJsonRegistryBase &)=delete
 
DtMilStdJsonRegistryBase & operator= (const DtMilStdJsonRegistryBase &&)=delete
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static DtMilStdJsonRegistry & instance (DtDe &de)
 
static void registerInstance (DtDe &de, DtMilStdJsonRegistry *registry)
 
static const std::string & instanceName ()
 
static int makeKey (int ssId, int stdId)
 

Protected Types

using ModifierDataMap = std::unordered_map< int, std::unordered_map< int, std::vector< IconItem >>>
 
using NameMap = std::unordered_map< int, std::unordered_map< std::string, NamePair >>
 

Protected Member Functions

void appendPolylineSet (const PolylineSet &ps, DtDrawPath templateDp, const DtPoint &center, double sc, std::vector< DtDrawPath > &result) const
 
virtual std::vector< std::string > symbolSetEntries () const
 
virtual std::vector< int > standardIdentityIds () const
 
bool loadFrameJson (const std::string &dataDir)
 
bool loadStatusJson (const std::string &dataDir)
 
bool loadContextJson (const std::string &dataDir)
 
bool loadHqtfJson (const std::string &dataDir)
 
bool loadEchelonJson (const std::string &dataDir)
 
bool loadIconJson (const std::string &dataDir)
 
bool loadModifier1Json (const std::string &dataDir)
 
bool loadModifier2Json (const std::string &dataDir)
 
bool loadModifierJson (const std::string &filePath, ModifierDataMap &outData, NameMap &outNames)
 
std::vector< DtDrawPath > buildModifierPaths (const ModifierDataMap &data, int ssId, int stdId, int modCode, const DtColorScheme &colors, const DtPoint &center, double size) const
 
- Protected Member Functions inherited from makVrv::DtMilStdJsonRegistryBase
virtual bool openAndParse (const std::string &filePath, rapidjson::Document &doc) const
 
virtual bool setAndValidateVersions (const rapidjson::Document &doc, const std::string &filePath)
 
virtual bool requireField (const rapidjson::Value &obj, const char *fieldName, const std::string &context) const
 
virtual bool validateStructure (const rapidjson::Document &doc, const std::string &filePath, int version) const
 

Static Protected Member Functions

static DtPoint scalePoint (const DtPoint &p, const DtPoint &center, double sc)
 

Protected Attributes

std::unordered_map< int,
std::vector< LayerDef > > 
myFrameData
 
std::vector< LayerDef > myFallback
 
bool myPlannedNoChange [10] = {}
 
double myPlannedStrokeWidth = 5.0
 
std::string myPlannedDashArray
 
std::unordered_map< int,
PolylineSet > 
myBarData
 
double myBarStrokeWidth = 4.0
 
uint32_t myBarFillColor [6] = {}
 
std::unordered_map< int,
PolylineSet > 
myMineWarfareData
 
double myMineWarfareStrokeWidth = 4.0
 
std::unordered_map< int,
PolylineSet > 
myOcAmplifierData
 
double myOcAmplifierStrokeWidth = 8.0
 
std::unordered_map< int,
ContextDecoratorDef > 
myContextData
 
std::unordered_map< int, double > myFrameX2
 
double myContextTextY = 60.0
 
double myContextFontSize = 35.0
 
HqtfOverlayData myHqtfFeint
 
HqtfOverlayData myHqtfHQ
 
HqtfOverlayData myHqtfTF
 
std::unordered_map< int,
EchelonCodeDef > 
myEchelonData
 
std::unordered_map< int,
std::unordered_map
< std::string, std::vector
< IconItem > > > 
myIconData
 
ModifierDataMap myModifier1Data
 
ModifierDataMap myModifier2Data
 
NameMap myIconNames
 
NameMap myModifier1Names
 
NameMap myModifier2Names
 
- Protected Attributes inherited from makVrv::DtMilStdJsonRegistryBase
int myVersion
 
int myMaxVersion
 
bool myLoaded
 

Member Typedef Documentation

using makVrv::DtMilStdJsonRegistry::ModifierDataMap = std::unordered_map<int, std::unordered_map<int, std::vector<IconItem>>>
protected
using makVrv::DtMilStdJsonRegistry::NameMap = std::unordered_map<int, std::unordered_map<std::string, NamePair>>
protected

Per-symbol-set map from code string to NamePair.

Member Enumeration Documentation

The three kinds of frame sub-layer stored per (ssId x stdId) frame entry.

Enumerator
Frame 

Primary frame shape; filled with the affiliation colour.

Dashed 

Uncertainty overlay (Pending/AssumedFriend/Suspect); dashed stroke, no fill.

Decorator 

Supplemental filled shape (e.g. Friend arch cap, Hostile arrow notch).

Constructor & Destructor Documentation

makVrv::DtMilStdJsonRegistry::DtMilStdJsonRegistry ( )
default

Member Function Documentation

virtual const char* makVrv::DtMilStdJsonRegistry::registryName ( ) const
inlineoverridevirtual

Return the class name used in warning messages.

Implements makVrv::DtMilStdJsonRegistryBase.

static DtMilStdJsonRegistry& makVrv::DtMilStdJsonRegistry::instance ( DtDe &  de)
static

Retrieve the registry registered on de.

Precondition
registerInstance() must have been called first.
static void makVrv::DtMilStdJsonRegistry::registerInstance ( DtDe &  de,
DtMilStdJsonRegistry *  registry 
)
static

Register registry on de (takes ownership).

static const std::string& makVrv::DtMilStdJsonRegistry::instanceName ( )
static

Return the canonical instance name used with DtDe::findInstance().

bool makVrv::DtMilStdJsonRegistry::load ( const std::string &  dataDir)

Load all milstd_*.json files from dataDir.

Safe to call more than once (replaces the existing registry). Returns true on success; prints a message to stderr and returns false if a file cannot be opened or contains a parse error.

const std::vector<LayerDef>& makVrv::DtMilStdJsonRegistry::frameLayers ( int  ssId,
int  stdId 
) const

Return pre-parsed LayerDefs for (ssId, stdId).

Parameters
ssIdSymbol-set integer (e.g. 1 = Air, 10 = LandUnit, 36 = MineWarfare).
stdIdStandard-identity digit from SIDC position 4 (0 = Pending ... 6 = Hostile).

Returns a reference to an empty vector if the combination is not found in the loaded JSON.

bool makVrv::DtMilStdJsonRegistry::isFrameFilled ( DtSymbolSet  ss,
DtStandardIdentity  si 
) const

Query whether a symbol set's frame is filled for the given standard identity.

Checks the loaded frame layers for the specified (ss, si) pair. Returns true when the primary Frame-kind layer has geometry.filled == true (i.e. fillopacity > 0 in the source JSON). Returns true by default when no frame data is found (most symbol sets have filled frames).

Parameters
ssSymbol set.
siStandard identity.
Returns
true if the frame shape should be filled; false if outline-only.
std::vector<DtDrawPath> makVrv::DtMilStdJsonRegistry::buildFramePaths ( DtSymbolSet  ss,
DtStandardIdentity  si,
const DtColorScheme &  colors,
const DtPoint &  center,
double  size 
) const

Build render-ready DrawPaths for the given symbol parameters.

Applies the DtColorScheme and scales the stored 200-unit geometry into render-space coordinates centred at center.

Parameters
ssSymbol set.
siStandard identity.
colorsAffiliation colour scheme from DtMilStdSymbol::colorScheme().
centerPixel centre of the symbol in the output canvas.
sizeSymbol size in pixels (same as DtMilStdSymbol::mySize).
std::vector<DtDrawPath> makVrv::DtMilStdJsonRegistry::buildStatusPaths ( DtStatus  status,
DtSymbolSet  ss,
DtStandardIdentity  si,
const DtColorScheme &  colors,
const DtPoint &  center,
double  size,
DtOperationalConditionMode  ocMode = DtOperationalConditionMode::AlternateColorBar 
) const

Build status overlay DrawPaths (drawn between frame and icon).

DtStatus 0: empty - no overlay. DtStatus 1: re-draws the primary frame layer with a dashed stroke. DtStatus 2-5: capability bar below the symbol, or MineWarfare damage marks (slash / X cross) for symbol set 36.

Parameters
statusCodeSIDC status digit (0-7).
ssIdSymbol-set integer.
stdIdStandard-identity digit.
colorsAffiliation colour scheme.
centerPixel centre of the symbol.
sizeSymbol size in pixels.
ocModeOperational condition display mode; AlternateColorBar draws Table 1-4 colour bars (default), Amplifier draws Table 1-3 slash/X marks.
std::vector<DtDrawPath> makVrv::DtMilStdJsonRegistry::buildContextPaths ( DtContext  ctx,
DtSymbolSet  ss,
DtStandardIdentity  si,
const DtColorScheme &  colors,
const DtPoint &  center,
double  size 
) const

Build context decorator DrawPaths.

DtContext 0 (Reality): empty. DtContext 1 (Exercise): letter "X" (or "J"/"K" for Suspect/Hostile) right of the frame, plus extra frame-outline paths for some stdIds. DtContext 2 (Simulation): letter "S" right of the frame.

Parameters
ctxContext.
ssSymbol set.
siStandard identity.
colorsAffiliation colour scheme.
centerPixel centre of the symbol.
sizeSymbol size in pixels.
std::vector<DtDrawPath> makVrv::DtMilStdJsonRegistry::buildHqtfPaths ( DtHqTfDummy  hqtf,
DtSymbolSet  ss,
DtStandardIdentity  si,
const DtColorScheme &  colors,
const DtPoint &  center,
double  size 
) const

Build HQ/TF/Dummy overlay DrawPaths.

hqtfCode is a bit-field from SIDC digit 8: bit 0 (& 1): Feint/Dummy - dashed V-shape above the symbol. bit 1 (& 2): Headquarters - staff line below the symbol. bit 2 (& 4): Task Force - open bracket above the symbol. hqtfCode == 0 returns an empty vector.

Parameters
hqtfHQ/TF/Dummy value.
ssSymbol set.
siStandard identity.
colorsAffiliation colour scheme.
centerPixel centre of the symbol.
sizeSymbol size in pixels.
std::vector<DtDrawPath> makVrv::DtMilStdJsonRegistry::buildEchelonPaths ( DtEchelonMobilityTowed  echelon,
DtSymbolSet  ss,
DtStandardIdentity  si,
const DtColorScheme &  colors,
const DtPoint &  center,
double  size 
) const

Build DtEchelonMobilityTowed overlay DrawPaths.

Echelon/mobility marks appear above/inside the frame (SIDC digits 9-10). An empty echelonCode (or code "00") returns an empty vector.

Parameters
echelonEchelon/mobility/towed-array code.
ssSymbol set.
siStandard identity.
colorsAffiliation colour scheme.
centerPixel centre of the symbol.
sizeSymbol size in pixels.
std::vector<DtDrawPath> makVrv::DtMilStdJsonRegistry::buildIconPaths ( DtSymbolSet  ss,
const std::string &  functionCode,
const DtColorScheme &  colors,
const DtPoint &  center,
double  size,
DtSymbologyStandard  standard = DtSymbologyStandard::MilStd2525D,
DtStandardIdentity  si = DtStandardIdentity::Friend 
) const

Build icon DrawPaths for a given symbol set and function code.

Returns an empty vector if the function code is not present in the loaded data for that symbol set.

Parameters
ssSymbol set.
functionCode6-digit zero-padded function code string (e.g. "110100").
colorsAffiliation colour scheme.
centerPixel centre of the symbol.
sizeSymbol size in pixels.
standardSymbology standard; selects APP-6D geometry when available.
siStandard identity; selects per-affiliation geometry for frame-following icons. Default Friend.
std::vector<DtDrawPath> makVrv::DtMilStdJsonRegistry::buildModifier1Paths ( DtSymbolSet  ss,
DtStandardIdentity  si,
int  modCode,
const DtColorScheme &  colors,
const DtPoint &  center,
double  size 
) const

Build modifier 1 DrawPaths for a given symbol set and modifier code.

Parameters
ssSymbol set.
siStandard identity.
modCodeModifier code integer (0 = none).
colorsAffiliation colour scheme.
centerPixel centre of the symbol.
sizeSymbol size in pixels.
std::vector<DtDrawPath> makVrv::DtMilStdJsonRegistry::buildModifier2Paths ( DtSymbolSet  ss,
DtStandardIdentity  si,
int  modCode,
const DtColorScheme &  colors,
const DtPoint &  center,
double  size 
) const

Build modifier 2 DrawPaths for a given symbol set and modifier code.

Parameters
ssSymbol set.
siStandard identity.
modCodeModifier code integer (0 = none).
colorsAffiliation colour scheme.
centerPixel centre of the symbol.
sizeSymbol size in pixels.
const NamePair& makVrv::DtMilStdJsonRegistry::iconName ( int  ssId,
const std::string &  functionCode 
) const

Returns the MIL-STD-2525D/APP-6D names for an icon function code.

Parameters
ssIdSymbol-set integer (e.g. 10 = Land Unit).
functionCodeSix-character icon function code within the symbol set.
Returns
Reference to the matching NamePair, or an empty NamePair if not found.
const NamePair& makVrv::DtMilStdJsonRegistry::modifier1Name ( int  ssId,
const std::string &  modCode 
) const

Returns the MIL-STD-2525D/APP-6D names for a modifier-1 code.

Parameters
ssIdSymbol-set integer.
modCodeTwo-character modifier-1 code.
Returns
Reference to the matching NamePair, or an empty NamePair if not found.
const NamePair& makVrv::DtMilStdJsonRegistry::modifier2Name ( int  ssId,
const std::string &  modCode 
) const

Returns the MIL-STD-2525D/APP-6D names for a modifier-2 code.

Parameters
ssIdSymbol-set integer.
modCodeTwo-character modifier-2 code.
Returns
Reference to the matching NamePair, or an empty NamePair if not found.
static int makVrv::DtMilStdJsonRegistry::makeKey ( int  ssId,
int  stdId 
)
inlinestatic

Compose the integer map key used by all internal (ssId x stdId) maps.

ssId is the MIL-STD symbol-set number (1-36); stdId is the standard-identity code (0-6). Multiplying by 100 avoids collisions because stdId is always less than 100 and the largest defined ssId (36) yields a maximum key of 3606.

Parameters
ssIdSymbol-set integer (e.g. 1 = Air, 10 = Land Unit, 36 = Mine Warfare).
stdIdStandard-identity digit (0 = Pending ... 6 = Hostile).
Returns
Composite key for use in myFrameData, myBarData, myContextData, etc.
static DtPoint makVrv::DtMilStdJsonRegistry::scalePoint ( const DtPoint &  p,
const DtPoint &  center,
double  sc 
)
staticprotected

Scale a point from 200-unit milsymbol space to render space.

Parameters
pDtPoint in 200-unit space centred at (100,100).
centerRender-space centre of the symbol.
scScale factor: size / 200.0.
Returns
DtPoint in render space.
void makVrv::DtMilStdJsonRegistry::appendPolylineSet ( const PolylineSet &  ps,
DtDrawPath  templateDp,
const DtPoint &  center,
double  sc,
std::vector< DtDrawPath > &  result 
) const
protected

Appends one DtDrawPath per sub-polyline in ps into result. templateDp carries pre-set style fields (colors, strokeWidth, etc.); commands and points are filled in from the polyline geometry. Empty sub-polylines are skipped.

virtual std::vector<std::string> makVrv::DtMilStdJsonRegistry::symbolSetEntries ( ) const
protectedvirtual

Returns the list of active symbol-set file-name suffixes recognised by this registry.

Each entry is a string such as "01_air" or "27_dismountedindividual". The first two characters are the zero-padded symbol-set id. Override in a subclass to add or remove symbol sets without altering any load method.

Returns
Vector of symbol-set suffix strings used when locating per-symbol-set JSON files.
virtual std::vector<int> makVrv::DtMilStdJsonRegistry::standardIdentityIds ( ) const
protectedvirtual

Returns the list of standard-identity digit values recognised by this registry.

Values range from 0 to 6, corresponding to the standard-identity codes defined in MIL-STD-. Override in a subclass to restrict or extend the set of identities for which frame and icon data are loaded.

Returns
Vector of integer standard-identity ids (e.g. 0, 1, 2, 3, 4, 5, 6).
bool makVrv::DtMilStdJsonRegistry::loadFrameJson ( const std::string &  dataDir)
protected

Reads milstd_standardidentity.json from dataDir; populates myFrameData.

bool makVrv::DtMilStdJsonRegistry::loadStatusJson ( const std::string &  dataDir)
protected

Reads milstd_status.json; populates myBarData, myMineWarfareData, myOcAmplifierData, and myPlanned* fields.

bool makVrv::DtMilStdJsonRegistry::loadContextJson ( const std::string &  dataDir)
protected

Reads milstd_context.json; populates myContextData and myFrameX2.

bool makVrv::DtMilStdJsonRegistry::loadHqtfJson ( const std::string &  dataDir)
protected

Reads milstd_hqtf.json; populates myHqtfFeint, myHqtfHQ, and myHqtfTF.

bool makVrv::DtMilStdJsonRegistry::loadEchelonJson ( const std::string &  dataDir)
protected

Reads milstd_echelon.json; populates myEchelonData.

bool makVrv::DtMilStdJsonRegistry::loadIconJson ( const std::string &  dataDir)
protected

Reads all milstd_ss*.json symbol-set files; populates myIconData.

bool makVrv::DtMilStdJsonRegistry::loadModifier1Json ( const std::string &  dataDir)
protected

Reads milstd_modifier1.json; populates myModifier1Data.

bool makVrv::DtMilStdJsonRegistry::loadModifier2Json ( const std::string &  dataDir)
protected

Reads milstd_modifier2.json; populates myModifier2Data.

bool makVrv::DtMilStdJsonRegistry::loadModifierJson ( const std::string &  filePath,
ModifierDataMap &  outData,
NameMap &  outNames 
)
protected

Loads modifier icon geometry from filePath into outData. Returns false and logs an error if the file cannot be opened or parsed.

std::vector<DtDrawPath> makVrv::DtMilStdJsonRegistry::buildModifierPaths ( const ModifierDataMap &  data,
int  ssId,
int  stdId,
int  modCode,
const DtColorScheme &  colors,
const DtPoint &  center,
double  size 
) const
protected

Builds DrawPaths for a modifier icon selected from data. Returns an empty vector when modCode is 0 or not found.

Frame geometry: key = makeKey(ssId, stdId), value = ordered list of LayerDef sub-layers.

Member Data Documentation

std::unordered_map<int, std::vector<LayerDef> > makVrv::DtMilStdJsonRegistry::myFrameData
protected

Always-empty sentinel returned when a (ssId, stdId) key is absent from myFrameData.

std::vector<LayerDef> makVrv::DtMilStdJsonRegistry::myFallback
protected
bool makVrv::DtMilStdJsonRegistry::myPlannedNoChange[10] = {}
protected

[stdId] true when no dashed re-draw is needed.

double makVrv::DtMilStdJsonRegistry::myPlannedStrokeWidth = 5.0
protected

Stroke width for the dashed planned overlay.

std::string makVrv::DtMilStdJsonRegistry::myPlannedDashArray
protected

SVG dash pattern, e.g. "8,12"; "" = solid.

std::unordered_map<int, PolylineSet> makVrv::DtMilStdJsonRegistry::myBarData
protected

Bar geometry; key = makeKey(ssId, stdId).

double makVrv::DtMilStdJsonRegistry::myBarStrokeWidth = 4.0
protected

Stroke width for the bar outline.

uint32_t makVrv::DtMilStdJsonRegistry::myBarFillColor[6] = {}
protected

[statusCode] Fill colour per status code (ABGR).

std::unordered_map<int, PolylineSet> makVrv::DtMilStdJsonRegistry::myMineWarfareData
protected

Geometry per status code.

double makVrv::DtMilStdJsonRegistry::myMineWarfareStrokeWidth = 4.0
protected

Stroke width for damage marks.

std::unordered_map<int, PolylineSet> makVrv::DtMilStdJsonRegistry::myOcAmplifierData
protected

Geometry per status code (3=Damaged, 4=Destroyed).

double makVrv::DtMilStdJsonRegistry::myOcAmplifierStrokeWidth = 8.0
protected

Stroke width for amplifier marks.

std::unordered_map<int, ContextDecoratorDef> makVrv::DtMilStdJsonRegistry::myContextData
protected

Right-edge x coordinate for each symbol set in 200-unit space; key = ssId. Used to position context letters.

std::unordered_map<int, double> makVrv::DtMilStdJsonRegistry::myFrameX2
protected
double makVrv::DtMilStdJsonRegistry::myContextTextY = 60.0
protected

Vertical baseline for context letters (200-unit space).

double makVrv::DtMilStdJsonRegistry::myContextFontSize = 35.0
protected

Font size for context letters (200-unit space).

HqtfOverlayData makVrv::DtMilStdJsonRegistry::myHqtfFeint
protected

bit 0 (hqtfCode & 1): Feint/Dummy - dashed V-shape above the symbol.

HqtfOverlayData makVrv::DtMilStdJsonRegistry::myHqtfHQ
protected

bit 1 (hqtfCode & 2): Headquarters - vertical staff line below the symbol.

HqtfOverlayData makVrv::DtMilStdJsonRegistry::myHqtfTF
protected

bit 2 (hqtfCode & 4): Task Force - open bracket above the symbol.

std::unordered_map<int, EchelonCodeDef> makVrv::DtMilStdJsonRegistry::myEchelonData
protected

< Echelon geometry; outer key = integer echelon code (e.g. 11 = Team, 16 = Battalion, 31 = Wheeled).

std::unordered_map<int, std::unordered_map<std::string, std::vector<IconItem> > > makVrv::DtMilStdJsonRegistry::myIconData
protected

< Icon body geometry; outer key = ssId, inner key = 6-digit function code string (e.g. "110100").

ModifierDataMap makVrv::DtMilStdJsonRegistry::myModifier1Data
protected

Modifier 1 icon geometry.

ModifierDataMap makVrv::DtMilStdJsonRegistry::myModifier2Data
protected

Modifier 2 icon geometry.

NameMap makVrv::DtMilStdJsonRegistry::myIconNames
protected

Icon names; outer key = ssId, inner key = 6-digit function code.

NameMap makVrv::DtMilStdJsonRegistry::myModifier1Names
protected

Modifier 1 names; outer key = ssId, inner key = 2-char modifier code.

NameMap makVrv::DtMilStdJsonRegistry::myModifier2Names
protected

Modifier 2 names; outer key = ssId, inner key = 2-char modifier code.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)