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

Protected Member Functions

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

Protected Attributes

std::string myWindowName
std::string myChannelName
int myWindowWidth
int myWindowHeight
std::list
< DtOsgSensorViewOverlaySection * > 
myOverlaySections
 The list of overlay sections.
- 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::myWindowWidth
protected
int makVrv::DtOsgSensorViewOverlay::myWindowHeight
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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)