![]() |
VR-Forces 4.0.4 Class Documentation
|
Contains makVrf::DtTerrainProfileDialogManager class. More...

Public Member Functions | |
| DtTerrainProfileDialogManager (makVrv::DtDe &) | |
| virtual | ~DtTerrainProfileDialogManager () |
| virtual void | createProfileDialogFor (makVrv::DtElementID, QWidget *parent=0) |
| Call to create a profile dialog to plot the line represented by the element id. | |
| virtual void | showTerrainProfileForFacade (DtVrfObjectFacadeInterface *) |
| Call to show terrain profile for given object facade. | |
| virtual DtTerrainProfileDialog * | terrainProfileDialogFor (makVrv::DtElementID) const |
| Returns the terrain profile dialog for the given element ID, if there is one. | |
Static Public Member Functions | |
| static DtTerrainProfileDialogManager & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. | |
| static void | registerInstance (makVrv::DtDe &, DtTerrainProfileDialogManager *) |
Protected Types | |
| typedef std::map < makVrv::DtStateListener *, DtTerrainProfileDialog * > | FacadeDialogs |
| typedef std::map < makVrv::DtElementID, DtTerrainProfileDialog * > | ElementDialogs |
Protected Member Functions | |
| virtual void | onObjectFacadeAboutToBeRemoved (DtVrfObjectFacadeInterface *) |
| Called when an object facade is about to be removed. | |
| virtual void | onLocalObjectCreated (DtVrfObjectFacadeInterface *, makVrv::DtVrlinkSimulatedBaseState *) |
| Called when a local object is created, create terrain profile graph for terrain profile line. | |
| virtual void | onDialogAboutToBeDeleted (DtTerrainProfileDialog *) |
| Signal sent when a dialog is about to be deleted. Remove any reference to it. | |
| virtual void | onIntervisibilityElementCreated (makVrv::DtIntervisibilityElement *) |
| Called when an intervisibility object is created, bring up profile dialog if requested. | |
| virtual void | onIntervisibilityElementAboutToBeDestroyd (makVrv::DtIntervisibilityElement *) |
| Called when an intervisibility object is about to be destroyed, remove profile dialog. | |
| virtual void | showTerrainProfileForFacade (DtVrfObjectFacadeInterface *, bool editing) |
| Called when an object facade is created by the object manipulation manager. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| FacadeDialogs | myFacadeDialogs |
| ElementDialogs | myElementDialogs |
Contains makVrf::DtTerrainProfileDialogManager class.
Manager of terrain profile dialogs. Use this class to create a terrain profile dialog to display for a particular type (listener or id). This class is also used to monitor objects that are being created or edited to see if it needs to automatically create a profile dialog for it
typedef std::map<makVrv::DtStateListener*, DtTerrainProfileDialog*> makVrf::DtTerrainProfileDialogManager::FacadeDialogs [protected] |
typedef std::map<makVrv::DtElementID, DtTerrainProfileDialog*> makVrf::DtTerrainProfileDialogManager::ElementDialogs [protected] |
| virtual makVrf::DtTerrainProfileDialogManager::~DtTerrainProfileDialogManager | ( | ) | [virtual] |
| static DtTerrainProfileDialogManager& makVrf::DtTerrainProfileDialogManager::instance | ( | makVrv::DtDe & | de | ) | [static] |
Returns instance of the messager.
| static void makVrf::DtTerrainProfileDialogManager::registerInstance | ( | makVrv::DtDe & | , |
| DtTerrainProfileDialogManager * | |||
| ) | [static] |
| virtual void makVrf::DtTerrainProfileDialogManager::createProfileDialogFor | ( | makVrv::DtElementID | , |
| QWidget * | parent = 0 |
||
| ) | [virtual] |
Call to create a profile dialog to plot the line represented by the element id.
| virtual void makVrf::DtTerrainProfileDialogManager::showTerrainProfileForFacade | ( | DtVrfObjectFacadeInterface * | ) | [virtual] |
Call to show terrain profile for given object facade.
Only multi-point environmentals currently supported
| virtual DtTerrainProfileDialog* makVrf::DtTerrainProfileDialogManager::terrainProfileDialogFor | ( | makVrv::DtElementID | ) | const [virtual] |
Returns the terrain profile dialog for the given element ID, if there is one.
| virtual void makVrf::DtTerrainProfileDialogManager::onObjectFacadeAboutToBeRemoved | ( | DtVrfObjectFacadeInterface * | ) | [protected, virtual] |
Called when an object facade is about to be removed.
If the listener is one that this dialog is managing, remove it
| virtual void makVrf::DtTerrainProfileDialogManager::onLocalObjectCreated | ( | DtVrfObjectFacadeInterface * | , |
| makVrv::DtVrlinkSimulatedBaseState * | |||
| ) | [protected, virtual] |
Called when a local object is created, create terrain profile graph for terrain profile line.
| virtual void makVrf::DtTerrainProfileDialogManager::onDialogAboutToBeDeleted | ( | DtTerrainProfileDialog * | ) | [protected, virtual] |
Signal sent when a dialog is about to be deleted. Remove any reference to it.
| virtual void makVrf::DtTerrainProfileDialogManager::onIntervisibilityElementCreated | ( | makVrv::DtIntervisibilityElement * | ) | [protected, virtual] |
Called when an intervisibility object is created, bring up profile dialog if requested.
| virtual void makVrf::DtTerrainProfileDialogManager::onIntervisibilityElementAboutToBeDestroyd | ( | makVrv::DtIntervisibilityElement * | ) | [protected, virtual] |
Called when an intervisibility object is about to be destroyed, remove profile dialog.
| virtual void makVrf::DtTerrainProfileDialogManager::showTerrainProfileForFacade | ( | DtVrfObjectFacadeInterface * | , |
| bool | editing | ||
| ) | [protected, virtual] |
Called when an object facade is created by the object manipulation manager.
If in edit or create mode, see if the facade wants a graph to be created for it.
makVrv::DtDe& makVrf::DtTerrainProfileDialogManager::myDe [protected] |