![]() |
VR-Forces Development_Version Class Documentation
|
The class that will contain information about the currently loaded scenario. More...

Public Member Functions | |
| DtVrfGuiSymbolMapper (makVrv::DtDe &) | |
| virtual | ~DtVrfGuiSymbolMapper () |
| virtual void | clear () |
| Clears out contents of symbol mapper. | |
| virtual void | clearIcons (const DtEntityMapperKey &) |
| Removes all cached information for this entity type. | |
| virtual QPixmap | getIcon (const DtEntityMapperKey &, bool destroyed=false, int pointSize=48, bool sizeToFont=false, const makVrv::DtVrlinkSimulatedBaseState *baseState=0, const QSize &rescaleToIconSize=QSize(), bool isSpotReport=false) |
| Returns a pixmap from the entity mapper key. | |
| virtual int | addFont (const QString &) |
| void | setIconSize (int w, int h) |
| const QSize & | iconSize () const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtVrfGuiSymbolMapper & | instance (makVrv::DtDe &de) |
| Returns instance of the DtVrfGuiSymbolMapper. | |
Protected Types | |
| typedef boost::unordered_map < std::string, std::string > | PathListMap |
Protected Member Functions | |
| virtual const makVrv::DtVisualizerDefinitionSet * | visualDefinitionSetThatBestMatches (const DtEntityMapperKey &, bool isSpotReport) |
| Returns the visual definition set that best matches the entity key (entity or tactical graphic) | |
| virtual QImage | milStdRender (const makVrv::DtVisualizerDefinition *, const DtEntityMapperKey &key, bool destroyed, int pointSize, const makVrv::DtVrlinkSimulatedBaseState *baseState=0) const |
| virtual QImage | imageSymbolRender (const makVrv::DtVisualizerDefinition *, const DtEntityMapperKey &key, bool destroyed, const makVrv::DtVrlinkSimulatedBaseState *baseState=0) const |
| virtual QImage | imageFromModelDefinition (const std::string &) const |
| virtual DtObjectType | menuItemIconIsObjectType (const DtEntityMapperKey &) const |
| If the menu item is a object key it will return an object type that is not equal to DtObjectType() | |
| virtual void | composeMilStdImage (QPainter &painter, int left, int base, unsigned short fillGlyph, unsigned short outlineGlyph, unsigned short echelonGlyph, unsigned short destroyedGlyph, makVrv::DtForceManager::RGBAColor color, const makVrv::DtVrlinkSimulatedBaseState *baseState=0) const |
| Paints the milStd image on the font given the glyphs and color. | |
| virtual QImage | menuItemIcon (const DtEntityMapperKey &) const |
| Find the menu item entry for the specified item and see if it has an icon. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| QHash< QString, QPixmap * > | myIconCache |
| QHash< int, QString > | myFontMap |
| QSize | myIconSize |
| PathListMap | myAggregateMap |
| PathListMap | myTacticalMap |
| PathListMap | myEntityMap |
The class that will contain information about the currently loaded scenario.
|
protected |
| makVrf::DtVrfGuiSymbolMapper::DtVrfGuiSymbolMapper | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the DtVrfGuiSymbolMapper.
|
virtual |
Clears out contents of symbol mapper.
|
virtual |
Removes all cached information for this entity type.
|
virtual |
Returns a pixmap from the entity mapper key.
If sizeToFont is true, sizes to the font size, not icon size. Base state is supplied if this an icon on behalf of a published entity
|
virtual |
|
inline |
|
inline |
|
protectedvirtual |
Returns the visual definition set that best matches the entity key (entity or tactical graphic)
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
If the menu item is a object key it will return an object type that is not equal to DtObjectType()
|
protectedvirtual |
Paints the milStd image on the font given the glyphs and color.
|
protectedvirtual |
Find the menu item entry for the specified item and see if it has an icon.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |