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.
|
| | DtVirtualBaseClass () |
| | Do nothing constructor.
|
| virtual | ~DtVirtualBaseClass () |
| | Virtual do nothing destructor.
|