18 #include <QTreeWidget>
44 void refreshAllHitZoneVisualizations();
50 virtual void mapZoneIdToName(std::string& hitFunctionAndZone)
const;
52 void setSpecificModifierButtonsEnabled(
bool)
const;
55 void removeAllHitZoneVisualizations();
57 void setAbleToSelect(
bool);
59 void slot_selectionChanged(
63 void cleanUpModificationDialog();
64 void cleanUpAddDialog();
71 virtual void onItemSelectionChanged();
74 virtual void onEditButtonClicked();
75 virtual void onAddButtonClicked();
76 virtual void onDeleteButtonClicked();
81 virtual void onRefreshList();
83 virtual void onRefreshHitZoneVisualizations(
DtRwHitZone*, DtVector location, DtVector dimensions,
HitZoneColor color,
bool isSelected =
false);
84 virtual void onAlterHitZoneFinished();
86 virtual void onHitZoneEditDialogAccepted();
87 virtual void onHitZoneEditDialogRejected();
89 virtual void onHitZoneAddDialogAccepted();
90 virtual void onHitZoneAddDialogRejected();
92 void onResetVisualsFromEditDialog();
94 void onHitZoneSmokeParticleVisualizerAddOrCreate(DtVector location);
95 void onHitZoneSmokeParticleVisualizerDelete();
100 void signal_refreshList();
106 virtual void setFromParameters(
const std::vector<DtReaderWriter*>& parentRw)
override;
107 virtual void onVisualsReady();
109 virtual const std::map<DtHitZoneId, QStringList> getAllAssociatedSystems();
114 virtual void deleteHitZoneFromLdrList(
DtRwHitZone*);
116 virtual void addHitZoneList(std::vector<DtRwHitZone*>);
Definition: hitZoneModificationDialog.h:25
DtHitZoneModificationWithModelDialog * myAddDialog
Definition: uiHitZonesElement.h:129
boost::signals2::connection connectionOnPostTick
Definition: uiHitZonesElement.h:118
virtual void createControls(QWidget *parent)
If additional widgets or connections need to be made do it here. The parent is the myWidget member...
virtual void setFromParameters(DtReaderWriter *parentRw)
Calls setFromParameters with std::vector of parameter.
Contains the makVrf::DtEntityFacadeCollection class declaration.
DtHitZoneModificationDialog * myModificationDialog
Definition: uiHitZonesElement.h:128
namespace makVrv
Definition: vrfHitZoneVisualizer.h:31
virtual void processUiEvent(const DtUiElementEvent &)
Process ui event. Default does nothing.
Definition: uiElement.h:244
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:198
ID value for a hit zone. Consists of a zone function (weapon, sensor, movement, etc.) and a zone number. Includes functions for packing/unpacking into an int.
Definition: hitZoneId.h:21
boost::signals2::connection connectionOnFacadesCreated
Definition: uiHitZonesElement.h:120
QToolButton * myDeleteButton
Definition: uiHitZonesElement.h:125
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
QTreeWidget * myHitZoneTreeWidget
Definition: uiHitZonesElement.h:122
makVrv::DtSignalConnectionManager myConnections
Definition: uiHitZonesElement.h:133
Definition: hitZoneModificationWithModelDialog.h:28
Will create entity facades for each realized model set and manage them all.
Definition: entityFacadeCollection.h:67
boost::signals2::connection connectionOnSelectionChanged
Definition: uiHitZonesElement.h:119
QToolButton * myAddButton
Definition: uiHitZonesElement.h:124
The DtUiElement class is the base for which all UI elements are defined. If you wish to create a new ...
Definition: uiElement.h:97
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Definition: rwHitZoneList.h:11
QToolButton * myEditButton
Definition: uiHitZonesElement.h:126
Defines configuration for a hit zone within the entity bounding volume. The hit zone is a box axis al...
Definition: rwHitZone.h:23
Definition: uiHitZonesElement.h:23
bool myAbleToSelect
Definition: uiHitZonesElement.h:131
std::set< DtUniqueID > IdSet
Definition: DtSelectionManager.h:32
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33
Base class of the ui element class chain. Properties available through designer for all ui elements a...
Definition: uiElement.h:193