![]() |
VR-Forces Developer's Guide
|
DtGotoLogic declaration. The DtGotoWidget and DtGotoLogic work together to provide a user interface for directing the current observer to jump to either a location any of the coordinate systems we currently support; or an actual address that is used to look up a latitude/longitude by creating a geocoding session. The logic provides input coordinate systems (and the current system) to the widget; as well as the current goto type (which it may also receive FROM the widget). When a location to jump to is found, the logic determines an altitude currently hard-coded to 800 m. For stealth views, it also backs up 800m and looks down at the target location.

Public Member Functions | |
| DtGotoLogic (DtDe &de, DtGotoWidgetInterface *iface) | |
| DtGotoLogic ()=delete | |
| DtGotoLogic (const DtGotoLogic &orig)=delete | |
| DtGotoLogic & | operator= (const DtGotoLogic &orig)=delete |
| virtual | ~DtGotoLogic () |
| virtual void | initialize () |
Protected Member Functions | |
| virtual void | slot_gotoLocation (double lat, double lon) |
| virtual void | slot_requestJumpToAddress (const DtUnicode &address) |
| virtual void | slot_gotoTypeChanged (GotoType addressOrLocation) |
| virtual void | slot_locationEntryTypeChanged (makArchives::DtDisplayUnitsSettingsRecord::CoordSys newSys) |
| virtual void | slot_activate (DtDe *de) override |
| virtual void | slot_deactivate (DtDe *de) override |
| bool | processPolygon (int type, OGRGeometryH geometry, DtExtent &extent) |
| virtual void | slot_coordinateSystemChanged () |
| makVrv::DtGotoLogic::DtGotoLogic | ( | DtDe & | de, |
| DtGotoWidgetInterface * | iface | ||
| ) |
|
delete |
|
delete |
Copy CTOR ( Not implemented )
|
virtual |
Virtual DTOR.
|
delete |
Assignment operator ( Not implemented )
|
virtual |
Initialize the logic module. This method makes connections to all the DtGotoWidget signals of interest.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
This will be called when the DtDe has been created and initialized. This calls slot_coordinateSystemChanged and then provides the known coordinate systems to the widget. It also sets the starting location input widget to match the current location display system.
|
overrideprotectedvirtual |
Called when the DtDe is about to be destroyed. This is a no-op here, but required to override.
|
protected |
If the geocoding request returns a polygon, the method processes it and finds the extents (the center of which will be used as the location to jump to)
|
protectedvirtual |
slot for when the coordinate system changes
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
local clone of the system wide coordinate system. for thread safety.