VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtRunwayMarkingManager Class Reference
Inheritance diagram for makVrv::DtRunwayMarkingManager:
Inheritance graph
[legend]

Public Types

typedef boost::unordered_map
< std::string,
DtRunwayThresholdData
DtRunwayThresholdDataMap
typedef boost::unordered_map
< DtUniqueID, std::vector
< DtSceneObject * > > 
DtSceneObjectsMap
typedef boost::unordered_map
< DtUniqueID, std::vector
< DtOsgArticulatedModel * > > 
DtRunwayLightsMap

Public Member Functions

virtual ~DtRunwayMarkingManager ()
 DTOR.
virtual void updateRunwayManager ()
 Called by DtOsgRenderer::updateAerodrome so creation can be done via the main thread.
virtual void slot_AerodromeCreated (const std::string &icao)
virtual void slot_RunwayCreated (DtRunwayData &runwayData)
virtual void slot_RunwayDestroyed (DtRunwayData &runwayData)
virtual void slot_RunwayThresholdCreated (DtRunwayThresholdData &runwayThreshold)
virtual void slot_RunwayThresholdDestroyed (DtRunwayThresholdData &runwayThreshold)
virtual double runwayWidth (const std::vector< DtVector > &runwayPolygon) const
virtual DtVector forwardVector (const std::vector< DtVector > &runwayPolygon) const
virtual DtVector forwardVector (const DtVector &position, double heading) const
virtual DtVector rightVector (const DtVector &position, double heading) const
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static DtRunwayMarkingManagerinstance (DtDe &anIG)
 Get an instance of the taxiway sign manager.

Public Attributes

boost::signal< void(const
std::string &)> 
signal_AerodromeCreated
boost::signal< void(DtRunwayData &)> signal_RunwayCreated
boost::signal< void(DtRunwayData &)> signal_RunwayDestroyed
boost::signal< void(DtRunwayThresholdData &)> signal_RunwayThresholdCreated
boost::signal< void(DtRunwayThresholdData &)> signal_RunwayThresholdDestroyed

Protected Member Functions

 DtRunwayMarkingManager (DtDe &de)
void addLightPtr (DtUniqueID runwayID, DtOsgArticulatedModel *lightModel)
void addSceneObjPtr (DtUniqueID runwayID, DtSceneObject *sceneObj)
std::string runwayKey (const std::string &apt_icao, const std::string &runwayNum) const
std::size_t hashRunwayData (const DtRunwayData &runwayData)
 Convert runway verts to identifier.
void createAndPlaceCenterlineLighting (const DtRunwayData &runwayData)
void createAndPlaceTouchdownZone (const DtRunwayData &runwayData)
void createAndPlaceTouchdownZoneLightBar (const DtUniqueID runwayId, const DtVector &position, double heading)
void createAndPlaceEdgeLighting (const DtRunwayData &runwayData)
void createAndPlaceThresholdLighting (const DtRunwayData &runwayData)
void createAndPlaceApproachLighting (const DtRunwayThresholdData &runwayData)
void createAndPlaceREIL (const DtRunwayThresholdData &runwayData)
void createAndPlaceGroundLight (std::string modelDef, DtUniqueID runwayId, const DtVector &pos, double zOffset=0.0, double heading=0.0)

Protected Attributes

DtDemyDe
DtSignalConnectionManager myConnections
DtTextureAtlasIndexParsermyTextureAtlasIndexParser
DtLockedBufferedQueue
< DtRunwayData
myRunwayDataLockedQueue
DtLockedBufferedQueue
< DtRunwayThresholdData
myRunwayThresholdLockedQueue
DtLockedBufferedQueue
< DtRunwayThresholdData
myRunwayDisplacedThresholdLockedQueue
boost::unordered_map
< DtUniqueID, DtSceneObject * > 
myRunwayMarkers
DtRunwayThresholdDataMap myRunwayThresholdData
DtRunwayLightsMap myRunwayLights
DtSceneObjectsMap mySceneObjs

Private Member Functions

DtVector geodeticToGeocentric (double lat, double lon, double alt) const
DtVector geodeticToCig (const DtVector &geodPos) const

Member Typedef Documentation

typedef boost::unordered_map<DtUniqueID, std::vector<DtSceneObject*> > makVrv::DtRunwayMarkingManager::DtSceneObjectsMap

Constructor & Destructor Documentation

virtual makVrv::DtRunwayMarkingManager::~DtRunwayMarkingManager ( )
virtual

DTOR.

makVrv::DtRunwayMarkingManager::DtRunwayMarkingManager ( DtDe de)
protected

Member Function Documentation

static DtRunwayMarkingManager& makVrv::DtRunwayMarkingManager::instance ( DtDe anIG)
static

Get an instance of the taxiway sign manager.

virtual void makVrv::DtRunwayMarkingManager::updateRunwayManager ( )
virtual

Called by DtOsgRenderer::updateAerodrome so creation can be done via the main thread.

virtual void makVrv::DtRunwayMarkingManager::slot_AerodromeCreated ( const std::string &  icao)
virtual
virtual void makVrv::DtRunwayMarkingManager::slot_RunwayCreated ( DtRunwayData runwayData)
virtual
virtual void makVrv::DtRunwayMarkingManager::slot_RunwayDestroyed ( DtRunwayData runwayData)
virtual
virtual void makVrv::DtRunwayMarkingManager::slot_RunwayThresholdCreated ( DtRunwayThresholdData runwayThreshold)
virtual
virtual void makVrv::DtRunwayMarkingManager::slot_RunwayThresholdDestroyed ( DtRunwayThresholdData runwayThreshold)
virtual
virtual double makVrv::DtRunwayMarkingManager::runwayWidth ( const std::vector< DtVector > &  runwayPolygon) const
virtual
virtual DtVector makVrv::DtRunwayMarkingManager::forwardVector ( const std::vector< DtVector > &  runwayPolygon) const
virtual
virtual DtVector makVrv::DtRunwayMarkingManager::forwardVector ( const DtVector position,
double  heading 
) const
virtual
virtual DtVector makVrv::DtRunwayMarkingManager::rightVector ( const DtVector position,
double  heading 
) const
virtual
void makVrv::DtRunwayMarkingManager::addLightPtr ( DtUniqueID  runwayID,
DtOsgArticulatedModel lightModel 
)
protected
void makVrv::DtRunwayMarkingManager::addSceneObjPtr ( DtUniqueID  runwayID,
DtSceneObject sceneObj 
)
protected
std::string makVrv::DtRunwayMarkingManager::runwayKey ( const std::string &  apt_icao,
const std::string &  runwayNum 
) const
protected
std::size_t makVrv::DtRunwayMarkingManager::hashRunwayData ( const DtRunwayData runwayData)
protected

Convert runway verts to identifier.

void makVrv::DtRunwayMarkingManager::createAndPlaceCenterlineLighting ( const DtRunwayData runwayData)
protected
void makVrv::DtRunwayMarkingManager::createAndPlaceTouchdownZone ( const DtRunwayData runwayData)
protected
void makVrv::DtRunwayMarkingManager::createAndPlaceTouchdownZoneLightBar ( const DtUniqueID  runwayId,
const DtVector position,
double  heading 
)
protected
void makVrv::DtRunwayMarkingManager::createAndPlaceEdgeLighting ( const DtRunwayData runwayData)
protected
void makVrv::DtRunwayMarkingManager::createAndPlaceThresholdLighting ( const DtRunwayData runwayData)
protected
void makVrv::DtRunwayMarkingManager::createAndPlaceApproachLighting ( const DtRunwayThresholdData runwayData)
protected
void makVrv::DtRunwayMarkingManager::createAndPlaceREIL ( const DtRunwayThresholdData runwayData)
protected
void makVrv::DtRunwayMarkingManager::createAndPlaceGroundLight ( std::string  modelDef,
DtUniqueID  runwayId,
const DtVector pos,
double  zOffset = 0.0,
double  heading = 0.0 
)
protected
DtVector makVrv::DtRunwayMarkingManager::geodeticToGeocentric ( double  lat,
double  lon,
double  alt 
) const
private
DtVector makVrv::DtRunwayMarkingManager::geodeticToCig ( const DtVector geodPos) const
private

Member Data Documentation

boost::signal<void (const std::string&)> makVrv::DtRunwayMarkingManager::signal_AerodromeCreated
boost::signal<void (DtRunwayData&)> makVrv::DtRunwayMarkingManager::signal_RunwayCreated
boost::signal<void (DtRunwayData&)> makVrv::DtRunwayMarkingManager::signal_RunwayDestroyed
boost::signal<void (DtRunwayThresholdData&)> makVrv::DtRunwayMarkingManager::signal_RunwayThresholdCreated
boost::signal<void (DtRunwayThresholdData&)> makVrv::DtRunwayMarkingManager::signal_RunwayThresholdDestroyed
DtDe& makVrv::DtRunwayMarkingManager::myDe
protected
DtSignalConnectionManager makVrv::DtRunwayMarkingManager::myConnections
protected
DtTextureAtlasIndexParser* makVrv::DtRunwayMarkingManager::myTextureAtlasIndexParser
protected
DtLockedBufferedQueue<DtRunwayData> makVrv::DtRunwayMarkingManager::myRunwayDataLockedQueue
protected
DtLockedBufferedQueue<DtRunwayThresholdData> makVrv::DtRunwayMarkingManager::myRunwayThresholdLockedQueue
protected
DtLockedBufferedQueue<DtRunwayThresholdData> makVrv::DtRunwayMarkingManager::myRunwayDisplacedThresholdLockedQueue
protected
boost::unordered_map<DtUniqueID, DtSceneObject*> makVrv::DtRunwayMarkingManager::myRunwayMarkers
protected
DtRunwayThresholdDataMap makVrv::DtRunwayMarkingManager::myRunwayThresholdData
protected
DtRunwayLightsMap makVrv::DtRunwayMarkingManager::myRunwayLights
protected
DtSceneObjectsMap makVrv::DtRunwayMarkingManager::mySceneObjs
protected

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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)