VR-Forces 4.10 Class Documentation
 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. More...

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

Public Member Functions

virtual ~DtOsgSensorViewOverlay ()
 Destructor. More...
 
virtual void initialize (const std::string &windowName, const std::string &channelName)
 Initializes the overlay. Must be called prior to update. More...
 
virtual void update (const std::string &observerName, const DtSensorFieldOfViewData &state)
 Updates the overlay based on the given sensor field of view state. More...
 
- Public Member Functions inherited from makVrv::DtSensorViewOverlay
virtual ~DtSensorViewOverlay ()
 Destructor. More...
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Protected Member Functions

 DtOsgSensorViewOverlay (DtDe &de, DtOsgSensorViewOverlaySectionCreators &sectionCreators)
 Constructor needs the DtDe to use. More...
 
- Protected Member Functions inherited from makVrv::DtSensorViewOverlay
 DtSensorViewOverlay (DtDe &de)
 Constructor needs the DtDe to use. More...
 

Protected Attributes

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

Friends

class DtOsgSensorViewOverlayCreator
 

Detailed Description

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.

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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)