![]() |
VR-Forces 4.0.4 Class Documentation
|
Holds information about the overlays managed by the Tactical Graphic Overlay Manager. More...
Public Member Functions | |
| DtTacticalGraphicOverlay () | |
| DtTacticalGraphicOverlay (const std::string &name) | |
| virtual | ~DtTacticalGraphicOverlay () |
| virtual std::string | name () const |
| Set/Get the overlay's name. | |
| virtual void | setName (const std::string &name) |
| virtual void | addGraphic (const DtUniqueID &id) |
| Adds a graphic to the overlay. | |
| virtual void | removeGraphic (const DtUniqueID &id) |
| Removes a graphic from the overlay. | |
| virtual bool | hasGraphic (const DtUniqueID &id) |
| Checks whether the graphic is inside the overlay or not. | |
| virtual void | clearGraphics () |
| Removes all the graphics inside the overlay. | |
| virtual bool | empty () |
| Returns true if the overlay is empty. False otherwise. | |
| virtual bool | visible () const |
| Set/Get to show/hide the overlay members on the scene. | |
| virtual void | setVisible (bool flag) |
| virtual bool | locked () const |
| Set/Get to lock/unlock the overlay. | |
| virtual void | setLocked (bool flag) |
| virtual bool | filtered () const |
| Set/Get whether the overlay has been filtered. | |
| virtual void | setFiltered (bool flag) |
| virtual std::list< DtUniqueID > & | members () |
| Returns a reference to the list of ids that are members of the overlay. | |
Protected Attributes | |
| std::string | myName |
| bool | myVisible |
| bool | myFiltered |
| bool | myLocked |
| std::list< DtUniqueID > | myTacticalGraphics |
Holds information about the overlays managed by the Tactical Graphic Overlay Manager.
| makVrv::DtTacticalGraphicOverlay::DtTacticalGraphicOverlay | ( | const std::string & | name | ) |
| virtual makVrv::DtTacticalGraphicOverlay::~DtTacticalGraphicOverlay | ( | ) | [virtual] |
| virtual std::string makVrv::DtTacticalGraphicOverlay::name | ( | ) | const [virtual] |
Set/Get the overlay's name.
| virtual void makVrv::DtTacticalGraphicOverlay::setName | ( | const std::string & | name | ) | [virtual] |
| virtual void makVrv::DtTacticalGraphicOverlay::addGraphic | ( | const DtUniqueID & | id | ) | [virtual] |
Adds a graphic to the overlay.
| virtual void makVrv::DtTacticalGraphicOverlay::removeGraphic | ( | const DtUniqueID & | id | ) | [virtual] |
Removes a graphic from the overlay.
| virtual bool makVrv::DtTacticalGraphicOverlay::hasGraphic | ( | const DtUniqueID & | id | ) | [virtual] |
Checks whether the graphic is inside the overlay or not.
| virtual void makVrv::DtTacticalGraphicOverlay::clearGraphics | ( | ) | [virtual] |
Removes all the graphics inside the overlay.
| virtual bool makVrv::DtTacticalGraphicOverlay::empty | ( | ) | [virtual] |
Returns true if the overlay is empty. False otherwise.
| virtual bool makVrv::DtTacticalGraphicOverlay::visible | ( | ) | const [virtual] |
Set/Get to show/hide the overlay members on the scene.
| virtual void makVrv::DtTacticalGraphicOverlay::setVisible | ( | bool | flag | ) | [virtual] |
| virtual bool makVrv::DtTacticalGraphicOverlay::locked | ( | ) | const [virtual] |
Set/Get to lock/unlock the overlay.
| virtual void makVrv::DtTacticalGraphicOverlay::setLocked | ( | bool | flag | ) | [virtual] |
| virtual bool makVrv::DtTacticalGraphicOverlay::filtered | ( | ) | const [virtual] |
Set/Get whether the overlay has been filtered.
| virtual void makVrv::DtTacticalGraphicOverlay::setFiltered | ( | bool | flag | ) | [virtual] |
| virtual std::list<DtUniqueID>& makVrv::DtTacticalGraphicOverlay::members | ( | ) | [virtual] |
Returns a reference to the list of ids that are members of the overlay.
std::string makVrv::DtTacticalGraphicOverlay::myName [protected] |
bool makVrv::DtTacticalGraphicOverlay::myVisible [protected] |
bool makVrv::DtTacticalGraphicOverlay::myFiltered [protected] |
bool makVrv::DtTacticalGraphicOverlay::myLocked [protected] |
std::list<DtUniqueID> makVrv::DtTacticalGraphicOverlay::myTacticalGraphics [protected] |