![]() |
VR-Forces Development_Version Class Documentation
|

Public Types | |
| enum | RunwaySignType { SIDED_SINGLE, SIDED_DOUBLE } |
| enum | RunwaySignPlacement { PLACEMENT_LEFT, PLACEMENT_RIGHT } |
| typedef std::vector < DtTaxiwaySignLetter > | TaxiwaySignSide |
| typedef boost::unordered_map < DtUniqueID, DtOsgArticulatedModel * > | TaxiwaySignsMap |
| typedef boost::unordered_map < DtUniqueID, std::vector < DtOsgArticulatedModel * > > | RunwaySignMap |
| typedef boost::unordered_map < DtUniqueID, DtSceneObject * > | SceneObjectMap |
Public Member Functions | |
| virtual | ~DtTaxiwaySignManager () |
| DTOR. | |
| virtual void | slot_TaxiwaySignCreated (DtTaxiwaySignData &signData) |
| Called when Aerodrome creates the Taxiway sign. | |
| virtual void | slot_TaxiwaySignDestroyed (DtTaxiwaySignData &signData) |
| Called when Aerodrome removes the Taxiway sign. | |
| virtual void | slot_RunwayCreated (DtRunwayData &runwayData) |
| Called when Aerodrome creates the runway so that we can add distance remaining signs. | |
| virtual void | slot_RunwayDestroyed (DtRunwayData &runwayData) |
| Called when Aerodrome removes the runway so that we can remove distance remaining signs. | |
| virtual std::size_t | hashPos (DtVector &pos) |
| Convert position to identifier. | |
| virtual std::size_t | hashRunwayData (DtRunwayData &data) |
| Convert runway verts to identifier. | |
| virtual void | setTaxiwayDesignator (DtOsgArticulatedModel *taxiwaySign, const std::string &atlasFileName, const std::string &text) |
| Take the sign text in Xplane format, parse it and apply it to the model. | |
| virtual void | setModelDefinitionForSize (unsigned int size, const std::string &modelDef) |
| What model definition goes with which sign size (size = 1,2,3,4,5) default is SignTaxiwaySize1, SignTaxiwaySize2,... | |
| virtual void | clearModelDefinitionForSize (unsigned int size) |
| Clear the default set of sign size model definition names that the DtTaxiwaySignManager uses, keeps default model definition. | |
| virtual void | setDefaultModelDefinition (const std::string &modelDef) |
| If we can't find a model for a particular size, what is the default. | |
| virtual void | setSignMaxSegments (unsigned int maxSegments) |
| The taxiway signs are based on 9 segments with 2 letters per segment However, other models might have more or less and more or less letters per segment How many segment are in the model used to represent the signs. | |
| virtual void | setSignCharactersPerSegment (unsigned int charsPerSegment) |
| How many characters are in each modeled sign segment. | |
| virtual void | setTaxiwaySignUVOffsets (DtOsgArticulatedModel *taxiwaySign, TaxiwaySignSide &sign, unsigned int numChars) |
| Set the uv offsets for each letter of the sign in the model using a dtxc file. | |
| virtual bool | setMaxSignLimits (unsigned int &numSegments, unsigned int &numChars) |
| Given the numebr of chars on the largest side of the sign clamp the number of chars and number of segments to fit the max the model can handle. | |
| virtual void | updateTaxiwaySignManager () |
| Take element from the queue and made DtOsgArticulatedModels on the main thread (DtTaxiwaySignManager is part of osgEarth threads) | |
| virtual void | createTaxiwaySign (DtTaxiwaySignData &signData) |
| Take information about the sign (size, letters, etc. | |
| virtual void | createRunwaySigns (DtRunwayData &runwayData, const RunwaySignType signType, const RunwaySignPlacement signPlacement) |
| Given a position and heading, place signs on either side of the runway. | |
| virtual void | createAndPlaceHalfwayRunwayDistanceSign (const DtRunwayData &runwayData, const double signWidthOffset, const RunwaySignPlacement signPlacement, DtUniqueID runwayID) |
| virtual void | extractRunwayStartAndForward (const DtRunwayData &runwayData, DtVector ¢erStartPoint, DtVector &forwardVector, const RunwaySignPlacement signPlacement) |
| Calculate the starting point and forward vector to step for placing signs on runways. | |
| virtual void | generateSignLocationsAndStrings (std::vector< DtVector > &signLocations, std::vector< std::string > &signLabels, const double signSpacing, const double signOffset, RunwaySignType signType, const RunwaySignPlacement signPlacement, const DtRunwayData &runwayData) |
| Calculate the sign locations and labels for a side of the runway. | |
| virtual DtVector | generateRightVectorAtPos (const DtVector &currPos, const double headingDeg) |
| Generate a right vector given a position and heading from north (in degrees) | |
| virtual void | createAndPlaceRunwayDistanceSign (const DtVector &signLoc, const std::string &label, const RunwaySignPlacement signPlacement, const double heading, const unsigned int signSize, DtUniqueID runwayID) |
| Create a sign with a given label for a particular runway. | |
| virtual std::string | generateSignLabel (unsigned int signNum) |
| Generate runway distance signs label (ex. | |
| virtual DtVector | calcRunwayHalfwaySignPos (const double signOffset, const RunwaySignPlacement signPlacement, const DtRunwayData &runwayData) |
| Calculate the sign position for a half way marker. | |
| double | offsetForDistanceSignSize (unsigned int size) |
| Calculate the offset from the side of the runway for the runway distance marker based on size (4 or 5) | |
| DtVector | geodeticToCig (const DtVector &pos) const |
| Convert (lon,lat,elevation) -> database coordinates. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtTaxiwaySignManager & | instance (DtDe &anIG) |
| Get an instance of the taxiway sign manager. | |
Public Attributes | |
| boost::signal< void(DtTaxiwaySignData &)> | signal_TaxiwaySignDeleted |
| boost::signal< void(DtTaxiwaySignData &)> | signal_TaxiwaySignCreated |
Protected Member Functions | |
| DtTaxiwaySignManager (DtDe &de) | |
Protected Attributes | |
| DtDe & | myDe |
| DtSignalConnectionManager | myConnections |
| DtTaxiwaySignParser * | mySignParser |
| DtTextureAtlasIndexParser * | myTaxiwaySignTextureAtlasParser |
| DtLockedBufferedQueue < DtTaxiwaySignData > | mySignDataLockedQueue |
| DtLockedBufferedQueue < DtRunwayData > | myRunwayDataLockedQueue |
| TaxiwaySignsMap | myTaxiwaySigns |
| RunwaySignMap | myRunwaySigns |
| SceneObjectMap | mySceneObjs |
| std::map< unsigned int, std::string > | myTaxiwaySignModelDefinitions |
| std::string | myDefaultTaxiwaySignModelDefinition |
| unsigned int | myTaxiwaySignModelMaxSegments |
| unsigned int | myTaxiwaySignModelLettersPerSegment |
| typedef std::vector<DtTaxiwaySignLetter> makVrv::DtTaxiwaySignManager::TaxiwaySignSide |
| typedef boost::unordered_map<DtUniqueID, DtOsgArticulatedModel* > makVrv::DtTaxiwaySignManager::TaxiwaySignsMap |
| typedef boost::unordered_map<DtUniqueID, std::vector<DtOsgArticulatedModel*> > makVrv::DtTaxiwaySignManager::RunwaySignMap |
| typedef boost::unordered_map<DtUniqueID, DtSceneObject* > makVrv::DtTaxiwaySignManager::SceneObjectMap |
|
virtual |
DTOR.
|
protected |
|
static |
Get an instance of the taxiway sign manager.
|
virtual |
Called when Aerodrome creates the Taxiway sign.
|
virtual |
Called when Aerodrome removes the Taxiway sign.
|
virtual |
Called when Aerodrome creates the runway so that we can add distance remaining signs.
|
virtual |
Called when Aerodrome removes the runway so that we can remove distance remaining signs.
|
virtual |
Convert position to identifier.
|
virtual |
Convert runway verts to identifier.
|
virtual |
Take the sign text in Xplane format, parse it and apply it to the model.
|
virtual |
What model definition goes with which sign size (size = 1,2,3,4,5) default is SignTaxiwaySize1, SignTaxiwaySize2,...
|
virtual |
Clear the default set of sign size model definition names that the DtTaxiwaySignManager uses, keeps default model definition.
|
virtual |
If we can't find a model for a particular size, what is the default.
|
virtual |
The taxiway signs are based on 9 segments with 2 letters per segment However, other models might have more or less and more or less letters per segment How many segment are in the model used to represent the signs.
|
virtual |
How many characters are in each modeled sign segment.
|
virtual |
Set the uv offsets for each letter of the sign in the model using a dtxc file.
|
virtual |
Given the numebr of chars on the largest side of the sign clamp the number of chars and number of segments to fit the max the model can handle.
|
virtual |
Take element from the queue and made DtOsgArticulatedModels on the main thread (DtTaxiwaySignManager is part of osgEarth threads)
|
virtual |
Take information about the sign (size, letters, etc.
and create and configure the model)
|
virtual |
Given a position and heading, place signs on either side of the runway.
|
virtual |
|
virtual |
Calculate the starting point and forward vector to step for placing signs on runways.
|
virtual |
Calculate the sign locations and labels for a side of the runway.
|
virtual |
Generate a right vector given a position and heading from north (in degrees)
|
virtual |
Create a sign with a given label for a particular runway.
|
virtual |
Generate runway distance signs label (ex.
" 1" instead of "1" for nicer formatting on the sign
|
virtual |
Calculate the sign position for a half way marker.
| double makVrv::DtTaxiwaySignManager::offsetForDistanceSignSize | ( | unsigned int | size | ) |
Calculate the offset from the side of the runway for the runway distance marker based on size (4 or 5)
Convert (lon,lat,elevation) -> database coordinates.
| boost::signal<void ( DtTaxiwaySignData& )> makVrv::DtTaxiwaySignManager::signal_TaxiwaySignDeleted |
| boost::signal<void ( DtTaxiwaySignData& )> makVrv::DtTaxiwaySignManager::signal_TaxiwaySignCreated |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |