VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAggregateMilStdIconVisualizer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2025 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
14 
15 #include <matrix/vlTaitBryan.h>
16 
17 namespace makVrv
18 {
19  class DtAggregateStateListener;
20 
27  {
28  public:
31  DtSceneObjectAgent* sceneObject, DtModelSetId modelSet );
32 
35 
38 
41 
44 
45  public:
47  virtual void initialize() override;
48 
50  void setEchelonEnabled(bool enabled);
52  bool echelonEnabled() const;
53 
57  virtual unsigned short echelonCharacterForUnitSymbolFont() const;
58 
60  virtual DtUnicode generateSymbolString(float fillColor[4],
61  float outlineColor[4], unsigned int fillGlyph,
62  unsigned int outlineGlyph, unsigned int echelonGlyph,
63  bool damaged ) const;
64 
66  virtual DtUnicode generateSymbolString(float fillColor[4],
67  float outlineColor[4], unsigned int fillGlyph,
68  unsigned int outlineGlyph, bool damaged ) const;
69 
71  virtual unsigned short echelonGlyph() const;
72 
74  virtual void setRotateToHeading(bool);
75 
77  virtual void rotateSymbolToHeading(const DtTaitBryan&);
78 
80  virtual void refreshForceColor();
81 
83  virtual void setModelDefinitionForAgents() override;
84 
86  virtual void updateLabel() override;
87 
89  virtual void createModelAgents() override;
90 
92  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
93 
94  public:
95 
97  static const DtStateVisualizer::TypeInfo& theTypeInfo();
98 
99  protected:
102  virtual void connectToListenerSignals() override;
103 
106  virtual void setInitialValuesFromVisualizerDefinition() override;
107 
110  virtual void updatePickability();
111 
113  DtAggregateStateListener& aggregateStateListener();
114  const DtAggregateStateListener& aggregateStateListener() const;
115 
116  protected:
122 
125  };
126 }
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
Contains the makVrv::DtMilStdIconVisualizer class declaration.
The DtAggregateStateListener extends DtEntityStateListener. It provides a interface to all the visual...
Definition: DtAggregateStateListener.h:33
A visualizer for displaying a Military Standard Symbology Icon for an aggregate. A symbology icon is ...
Definition: DtAggregateMilStdIconVisualizer.h:25
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:35
bool myEchelonFlag
True
Definition: DtAggregateMilStdIconVisualizer.h:118
A single unicode character.
Definition: DtUnicodeChar.h:17
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtAggregateStateListener * myAggregateStateListener
Same as myListener, but casted for convenience.
Definition: DtAggregateMilStdIconVisualizer.h:121
DtUnicodeChar myEchelonGlyph
Definition: DtAggregateMilStdIconVisualizer.h:119
A visualizer for displaying a Military Standard Symbology Icon. A symbology icon is made up of severa...
Definition: DtMilStdIconVisualizer.h:43
int myLastForce
Definition: DtAggregateMilStdIconVisualizer.h:124
DtModelSetId
Definition: DtModelSetEnums.h:19
The DtStateListener is an abstract class. Subclasses implement functionality that will allow data to ...
Definition: DtStateListener.h:26
Struct to hold metadata about each functional visualizer type This allows users of the factory to get...
Definition: DtStateVisualizer.h:55
bool myRotateToHeading
Definition: DtAggregateMilStdIconVisualizer.h:123
Contains DLL export macros.

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)