VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGotoLogic.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrvCoreQt/vrvCoreQt.h>
14 
16 
18 
20 
22 
23 #include <string>
24 
25 class DtExtent;
26 
27 typedef struct _OGRGeocodingSessionHS *OGRGeocodingSessionH;
28 typedef void *OGRGeometryH;
29 
30 namespace makVrv
31 {
32  class DtDe;
33  class DtGotoWidgetInterface;
34  class DtUnicode;
35  class DtCoordinateSystem;
36 
46  {
47  public:
49 
50  // \brief default constructor
51  DtGotoLogic() = delete;
52 
54  DtGotoLogic(const DtGotoLogic& orig) = delete;
55 
57  DtGotoLogic& operator = (const DtGotoLogic& orig) = delete;
58 
60  virtual ~DtGotoLogic();
61 
63  virtual void initialize();
64 
66  virtual void setHeightAndHorizontalOffsets( double height, double horizontal );
67 
68  protected:
69 
70  // Slot connected to the signal raised by the widget when the user has entered a location to jump to
71  virtual void slot_gotoLocation(double lat, double lon);
72 
73  // Slot connected to the signal raised by the widget when the user has entered an address to jump to
74  virtual void slot_requestJumpToAddress(const DtUnicode& address);
75 
76  // Slot connected to the signal raised by the widget when the user changes to Goto Type they want to use
77  virtual void slot_gotoTypeChanged(GotoType addressOrLocation);
78 
79  // Slot connected to the signal raised by the widget when the user changes location coordinate system type they want to use
80  virtual void slot_locationEntryTypeChanged(makArchives::DtDisplayUnitsSettingsRecord::CoordSys newSys);
81 
85  virtual void slot_activate(DtDe* de) override;
86 
89  virtual void slot_deactivate(DtDe* de) override;
90 
93  bool processPolygon(int type, OGRGeometryH geometry, DtExtent& extent);
94 
96  virtual void slot_coordinateSystemChanged();
97 
98  protected:
106 
108 
111  DtCoordinateSystem* myDatabaseCoordinateSystem = nullptr;
112 
113  };
114 }
OGRGeocodingSessionH mySession
Definition: DtGotoLogic.h:102
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
DtDe & myDe
Definition: DtGotoLogic.h:99
Contains makVrv::DtSubjectObserver class.
makArchives::DtDisplayUnitsSettingsRecord::CoordSys myLocationInputCoordSys
Definition: DtGotoLogic.h:107
void * OGRGeometryH
Definition: DtGotoLogic.h:28
DtGotoLogic declaration. The DtGotoWidget and DtGotoLogic work together to provide a user interface f...
Definition: DtGotoLogic.h:45
double myHorizontalOffset
Definition: DtGotoLogic.h:104
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
The DtExtent represents an axis-aligned 3d bounding box.
Definition: extent.h:43
Contains DLL export macros.
CoordSys
Enumeration of the different coordinate system types.
Definition: DtDisplayUnitsSettingsRecord.h:30
DtGotoWidgetInterface * myInterface
Definition: DtGotoLogic.h:100
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
struct _OGRGeocodingSessionHS * OGRGeocodingSessionH
Definition: DtGotoLogic.h:27
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40
Base class to provide boost signal/slot management.
GotoType
Enumeration for the way the location to go to is currently being input.
Definition: DtGotoWidgetInterface.h:24
double myHeightOffset
Definition: DtGotoLogic.h:103
GotoType myCurrentGotoType
Definition: DtGotoLogic.h:105
Abstract interface for DtGotoWidget. This defines the interface that will be used by the DtGotoLogic ...
Definition: DtGotoWidgetInterface.h:36
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Contains the DtDisplayUnitsSettingsRecord class declaration.
DtSignalConnectionManager mySignalConnectionManager
Definition: DtGotoLogic.h:101

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)