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

Public Member Functions | |
| DtTerrainSymbolUpdater () | |
| virtual | ~DtTerrainSymbolUpdater () |
| virtual void | init (DtTMArea *area) |
| Initializes the updater by setting up the update callbacks. | |
| virtual bool | calculateHeading (const DtTaitBryan &geocentricOrientation, const DtVector &disLocation, double &angle, DtVector &localHeading, DtTaitBryan &localOrientation, const Coordinate_System *cs) const |
| virtual double | greatCircleDistance (const DtVector &origin, const DtVector &end) const |
| Given radian coordinates (lon in x, lat in y, alt in z) calculate the great circle distance between the two points using the semiMajor axis of the current map datum. | |
| virtual double | headingAngleTo (const DtVector &observerPosition, const DtVector &targetPosition, const Coordinate_System &coordinateSystem) const |
| Returns the heading angle in radians from observer position to target position. | |
| virtual double | meterLengthOfDegreeOfLongitude (double lon) const |
| Returns length of a degree of longitude. Must supply value in radians. | |
| virtual double | meterLengthOfDegreeOfLatitude (double lat) const |
| Returns length of a degree of latitude. Must supply value in radians. | |
| virtual double | range (const QVector< DtPoint > *pnts, bool useGreatCircle=false) const |
| Routines to get range and bearing information. | |
Static Public Member Functions | |
| static DtTMSymbolUpdater * | create () |
| Returns a newly created instance of a DtTMSymbolUpdater. | |
| static QString | convertFromSource (const DtPoint &pnt) |
| Converts the current database point to the coordinate system currently selected by the user and returns a string that represents the single line representation of the x, y, z point. | |
| static double | elevationAngleTo (const DtVector &observerPosition, const DtVector &targetPosition, const Coordinate_System &coordinateSystem) |
| Returns the elevation angle in radians from observer position to target position. | |
| static void | updateCompassDataCb (const DtTMSymbolUpdater *updater, DtSymbol &s, const DtModelData &d, void *usr) |
| Symbol update callbacks. | |
| static void | updateTerrainDataCb (const DtTMSymbolUpdater *updater, DtSymbol &s, const DtModelData &d, void *usr) |
Protected Member Functions | |
| virtual DtSymbol * | createTerrainNodeChildSymbol (const DtSpecification &spec, const DtTerrainModelData &data, void *usr) const |
| virtual DtSymbol * | createTerrainEdgeChildSymbol (const DtTerrainModelData &data, void *usr) const |
| virtual void | updateCompassOrigin (DtSymbol &s) const |
| Given the compass symbol, update the origin (screen) to be reflective of the position on the screen, update the origin. | |
| virtual bool | updateNodeOptions (DtCompositeSymbol *comp, const DtTMDisplayOptions *opt, const DtTerrainModelData &d, void *usr) const |
| virtual bool | updateEdgeOptions (DtCompositeSymbol *comp, const DtTMDisplayOptions *opt, const DtTerrainModelData &d, void *usr) const |
| virtual void | updateNodeSymbol (DtSymbol &s, DtTerrainModelData &, void *usr) const |
| virtual void | updateNodeSymbol (DtCompositeSymbol *comp, DtTerrainModelData &, void *usr) const |
| virtual void | updateEdgeSymbol (DtSymbol &s, DtTerrainModelData &, void *usr) const |
| virtual void | updateEdgeSymbol (DtCompositeSymbol *comp, DtTerrainModelData &, void *usr) const |
| virtual void | updateSymbol (DtLineSymbol &, const DtSpecification &, DtSegmentList &, DtTerrainModelData &, void *usr) const |
| Inspect the model data to see if the point list needs to be updated. | |
| virtual void | updateSymbol (DtCircleSymbol &, const DtSpecification &, DtSegmentList &, DtTerrainModelData &, void *usr) const |
| virtual void | updateSymbol (DtBoxSymbol &, const DtSpecification &, DtSegmentList &, DtTerrainModelData &, void *usr) const |
| virtual void | updateCompassData (DtSymbol &s, const DtCompassModelData &d, void *usr) const |
| virtual void | updateTerrainData (DtSymbol &s, DtTerrainModelData &d, void *usr) const |
| virtual DtTerrainSymbolUpdater::~DtTerrainSymbolUpdater | ( | ) | [virtual] |
| static DtTMSymbolUpdater* DtTerrainSymbolUpdater::create | ( | ) | [static] |
Returns a newly created instance of a DtTMSymbolUpdater.
Reimplemented from DtTMSymbolUpdater.
| virtual void DtTerrainSymbolUpdater::init | ( | DtTMArea * | area | ) | [virtual] |
Initializes the updater by setting up the update callbacks.
Reimplemented from DtTMSymbolUpdater.
| virtual bool DtTerrainSymbolUpdater::calculateHeading | ( | const DtTaitBryan & | geocentricOrientation, |
| const DtVector & | disLocation, | ||
| double & | angle, | ||
| DtVector & | localHeading, | ||
| DtTaitBryan & | localOrientation, | ||
| const Coordinate_System * | cs | ||
| ) | const [virtual] |
| static QString DtTerrainSymbolUpdater::convertFromSource | ( | const DtPoint & | pnt | ) | [static] |
Converts the current database point to the coordinate system currently selected by the user and returns a string that represents the single line representation of the x, y, z point.
| static double DtTerrainSymbolUpdater::elevationAngleTo | ( | const DtVector & | observerPosition, |
| const DtVector & | targetPosition, | ||
| const Coordinate_System & | coordinateSystem | ||
| ) | [static] |
Returns the elevation angle in radians from observer position to target position.
Positions must be in the given coordinate system.
| virtual double DtTerrainSymbolUpdater::greatCircleDistance | ( | const DtVector & | origin, |
| const DtVector & | end | ||
| ) | const [virtual] |
Given radian coordinates (lon in x, lat in y, alt in z) calculate the great circle distance between the two points using the semiMajor axis of the current map datum.
| virtual double DtTerrainSymbolUpdater::headingAngleTo | ( | const DtVector & | observerPosition, |
| const DtVector & | targetPosition, | ||
| const Coordinate_System & | coordinateSystem | ||
| ) | const [virtual] |
Returns the heading angle in radians from observer position to target position.
Positions must be in the given coordinate system.
| virtual double DtTerrainSymbolUpdater::meterLengthOfDegreeOfLongitude | ( | double | lon | ) | const [virtual] |
Returns length of a degree of longitude. Must supply value in radians.
| virtual double DtTerrainSymbolUpdater::meterLengthOfDegreeOfLatitude | ( | double | lat | ) | const [virtual] |
Returns length of a degree of latitude. Must supply value in radians.
| virtual double DtTerrainSymbolUpdater::range | ( | const QVector< DtPoint > * | pnts, |
| bool | useGreatCircle = false |
||
| ) | const [virtual] |
Routines to get range and bearing information.
Use greatCircle calculation if flag is true. Note that the pnts must be in radians in this case with the lon in x, lat in y and alt in z
| virtual DtSymbol* DtTerrainSymbolUpdater::createTerrainNodeChildSymbol | ( | const DtSpecification & | spec, |
| const DtTerrainModelData & | data, | ||
| void * | usr | ||
| ) | const [protected, virtual] |
| virtual DtSymbol* DtTerrainSymbolUpdater::createTerrainEdgeChildSymbol | ( | const DtTerrainModelData & | data, |
| void * | usr | ||
| ) | const [protected, virtual] |
| virtual void DtTerrainSymbolUpdater::updateCompassOrigin | ( | DtSymbol & | s | ) | const [protected, virtual] |
Given the compass symbol, update the origin (screen) to be reflective of the position on the screen, update the origin.
| virtual bool DtTerrainSymbolUpdater::updateNodeOptions | ( | DtCompositeSymbol * | comp, |
| const DtTMDisplayOptions * | opt, | ||
| const DtTerrainModelData & | d, | ||
| void * | usr | ||
| ) | const [protected, virtual] |
| virtual bool DtTerrainSymbolUpdater::updateEdgeOptions | ( | DtCompositeSymbol * | comp, |
| const DtTMDisplayOptions * | opt, | ||
| const DtTerrainModelData & | d, | ||
| void * | usr | ||
| ) | const [protected, virtual] |
| virtual void DtTerrainSymbolUpdater::updateNodeSymbol | ( | DtSymbol & | s, |
| DtTerrainModelData & | , | ||
| void * | usr | ||
| ) | const [protected, virtual] |
| virtual void DtTerrainSymbolUpdater::updateNodeSymbol | ( | DtCompositeSymbol * | comp, |
| DtTerrainModelData & | , | ||
| void * | usr | ||
| ) | const [protected, virtual] |
| virtual void DtTerrainSymbolUpdater::updateEdgeSymbol | ( | DtSymbol & | s, |
| DtTerrainModelData & | , | ||
| void * | usr | ||
| ) | const [protected, virtual] |
| virtual void DtTerrainSymbolUpdater::updateEdgeSymbol | ( | DtCompositeSymbol * | comp, |
| DtTerrainModelData & | , | ||
| void * | usr | ||
| ) | const [protected, virtual] |
| virtual void DtTerrainSymbolUpdater::updateSymbol | ( | DtLineSymbol & | , |
| const DtSpecification & | , | ||
| DtSegmentList & | , | ||
| DtTerrainModelData & | , | ||
| void * | usr | ||
| ) | const [protected, virtual] |
Inspect the model data to see if the point list needs to be updated.
If it does, then update the point list in both the model data and the symbol
| virtual void DtTerrainSymbolUpdater::updateSymbol | ( | DtCircleSymbol & | , |
| const DtSpecification & | , | ||
| DtSegmentList & | , | ||
| DtTerrainModelData & | , | ||
| void * | usr | ||
| ) | const [protected, virtual] |
| virtual void DtTerrainSymbolUpdater::updateSymbol | ( | DtBoxSymbol & | , |
| const DtSpecification & | , | ||
| DtSegmentList & | , | ||
| DtTerrainModelData & | , | ||
| void * | usr | ||
| ) | const [protected, virtual] |
| virtual void DtTerrainSymbolUpdater::updateCompassData | ( | DtSymbol & | s, |
| const DtCompassModelData & | d, | ||
| void * | usr | ||
| ) | const [protected, virtual] |
| Symbol | s must be a DtPointObjectSymbol |
| virtual void DtTerrainSymbolUpdater::updateTerrainData | ( | DtSymbol & | s, |
| DtTerrainModelData & | d, | ||
| void * | usr | ||
| ) | const [protected, virtual] |
| Symbol | s must be a DtCompositeSymbol |
| static void DtTerrainSymbolUpdater::updateCompassDataCb | ( | const DtTMSymbolUpdater * | updater, |
| DtSymbol & | s, | ||
| const DtModelData & | d, | ||
| void * | usr | ||
| ) | [static] |
Symbol update callbacks.
Updater must be a DtTerrainSymbolUpdater object type
| Updater | must be a DtTerrainSymbolUpdater |
| Symbol | s must be a DtPointObjectSymbol |
| Model | data d must be a DtCompassModelData |
| static void DtTerrainSymbolUpdater::updateTerrainDataCb | ( | const DtTMSymbolUpdater * | updater, |
| DtSymbol & | s, | ||
| const DtModelData & | d, | ||
| void * | usr | ||
| ) | [static] |
| Updater | must be a DtTerrainSymbolUpdater |
| Symbol | s must be a DtCompositeSymbol |
| Model | data d must be a DtTerrainModelData |