VR-Forces 5.0.3 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 Member Functions | Protected Attributes | Friends
makVrv::DtOsgSensorViewOverlay Class Reference

DtOsgSensorViewOverlay is responsible for creating and updating the overlay information on a sensor view. This is achieved by managing a list of sensor view overlay sections. Each overlay section is responsible for a piece of the overall overlay. When a sensor view is created a DtOsgSensorViewOverlay is created to manage its overlay drawing. The creator provides a list of overlay section creators. These are used to create the sections that will do the overlay drawing.

Inheritance diagram for makVrv::DtOsgSensorViewOverlay:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtOsgSensorViewOverlay ()
 
virtual void initialize (const std::string &windowName, const std::string &channelName)
 
virtual void update (const std::string &observerName, const DtSensorFieldOfViewData &state)
 
- Public Member Functions inherited from makVrv::DtSensorViewOverlay
virtual ~DtSensorViewOverlay ()
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Protected Member Functions

 DtOsgSensorViewOverlay (DtDe &de, DtOsgSensorViewOverlaySectionCreators &sectionCreators)
 
- Protected Member Functions inherited from makVrv::DtSensorViewOverlay
 DtSensorViewOverlay (DtDe &de)
 

Protected Attributes

std::string myWindowName
 
std::string myChannelName
 
int myChannelWidth
 
int myChannelHeight
 
int myXOffset
 
int myYOffset
 
std::list
< DtOsgSensorViewOverlaySection * > 
myOverlaySections
 
- Protected Attributes inherited from makVrv::DtSensorViewOverlay
makVrv::DtDemyDe
 

Friends

class DtOsgSensorViewOverlayCreator
 

Constructor & Destructor Documentation

virtual makVrv::DtOsgSensorViewOverlay::~DtOsgSensorViewOverlay ( )
virtual

Destructor.

makVrv::DtOsgSensorViewOverlay::DtOsgSensorViewOverlay ( DtDe de,
DtOsgSensorViewOverlaySectionCreators sectionCreators 
)
protected

Constructor needs the DtDe to use. Protected because this is only called by the DtSensorViewOverlayCreator.

Member Function Documentation

virtual void makVrv::DtOsgSensorViewOverlay::initialize ( const std::string &  windowName,
const std::string &  channelName 
)
virtual

Initializes the overlay. Must be called prior to update.

Implements makVrv::DtSensorViewOverlay.

virtual void makVrv::DtOsgSensorViewOverlay::update ( const std::string &  observerName,
const DtSensorFieldOfViewData state 
)
virtual

Updates the overlay based on the given sensor field of view state.

Implements makVrv::DtSensorViewOverlay.

Friends And Related Function Documentation

friend class DtOsgSensorViewOverlayCreator
friend

Member Data Documentation

std::string makVrv::DtOsgSensorViewOverlay::myWindowName
protected
std::string makVrv::DtOsgSensorViewOverlay::myChannelName
protected
int makVrv::DtOsgSensorViewOverlay::myChannelWidth
protected
int makVrv::DtOsgSensorViewOverlay::myChannelHeight
protected
int makVrv::DtOsgSensorViewOverlay::myXOffset
protected
int makVrv::DtOsgSensorViewOverlay::myYOffset
protected
std::list<DtOsgSensorViewOverlaySection*> makVrv::DtOsgSensorViewOverlay::myOverlaySections
protected

The list of overlay sections.


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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)