VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtGimbalSensorOverlay Class Reference

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::DtSensorFieldOfViewDatafovData ()
 
virtual void update ()
 
virtual void setPlatformTopoOrientation (double ori)
 
virtual void setGimbalOrientation (double ori)
 

Protected Attributes

makVrv::DtDemyDe
 
makVrv::DtOsgSensorViewOverlaymySensorOverlayDrawer
 
makVrv::DtSensorFieldOfViewData myGimbalSensorViewData
 
std::string myObserverName
 
makVrv::DtObservermyObserver
 
DtGimbalCompassOverlaySectionmySensorViewCompassOverlaySection
 

Constructor & Destructor Documentation

DtGimbalSensorOverlay::DtGimbalSensorOverlay ( makVrv::DtDe de)
DtGimbalSensorOverlay::DtGimbalSensorOverlay ( )
delete

Deleted default constructor.

virtual DtGimbalSensorOverlay::~DtGimbalSensorOverlay ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void DtGimbalSensorOverlay::initialize ( const std::string &  observerName,
const std::string &  windowName,
const std::string &  channelName 
)
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 void DtGimbalSensorOverlay::update ( )
virtual

Set the current zoom level and then call the sensor overlay drawer.

virtual void DtGimbalSensorOverlay::setPlatformTopoOrientation ( double  ori)
virtual

Pass the current topocentric platform orientation down to the DtGimbalCompassOverlaySection, in radians (0 to 2*PI)

virtual void DtGimbalSensorOverlay::setGimbalOrientation ( double  ori)
virtual

Pass the current the topocentric orientation of the gimbal down to the DtGimbalCompassOverlaySection, in radians (0 to 2*PI)

Member Data Documentation

makVrv::DtDe& DtGimbalSensorOverlay::myDe
protected
makVrv::DtOsgSensorViewOverlay* DtGimbalSensorOverlay::mySensorOverlayDrawer
protected
makVrv::DtSensorFieldOfViewData DtGimbalSensorOverlay::myGimbalSensorViewData
protected
std::string DtGimbalSensorOverlay::myObserverName
protected
makVrv::DtObserver* DtGimbalSensorOverlay::myObserver
protected
DtGimbalCompassOverlaySection* DtGimbalSensorOverlay::mySensorViewCompassOverlaySection
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)