|
VR-Engage
2.2
|
DtVre2DLaserDesignatorVisualizer provides VR-Engage specific implementation for 2D visualization of laser designator beams. It extends the core VR-Vantage 2D laser designator visualizer with custom appearance and behavior suitable for the VR-Engage application's targeting visualization needs in 2D views.
#include <laserDesignatorVisualizer.h>
Public Member Functions | |
| DtVre2DLaserDesignatorVisualizer (makVrv::DtBaseConnection &simulation, makVrv::DtStateListener &listener, makVrv::DtSceneObjectAgent *sceneObject, makVrv::DtModelSetId modelSet) | |
| virtual | ~DtVre2DLaserDesignatorVisualizer () override |
| virtual void | createLaserLine () override |
| makVre::DtVre2DLaserDesignatorVisualizer::DtVre2DLaserDesignatorVisualizer | ( | makVrv::DtBaseConnection & | simulation, |
| makVrv::DtStateListener & | listener, | ||
| makVrv::DtSceneObjectAgent * | sceneObject, | ||
| makVrv::DtModelSetId | modelSet ) |
Constructor.
| simulation | Reference to the simulation connection |
| listener | Reference to the state listener for event notifications |
| sceneObject | Pointer to the scene object agent representing the designator source |
| modelSet | Model set identifier for the visualization |
Creates a new 2D laser designator visualizer specific to VR-Engage with the specified simulation connection, state listener, scene object, and model set. The 2D visualization is used for tactical displays, maps, and other 2D views.
|
overridevirtual |
Virtual destructor.
Ensures proper cleanup of resources used by the visualizer.
|
overridevirtual |
Creates the visual representation of the laser beam in 2D.
Overrides the base implementation to create a 2D laser beam visualization with VR-Engage specific appearance and behavior. This is typically shown as a line or arrow on 2D maps and tactical displays.