|
VR-Engage
2.2
|
The DtSarSettingsDialog provides a user interface for configuring various SAR settings including image parameters, ownship/target positioning, server connection settings, and other SAR-related options. It implements the SAR settings interface to communicate with the SAR settings manager.
#include <sarSettingsDialog.h>
Public Member Functions | |
| DtSarSettingsDialog (makVrv::DtDe &de, QWidget *parent) | |
| virtual | ~DtSarSettingsDialog () override |
| void | setObservers (const std::vector< std::string > &observers) |
| void | updateSettingsFromManager () |
| virtual void | setOwnshipMode (int val) override |
| virtual void | setOwnshipObserverName (const std::string &val) override |
| virtual void | setOwnshipEntityName (const std::string &val) override |
| virtual void | setOwnshipAbsolutePositionX (double val) override |
| virtual void | setOwnshipAbsolutePositionY (double val) override |
| virtual void | setOwnshipAbsolutePositionZ (double val) override |
| virtual void | setTargetMode (int val) override |
| virtual void | setTargetEntityName (const std::string &val) override |
| virtual void | setTargetSensorName (const std::string &val) override |
| virtual void | setTargetAbsolutePositionX (double val) override |
| virtual void | setTargetAbsolutePositionY (double val) override |
| virtual void | setTargetAbsolutePositionZ (double val) override |
| virtual void | setImageSizeX (int val) override |
| virtual void | setImageSizeY (int val) override |
| virtual void | setImageRotation (int val) override |
| virtual void | setImageFormat (int val) override |
| virtual void | setImageDataType (int val) override |
| virtual void | setSensorToUse (int val) override |
| virtual void | setSaveOnServer (bool val) override |
| virtual void | setServerSavePath (const std::string &val) override |
| virtual void | setPower (double val) override |
| virtual void | setDownrange (double val) override |
| virtual void | setCrossrange (double val) override |
| virtual void | setServerIp (const std::string &val) override |
| virtual void | setServerPort (int val) override |
| virtual void | setOpenSarResponseWindow (bool val) override |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtPersistenceToolbarWidget * | myPersistenceToolbar |
| DtSarSettingsLogic * | myLogic |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtSarSettingsInterface | |
| boost::signalslib::signal< void(makVre::DtSarSettingsRecord::OwnshipMode)> | signal_ownshipModeChanged |
| boost::signalslib::signal< void(std::string)> | signal_ownshipObserverNameChanged |
| boost::signalslib::signal< void(std::string)> | signal_ownshipEntityNameChanged |
| boost::signalslib::signal< void(double)> | signal_ownshipAbsoluteLocationXChanged |
| boost::signalslib::signal< void(double)> | signal_ownshipAbsoluteLocationYChanged |
| boost::signalslib::signal< void(double)> | signal_ownshipAbsoluteLocationZChanged |
| boost::signalslib::signal< void(makVre::DtSarSettingsRecord::TargetMode)> | signal_targetModeChanged |
| boost::signalslib::signal< void(std::string)> | signal_targetEntityNameChanged |
| boost::signalslib::signal< void(std::string)> | signal_targetSensorNameChanged |
| boost::signalslib::signal< void(double)> | signal_targetAbsoluteLocationXChanged |
| boost::signalslib::signal< void(double)> | signal_targetAbsoluteLocationYChanged |
| boost::signalslib::signal< void(double)> | signal_targetAbsoluteLocationZChanged |
| boost::signalslib::signal< void(int)> | signal_imageSizeXChanged |
| boost::signalslib::signal< void(int)> | signal_imageSizeYChanged |
| boost::signalslib::signal< void(int)> | signal_imageRotationChanged |
| boost::signalslib::signal< void(int)> | signal_imageFormatChanged |
| boost::signalslib::signal< void(int)> | signal_imageDataTypeChanged |
| boost::signalslib::signal< void(std::string)> | signal_sensorToUseChanged |
| boost::signalslib::signal< void(bool)> | signal_saveOnServerChanged |
| boost::signalslib::signal< void(std::string)> | signal_serverSavePathChanged |
| boost::signalslib::signal< void(double)> | signal_powerChanged |
| boost::signalslib::signal< void(double)> | signal_downrangeChanged |
| boost::signalslib::signal< void(double)> | signal_crossrangeChanged |
| boost::signalslib::signal< void(std::string)> | signal_serverIpChanged |
| boost::signalslib::signal< void(int)> | signal_serverPortChanged |
| boost::signalslib::signal< void(bool)> | signal_openSarResponseWindowChanged |
| boost::signalslib::signal< void()> | signal_resetConnectionButtonPressed |
| makVre::DtSarSettingsDialog::DtSarSettingsDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent ) |
Constructor.
| de | Reference to the display element |
| parent | Pointer to the parent widget |
References de().
|
overridevirtual |
Virtual destructor.
| void makVre::DtSarSettingsDialog::setObservers | ( | const std::vector< std::string > & | observers | ) |
Sets the list of available observers.
| observers | Vector of observer names |
Updates the observer selection dropdown with available observer names
| void makVre::DtSarSettingsDialog::updateSettingsFromManager | ( | ) |
Updates dialog controls with current settings from the manager.
Refreshes all UI fields with the current state from the SAR settings manager
|
overridevirtual |
Sets the ownship mode.
| val | Mode value (typically 0=Entity, 1=Absolute Position) |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the ownship observer name.
| val | Observer name for the ownship |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the ownship entity name.
| val | Entity name for the ownship |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the ownship absolute position X coordinate.
| val | X coordinate value (typically longitude) |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the ownship absolute position Y coordinate.
| val | Y coordinate value (typically latitude) |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the ownship absolute position Z coordinate.
| val | Z coordinate value (typically altitude) |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the target mode.
| val | Mode value (typically 0=Entity, 1=Absolute Position) |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the target entity name.
| val | Entity name for the target |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the target sensor name.
| val | Sensor name for the target |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the target absolute position X coordinate.
| val | X coordinate value (typically longitude) |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the target absolute position Y coordinate.
| val | Y coordinate value (typically latitude) |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the target absolute position Z coordinate.
| val | Z coordinate value (typically altitude) |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the image X dimension (width)
| val | Width in pixels |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the image Y dimension (height)
| val | Height in pixels |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the image rotation.
| val | Rotation angle in degrees |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the image format.
| val | Format value (index into image format options) |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the image data type.
| val | Data type value (index into data type options) |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
|
overridevirtual |
Sets whether to save images on the RadarFx server.
| val | True to save on server, false otherwise |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the server save path.
| val | Path on server where images will be saved |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the radar power level.
| val | Power level value |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the downrange (distance in direction of aircraft heading)
| val | Downrange value in meters |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the crossrange (distance perpendicular to aircraft heading)
| val | Crossrange value in meters |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the RadarFx server IP address.
| val | IP address as a string |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets the RadarFx server port number.
| val | Port number |
Implements makVrv::DtSarSettingsInterface.
|
overridevirtual |
Sets whether to automatically open the SAR response window.
| val | True to open window, false otherwise |
Implements makVrv::DtSarSettingsInterface.
|
privateslot |
Handles OK button click Applies settings and closes the dialog.
|
privateslot |
Handles Cancel button click Discards changes and closes the dialog.
|
privateslot |
Handles changes to the ownship mode.
|
privateslot |
Handles changes to the ownship entity name.
| name | New entity name |
|
privateslot |
Handles changes to the ownship observer name.
| name | New observer name |
|
privateslot |
Handles changes to the ownship absolute latitude.
| value | New latitude value |
|
privateslot |
Handles changes to the ownship absolute longitude.
| value | New longitude value |
|
privateslot |
Handles changes to the ownship absolute altitude.
| value | New altitude value |
|
privateslot |
Handles changes to the target mode.
|
privateslot |
Handles changes to the target entity name.
| name | New entity name |
|
privateslot |
Handles changes to the target sensor name.
| name | New sensor name |
|
privateslot |
Handles changes to the target absolute latitude.
| value | New latitude value |
|
privateslot |
Handles changes to the target absolute longitude.
| value | New longitude value |
|
privateslot |
Handles changes to the target absolute altitude.
| value | New altitude value |
|
privateslot |
Handles changes to the image X size.
| value | New X size value |
|
privateslot |
Handles changes to the image Y size.
| value | New Y size value |
|
privateslot |
Handles changes to the image rotation.
| value | New rotation value |
|
privateslot |
Handles changes to the image format.
| index | New format index |
|
privateslot |
Handles changes to the image data type.
| index | New data type index |
|
privateslot |
Handles changes to the sensor to use.
| name | New sensor name |
|
privateslot |
Handles changes to the save on server setting.
| state | New checkbox state |
|
privateslot |
Handles changes to the server save path.
| path | New save path |
|
privateslot |
Handles changes to the radar power.
| value | New power value |
|
privateslot |
Handles changes to the downrange.
| value | New downrange value |
|
privateslot |
Handles changes to the crossrange.
| value | New crossrange value |
|
privateslot |
Handles changes to the server IP address.
| ip | New IP address |
|
privateslot |
Handles changes to the server port.
| port | New port number |
|
privateslot |
Handles changes to the open SAR response window setting.
| state | New checkbox state |
|
privateslot |
Handles reset connection button press.
|
protected |
Reference to the display element.
|
protected |
Pointer to the persistence toolbar widget.
|
protected |
Pointer to the SAR settings logic component.