![]() |
VR-Forces Development_Version Class Documentation
|
Override tactical graphic manager to support aggregate/entities on palette. More...

Public Member Functions | |
| DtVrfTacticalGraphicOverlayManager (makVrv::DtDe &) | |
| CTOR. | |
| virtual | ~DtVrfTacticalGraphicOverlayManager () |
| DTOR. | |
| virtual void | slot_onElementAttributesChanged (const makVrv::DtElementData::EntryAttributesList &attributes) |
| Called by signal whenever element attributes change. | |
| virtual void | setTacticalGraphicVisible (const makVrv::DtUniqueID &id, bool flag) |
| Updates the visibility status of a tactical graphic inside the manager – except if this is a stealth object. | |
Public Member Functions inherited from makVrv::DtTacticalGraphicOverlayManager | |
| virtual | ~DtTacticalGraphicOverlayManager () |
| Destructor. | |
| virtual void | addTacticalGraphic (const DtUniqueID &id, const std::string &name) |
| Adds a tactical graphic with the given id and name. | |
| virtual const std::string * | tacticalGraphicName (const DtUniqueID &id) const |
| Returns the name of the tactical graphic associated with the id if no graphic is found, returns 0. | |
| virtual void | removeTacticalGraphic (const DtUniqueID &id) |
| Removes the tactical graphic with the given id from the manager emits signal_tacticalGraphicRemoved if graphic is found/removed. | |
| virtual void | renameTacticalGraphic (const DtUniqueID &id, const std::string &newName) |
| Renames the tactical graphic with the given id to the new name inside the manager emits signal_tacticalGraphicRenamed if graphic is found/renamed. | |
| virtual void | renameTacticalGraphicOverlay (const DtUniqueID &id, const std::string &newName) |
| Renames the tactical graphic's overlay to the new name inside the manager emits signal_tacticalGraphicOverlayRenamed if successful (id found and overlay renamed) | |
| virtual std::string | newOverlay () |
| Creates a new overlay with a default name. | |
| virtual void | addOverlay (const std::string name) |
| Creates a new overlay with the given name. | |
| virtual void | deleteOverlay (const std::string &name) |
| Removes the overlay with the given name from the manager. | |
| virtual void | renameOverlay (const std::string &oldName, const std::string &newName) |
| Renames the overlay with the oldName to newName emits signal_overlayRenamed if overlay is successfully renamed. | |
| virtual DtTacticalGraphicOverlay * | findOverlay (const std::string &name) const |
| Finds the overlay associated with the given name. | |
| virtual DtTacticalGraphicOverlayList | overlays () const |
| Returns the list of overlays currently registered in the manager. | |
| virtual bool | overlayVisible (const std::string &overlayName) const |
| Set/Get the visible status of the given overlay. | |
| virtual void | setOverlayVisible (const std::string &overlayName, bool flag) |
| virtual bool | overlayFiltered (const std::string &overlayName) const |
| Set/Get the visible status of the given overlay. | |
| virtual void | setOverlayFiltered (const std::string &overlayName, bool flag) |
| virtual bool | overlayLocked (const std::string &overlayName) const |
| Set/Get the lock status of the given overlay. | |
| virtual void | setOverlayLocked (const std::string &overlayName, bool flag) |
| virtual const DtTacticalGraphicOverlay * | currentOverlay () const |
| Set/Get the overlay marked as 'current overlay' inside the manager. | |
| virtual void | setCurrentOverlay (const std::string &name) |
| virtual void | setTacticalGraphicTypes (const TacticalGraphicTypeVector &) |
| Sets the types valid to be placed on an overlay layer. | |
| virtual const TacticalGraphicTypeVector & | tacticalGraphicTypes () const |
| Returns current tactical graphic types. | |
| virtual bool | isTacticalGraphic (const DtUniqueID &id) const |
| Returns true if this particular element can be placed on an overlay layer. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Protected Member Functions | |
| virtual void | objectAdded (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *p) |
Protected Member Functions inherited from makVrv::DtTacticalGraphicOverlayManager | |
| virtual void | slot_onElementsAdded (const DtElementData::ElementList &elements) |
| Called by signal whenever elements are added. | |
| virtual void | slot_onElementsRemoved (const DtElementData::UniqueIdList &elementIds) |
| Called by signal whenever elements are removed. | |
| virtual void | addFilter (const std::string &name, DtOverlayFilter *filter, bool apply=false) |
| DtTacticalGraphicOverlayManager (DtDe &de) | |
| Constructor. | |
Override tactical graphic manager to support aggregate/entities on palette.
| makVrf::DtVrfTacticalGraphicOverlayManager::DtVrfTacticalGraphicOverlayManager | ( | makVrv::DtDe & | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Called by signal whenever element attributes change.
Reimplemented from makVrv::DtTacticalGraphicOverlayManager.
|
virtual |
Updates the visibility status of a tactical graphic inside the manager – except if this is a stealth object.
That will be seen as visible only if the flag is true and other stealths are shown
Reimplemented from makVrv::DtTacticalGraphicOverlayManager.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |