2#include <NDEVR/KeyController.h>
5 class PointScannerDialog;
38 PointScannerKeyController();
BasicKeyController(const TranslatedString &key_controller_title)
Constructs a BasicKeyController with the given title.
A core object representing a user view as well as convenience functions for moving this view through ...
A core class where all Design Objects including models, materials, and geometries are stored.
Describes a user key press event used to trigger behavior in the NDEVR API.
virtual bool processKeyEvent(const StringView &id, const KeyEvent &key_event, DesignObjectLookup *lookup, Camera *camera) override
Process a key event and dispatch scanner actions.
PointScannerDialog * m_dialog
Target dialog for dispatched actions.
virtual void resetKeyControllerToDefaults() override
Reset all key bindings to their factory defaults.
virtual void setDialog(PointScannerDialog *dialog)
Set the scanner dialog that receives dispatched actions.
The core String View class for the NDEVR API.
The primary namespace for the NDEVR SDK.
ScanDialogAction
Actions that can be triggered from keyboard shortcuts in the point scanner dialog.
@ e_toggle_last_hit
Toggle display of the last hit point.
@ e_zoom_to_probe
Zoom the viewport to the probe position.
@ e_action_size
Number of scan dialog actions.
@ e_swap_cameras
Swap between available camera feeds.
@ e_take_reading
Record a single range measurement.
@ e_zoom_to_deployment
Zoom the viewport to the deployment location.
@ e_edit_deployment_length
Edit the deployment length.
@ e_stop_scan
Stop scanning.
@ e_show_temp
Display the temperature reading.
@ e_calibrate_gyro
Start gyroscope calibration.
@ e_toggle_deployment_mode
Toggle between scan and deployment modes.
@ e_pause_scan
Pause the active scan.
@ e_show_battery
Display the battery status.
@ e_remove_last_reading
Undo the most recent measurement.
@ e_perform_deployment_scan
Execute a deployment-specific scan.
@ e_edit_station
Open the station editor.
@ e_toggle_light
Toggle the scanner light on/off.
@ e_start_scan
Begin scanning.