VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
makVrv::DtAggregateMilStdIconVisualizer Class Reference

A visualizer for displaying a Military Standard Symbology Icon for an aggregate. More...

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

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

Set whether the echelon component is shown.

Get whether the echelon component is shown.

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.

Hides this icon, however, uses DtAggregateIconContext to hide/show it.


Member Data Documentation

True


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)