![]() |
VR-Forces Developer's Guide
|
DtGimbalSensorOverlay is a wrapper around the two primary classes used to create a DtSensorViewOverlay - DtOsgSensorViewOverlay and DtSensorFieldOfViewData. It also provides an overlay section creator list that replaces the default DtOsgSensorViewCompassOverlaySectionCreator with a DtGimbalSensorCompassOverlaySectionCreator, which reimplements the create() method of the DtOsgSensorViewCompassOverlaySectionCreator to create an instance of a DtGimbalSensorCompassOverlaySection. This same mechanism (found in the constructor) could also be used to add or remove elements from the sensor overlay entirely. The DtGimbalSensorOverlay looks up the created DtGimbalSensorCompassOverlaySection and calls its update() method from its own.
Public Member Functions | |
| DtGimbalSensorOverlay (makVrv::DtDe &de) | |
| DtGimbalSensorOverlay ()=delete | |
| virtual | ~DtGimbalSensorOverlay () |
| virtual void | initialize (const std::string &observerName, const std::string &windowName, const std::string &channelName) |
| makVrv::DtSensorFieldOfViewData & | fovData () |
| virtual void | update () |
| virtual void | setPlatformTopoOrientation (double ori) |
| virtual void | setGimbalOrientation (double ori) |
| DtGimbalSensorOverlay::DtGimbalSensorOverlay | ( | makVrv::DtDe & | de | ) |
|
delete |
Deleted default constructor.
|
virtual |
Virtual DTOR.
|
virtual |
Set up the sensor overlay drawer; look up and cache a pointer to the DtGimbalCompassOverlaySection.
| makVrv::DtSensorFieldOfViewData& DtGimbalSensorOverlay::fovData | ( | ) |
Return a reference to the DtSensorFieldOfViewData object, which holds the static information about the sensor.
|
virtual |
Set the current zoom level and then call the sensor overlay drawer.
|
virtual |
Pass the current topocentric platform orientation down to the DtGimbalCompassOverlaySection, in radians (0 to 2*PI)
|
virtual |
Pass the current the topocentric orientation of the gimbal down to the DtGimbalCompassOverlaySection, in radians (0 to 2*PI)
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |