VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVirtualRealitySettingsInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
13 
15 
16 #include <vrvUtil/signalslib.h>
17 #include <vrvUtil/DtUnicode.h>
18 
19 #include <string>
20 #include <vector>
21 
22 namespace makVrv
23 {
25  class DT_DLL_VRVVRQT DtVirtualRealitySettingsInterface
26  {
27  public:
30 
32 
33  boost::signalslib::signal<void (bool)> signal_enabledChanged;
35 
37  boost::signalslib::signal<void (makArchives::DtVirtualRealitySettingsRecord::DtMirroring)> signal_mirroringChanged;
38 
40  boost::signalslib::signal<void (std::string)> signal_mirrorChannelChanged;
41 
43  boost::signalslib::signal<void (std::string)> signal_attachedObserverChanged;
44 
46  boost::signalslib::signal<void(bool)> signal_flipOverlaysChanged;
47 
49  boost::signalslib::signal<void(float)> signal_overlayWidthChanged;
50 
52  boost::signalslib::signal<void(float)> signal_overlayAspectChanged;
53 
55  boost::signalslib::signal<void(float)> signal_overlayDistanceChanged;
56 
58  boost::signalslib::signal<void(bool)> signal_disableDepthCopyChanged;
59 
61  boost::signalslib::signal<void(bool)> signal_enableVRSChanged;
62 
64  boost::signalslib::signal<void(int)> signal_resolutionScaleChanged;
65 
67  boost::signalslib::signal<void(bool)> signal_enableMixedRealityMaskChanged;
68 
70  boost::signalslib::signal<void(void)> signal_browseForMixedRealityDefinitionFilePushed;
71 
73  boost::signalslib::signal<void(bool)> signal_enableRealWorldDepthTestingChanged;
74 
76  boost::signalslib::signal<void(bool)> signal_disableFocusViewsChanged;
77 
79  boost::signalslib::signal<void(bool)> signal_disableAAChanged;
80 
82 
84 
85 
87  virtual void setEnabled(bool enabled) = 0;
88 
90  virtual void setMirroring(makArchives::DtVirtualRealitySettingsRecord::DtMirroring view) = 0;
91 
93  virtual void setMirrorChannel(const std::string& channelName) = 0;
94 
96  virtual void setVirtualRealityAvailable(bool vrAvailable, bool mrAvailable, bool depthAvailable) = 0;
97 
99  virtual void setChannelNames(const std::vector<std::string>& names) = 0;
100 
102  virtual void setObserverNames(const std::vector<std::string>& names) = 0;
103 
105  virtual void setAttachedObserver(const std::string& observerName) = 0;
106 
108  virtual void setFlipOverlay(bool flip) = 0;
109 
111  virtual void setFlipOverlayEnabled(bool enabled) = 0;
112 
114  virtual void setOverlayWidth(float width) = 0;
115 
117  virtual void setOverlayAspect(float aspect) = 0;
118 
120  virtual void setOverlayDistance(float distance) = 0;
121 
123  virtual void setDisableDepthCopy(bool disable) = 0;
124 
126  virtual void setEnableVRS(bool enable) = 0;
127 
129  virtual void setResolutionScale(int scale) = 0;
130 
132  virtual void setEnableMixedRealityMask(bool enabled) = 0;
133 
135  virtual void setMixedRealityDefinitionFilePath(const std::string& filePath) = 0;
136 
138  virtual void setEnableRealWorldDepthTesting(bool enabled) = 0;
139 
141  virtual void setDisableFocusViews(bool disabled) = 0;
142 
144  virtual void setDisableAA(bool disabled) = 0;
145 
147  };
148 }
Contains DLL export macros.
boost::signalslib::signal< void(std::string)> signal_attachedObserverChanged
called when the user changes the attached observer in the UI
Definition: DtVirtualRealitySettingsInterface.h:43
boost::signalslib::signal< void(float)> signal_overlayDistanceChanged
called when the user changes the overlay distance spinner in the UI
Definition: DtVirtualRealitySettingsInterface.h:55
boost::signalslib::signal< void(std::string)> signal_mirrorChannelChanged
called when the user changes the mirroring type in the UI
Definition: DtVirtualRealitySettingsInterface.h:40
boost::signalslib::signal< void(bool)> signal_flipOverlaysChanged
called when the user changes the flip overlay check box in the UI
Definition: DtVirtualRealitySettingsInterface.h:46
boost::signalslib::signal< void(bool)> signal_enableMixedRealityMaskChanged
called when the user changes the enable mixed reality mask check box in the UI
Definition: DtVirtualRealitySettingsInterface.h:67
boost::signalslib::signal< void(bool)> signal_disableAAChanged
called when the user changes the disable AA check box in the UI
Definition: DtVirtualRealitySettingsInterface.h:79
Contains makArchives::DtVirtualRealitySettingsRecord class.
boost::signalslib::signal< void(bool)> signal_enableVRSChanged
called when the user changes the enable vrs check box in the UI
Definition: DtVirtualRealitySettingsInterface.h:61
Interface to the VirtualReality settings GUI.
Definition: DtVirtualRealitySettingsInterface.h:25
boost::signalslib::signal< void(float)> signal_overlayAspectChanged
called when the user changes the overlay aspect spinner in the UI
Definition: DtVirtualRealitySettingsInterface.h:52
DtMirroring
Definition: DtVirtualRealitySettingsRecord.h:28
boost::signalslib::signal< void(bool)> signal_enableRealWorldDepthTestingChanged
called when the user changes the enabled real world depth testing check box in the UI ...
Definition: DtVirtualRealitySettingsInterface.h:73
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points. Coordinates are in local database coordinates The coordinat...
boost::signalslib::signal< void(float)> signal_overlayWidthChanged
called when the user changes the overlay width spinner in the UI
Definition: DtVirtualRealitySettingsInterface.h:49
boost::signalslib::signal< void(makArchives::DtVirtualRealitySettingsRecord::DtMirroring)> signal_mirroringChanged
Called when the user changes the mirroring drop down in the UI.
Definition: DtVirtualRealitySettingsInterface.h:37
boost::signalslib::signal< void(int)> signal_resolutionScaleChanged
called when the user changes the enable vrs check box in the UI
Definition: DtVirtualRealitySettingsInterface.h:64
boost::signalslib::signal< void(bool)> signal_disableFocusViewsChanged
called when the user changes the disbale focus views check box in the UI
Definition: DtVirtualRealitySettingsInterface.h:76
boost::signalslib::signal< void(bool)> signal_disableDepthCopyChanged
called when the user changes the disable depth copy check box in the UI
Definition: DtVirtualRealitySettingsInterface.h:58
boost::signalslib::signal< void(void)> signal_browseForMixedRealityDefinitionFilePushed
called when the user clicks the browse for mixed reality mask definition file in the UI ...
Definition: DtVirtualRealitySettingsInterface.h:70

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)