![]() |
VR-Forces 4.0.4 Class Documentation
|
A visualizer for displaying a Military Standard Symbology Icon for an aggregate. More...
Public Member Functions | |
| DtAggregateMilStdIconVisualizer (DtBaseConnection &connection, DtStateListener &listener, int modelSet) | |
| CTOR. | |
| virtual | ~DtAggregateMilStdIconVisualizer () |
| DTOR. | |
| void | setEchelonEnabled (bool enabled) |
| Set whether the echelon component is shown. | |
| bool | echelonEnabled () const |
| Get whether the echelon component is shown. | |
| virtual void | setVisualizerDefinition (const DtVisualizerDefinition &visDef) |
| Sets the visual definition of the visualizer. | |
| virtual unsigned short | echelonCharacterForUnitSymbolFont (int force) const |
| Routines to modify glyphs into force appropriate glyphs. | |
| virtual DtUnicode | generateSymbolString (float fillColor[4], float outlineColor[4], unsigned int fillGlyph, unsigned int outlineGlyph, unsigned int echelonGlyph, bool damaged) const |
| Generates the symbol string to use with a font based icon. | |
| virtual DtUnicode | generateSymbolString (float fillColor[4], float outlineColor[4], unsigned int fillGlyph, unsigned int outlineGlyph, bool damaged) const |
| Generates the symbol string to use with a font based icon. | |
| virtual unsigned short | echelonGlyph () const |
| Returns glyphs. | |
| virtual void | setShowMainIcon (bool) |
| Hides this icon, however, uses DtAggregateIconContext to hide/show it. | |
| virtual const DtStateVisualizer::TypeInfo & | typeInfo () const |
| The instance's type info. | |
Static Public Member Functions | |
| static const DtStateVisualizer::TypeInfo & | theTypeInfo () |
| This class's type info. | |
Protected Attributes | |
| bool | myEchelonFlag |
| True | |
| DtUnicodeChar | myEchelonGlyph |
A visualizer for displaying a Military Standard Symbology Icon for an aggregate.
A symbology icon is made up of several different components. Included are: A frame, a color fill, an echelon level and an icon.
| makVrv::DtAggregateMilStdIconVisualizer::DtAggregateMilStdIconVisualizer | ( | DtBaseConnection & | connection, |
| DtStateListener & | listener, | ||
| int | modelSet | ||
| ) |
CTOR.
| virtual makVrv::DtAggregateMilStdIconVisualizer::~DtAggregateMilStdIconVisualizer | ( | ) | [virtual] |
DTOR.
| void makVrv::DtAggregateMilStdIconVisualizer::setEchelonEnabled | ( | bool | enabled | ) |
Set whether the echelon component is shown.
Get whether the echelon component is shown.
| virtual void makVrv::DtAggregateMilStdIconVisualizer::setVisualizerDefinition | ( | const DtVisualizerDefinition & | visDef | ) | [virtual] |
Sets the visual definition of the visualizer.
Reimplemented from makVrv::DtMilStdIconVisualizer.
| virtual unsigned short makVrv::DtAggregateMilStdIconVisualizer::echelonCharacterForUnitSymbolFont | ( | int | force | ) | const [virtual] |
Routines to modify glyphs into force appropriate glyphs.
Call outlineCharacterForUnitSymbolFont to get the force modified outline, then pass that result into fillCharacterForUnitSymbolFont to return the appropriate fill character
Reimplemented in makVrf::DtVrfGui3DAggregateMilStdIconVisualizer, makVrv::DT_PROTOCOL_NAMESPACE::DtVrlink2DAggregateMilStdIconVisualizer, makVrv::DT_PROTOCOL_NAMESPACE::DtVrlink3DAggregateMilStdIconVisualizer, and makVrf::DtVrfGui2DAggregateMilStdIconVisualizer.
| virtual DtUnicode makVrv::DtAggregateMilStdIconVisualizer::generateSymbolString | ( | float | fillColor[4], |
| float | outlineColor[4], | ||
| unsigned int | fillGlyph, | ||
| unsigned int | outlineGlyph, | ||
| unsigned int | echelonGlyph, | ||
| bool | damaged | ||
| ) | const [virtual] |
Generates the symbol string to use with a font based icon.
| virtual DtUnicode makVrv::DtAggregateMilStdIconVisualizer::generateSymbolString | ( | float | fillColor[4], |
| float | outlineColor[4], | ||
| unsigned int | fillGlyph, | ||
| unsigned int | outlineGlyph, | ||
| bool | damaged | ||
| ) | const [virtual] |
Generates the symbol string to use with a font based icon.
Reimplemented from makVrv::DtMilStdIconVisualizer.
| virtual unsigned short makVrv::DtAggregateMilStdIconVisualizer::echelonGlyph | ( | ) | const [virtual] |
Returns glyphs.
| virtual void makVrv::DtAggregateMilStdIconVisualizer::setShowMainIcon | ( | bool | ) | [virtual] |
Hides this icon, however, uses DtAggregateIconContext to hide/show it.
| virtual const DtStateVisualizer::TypeInfo& makVrv::DtAggregateMilStdIconVisualizer::typeInfo | ( | ) | const [virtual] |
The instance's type info.
Implements makVrv::DtStateVisualizer.
Reimplemented in makVrv::Dt2DAggregateMilStdIconVisualizer, and makVrv::Dt3DAggregateMilStdIconVisualizer.
| static const DtStateVisualizer::TypeInfo& makVrv::DtAggregateMilStdIconVisualizer::theTypeInfo | ( | ) | [static] |
This class's type info.
Reimplemented in makVrv::Dt2DAggregateMilStdIconVisualizer, and makVrv::Dt3DAggregateMilStdIconVisualizer.
True