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 Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Static 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. More...
 
virtual void updateRunwayManager (const float budget)
 Called by DtOsgRenderer::updateAerodrome so creation can be done via the main thread. More...
 
virtual void slot_AerodromeCreated (const std::string &icao)
 
virtual void slot_AerodromeStartInitializing (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. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Static Public Member Functions

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

Public Attributes

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

Protected Types

typedef boost::unordered_map
< std::string, std::string > 
ModelDefsByNameMap
 

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. More...
 
bool createAndPlaceCenterlineLighting (DtRunwayData &runwayData, const float budget)
 
void createAndPlaceTouchdownZone (const DtRunwayData &runwayData)
 
void createAndPlaceTouchdownZoneLightBar (const DtUniqueID runwayId, const std::string &groupName, const DtVector &position, double heading)
 
bool createAndPlaceEdgeLighting (DtRunwayData &runwayData, const float budget)
 
void createAndPlaceThresholdAndEndLighting (const DtRunwayData &runwayData)
 
void createAndPlaceApproachLighting (const DtRunwayThresholdData &runwayData)
 
void createAndPlaceREIL (const DtRunwayThresholdData &runwayData)
 
void createAndPlaceGroundLight (DtModelDefinition *modelDef, DtUniqueID runwayId, const std::string &groupName, const DtVector &pos, double zOffset=0.0, double heading=0.0)
 
bool readModelDefsByNameFile (const std::string &path, const std::string &modelDefsFilename)
 

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
 
bool myAerodromeCreated
 
ModelDefsByNameMap myModelDefsByNameMap
 
std::vector< std::string > myNewRunways
 
std::vector< std::string > myNewRunwayPolygons
 
osg::Timer myCurrentFrameBudgetTimer
 

Static Protected Attributes

static const charRunwayLightMapFilename
 

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
typedef boost::unordered_map<std::string, std::string> makVrv::DtRunwayMarkingManager::ModelDefsByNameMap
protected

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 ( const float  budget)
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_AerodromeStartInitializing ( 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.

bool makVrv::DtRunwayMarkingManager::createAndPlaceCenterlineLighting ( DtRunwayData runwayData,
const float  budget 
)
protected
void makVrv::DtRunwayMarkingManager::createAndPlaceTouchdownZone ( const DtRunwayData runwayData)
protected
void makVrv::DtRunwayMarkingManager::createAndPlaceTouchdownZoneLightBar ( const DtUniqueID  runwayId,
const std::string &  groupName,
const DtVector position,
double  heading 
)
protected
bool makVrv::DtRunwayMarkingManager::createAndPlaceEdgeLighting ( DtRunwayData runwayData,
const float  budget 
)
protected
void makVrv::DtRunwayMarkingManager::createAndPlaceThresholdAndEndLighting ( const DtRunwayData runwayData)
protected
void makVrv::DtRunwayMarkingManager::createAndPlaceApproachLighting ( const DtRunwayThresholdData runwayData)
protected
void makVrv::DtRunwayMarkingManager::createAndPlaceREIL ( const DtRunwayThresholdData runwayData)
protected
void makVrv::DtRunwayMarkingManager::createAndPlaceGroundLight ( DtModelDefinition modelDef,
DtUniqueID  runwayId,
const std::string &  groupName,
const DtVector pos,
double  zOffset = 0.0,
double  heading = 0.0 
)
protected
bool makVrv::DtRunwayMarkingManager::readModelDefsByNameFile ( const std::string &  path,
const std::string &  modelDefsFilename 
)
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::signalslib::signal<void (const std::string&)> makVrv::DtRunwayMarkingManager::signal_AerodromeCreated
boost::signalslib::signal<void (DtRunwayData&)> makVrv::DtRunwayMarkingManager::signal_RunwayCreated
boost::signalslib::signal<void (DtRunwayData&)> makVrv::DtRunwayMarkingManager::signal_RunwayDestroyed
boost::signalslib::signal<void (DtRunwayThresholdData&)> makVrv::DtRunwayMarkingManager::signal_RunwayThresholdCreated
boost::signalslib::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
bool makVrv::DtRunwayMarkingManager::myAerodromeCreated
protected
ModelDefsByNameMap makVrv::DtRunwayMarkingManager::myModelDefsByNameMap
protected
const char* makVrv::DtRunwayMarkingManager::RunwayLightMapFilename
staticprotected
std::vector<std::string> makVrv::DtRunwayMarkingManager::myNewRunways
protected
std::vector<std::string> makVrv::DtRunwayMarkingManager::myNewRunwayPolygons
protected
osg::Timer makVrv::DtRunwayMarkingManager::myCurrentFrameBudgetTimer
protected

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)