VR-Forces 4.6.1 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.
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_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.
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 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.
void createAndPlaceCenterlineLighting (const DtRunwayData &runwayData)
void createAndPlaceTouchdownZone (const DtRunwayData &runwayData)
void createAndPlaceTouchdownZoneLightBar (const DtUniqueID runwayId, const std::string &groupName, const DtVector &position, double heading)
void createAndPlaceEdgeLighting (const DtRunwayData &runwayData)
void createAndPlaceThresholdAndEndLighting (const DtRunwayData &runwayData)
void createAndPlaceApproachLighting (const DtRunwayThresholdData &runwayData)
void createAndPlaceREIL (const DtRunwayThresholdData &runwayData)
void createAndPlaceGroundLight (const std::string &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

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 ( )
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.

void makVrv::DtRunwayMarkingManager::createAndPlaceCenterlineLighting ( const DtRunwayData runwayData)
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
void makVrv::DtRunwayMarkingManager::createAndPlaceEdgeLighting ( const DtRunwayData runwayData)
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 ( const std::string &  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::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
bool makVrv::DtRunwayMarkingManager::myAerodromeCreated
protected
ModelDefsByNameMap makVrv::DtRunwayMarkingManager::myModelDefsByNameMap
protected
const char* makVrv::DtRunwayMarkingManager::RunwayLightMapFilename
staticprotected

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)