VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtObserverViewsWidgetInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCoreQt/vrvCoreQt.h>
12 #include <vrvCore/DtUniqueID.h>
15 #include <vrvUtil/DtUnicode.h>
16 
17 #include <vector>
18 
19 namespace makVrv
20 {
21  class DtObserverViewInfoViewerData;
25  {
26  public:
27 
30 
31 
32 
34  virtual void insertObserverView(int index, const DtObserverViewInfoViewerData& observerData) = 0;
35 
37  virtual void clearObserverViews() = 0;
38 
40  virtual void deleteView(const std::string&, DtObserverViewsManager::ViewProjection) = 0;
41 
43  virtual void setDefaultView(const std::string&, DtObserverViewsManager::ViewProjection) = 0;
44 
46  virtual void unSetDefaultView(const std::string&, DtObserverViewsManager::ViewProjection) = 0;
47 
49  virtual void renameObserverRecord(const std::string& newName,
50  const std::string& oldName) = 0;
51 
54  virtual void showSaveChangesMessage() = 0;
55 
58  virtual void showClearWarningMessage() = 0;
59 
62  virtual void showAssociateWarningMessage() = 0;
63 
66  virtual void showDissociateWarningMessage() = 0;
67 
73  virtual void requestSaveFilename() = 0;
74 
76  virtual void contextItemRequestSaveFilename() = 0;
77 
79  virtual void enableObserverViewsList(bool enabled) = 0;
80 
82  virtual void enableAddViewButton(bool enabled) = 0;
83 
85  virtual void enableAssociateViewsToTerrainButton(bool enabled) = 0;
86 
88  virtual void enableSaveToFileButton(bool enabled) = 0;
89 
91  virtual void enableDissociateViewsButton(bool enabled) = 0;
92 
94  virtual void enableLoadAndMergeViewsButton(bool enabled) = 0;
95 
96  // !\brief enables the "clear views" button
97  virtual void enableClearViewsButton(bool enabled) = 0;
98 
101  virtual void enableSaveButton(bool enabled) = 0;
102 
103  // !\brief enables the "Associate Views To Terrain" button
104  virtual void setAssociateViewsToTerrainButtonOnExitMessageVisible(bool visible) = 0;
105 
106  // !\brief enables the "Saved Changes Button" button
107  virtual void setSavedChangesButtonOnExitMessageVisible(bool visible) = 0;
108 
109  // !\brief return the number of observer views in the widget
110  virtual int viewListSize() = 0;
111 
112  virtual void dissociateViewFromTerrain(const std::string& viewName) = 0;
113 
114  virtual void resizeColumns() =0;
115 
117 
119  boost::signal<void()> signal_captureAndObserverView;
120 
122  boost::signal < void(const DtUnicode&, DtObserverViewsManager::ViewProjection, bool) >
124 
126  boost::signal < void()> signal_clearObserverViews;
127 
131 
135 
136 
138 
140  boost::signal <void(const DtUnicode&)> signal_saveObserverViewsFileAs;
141  boost::signal <void()> signal_saveObserverViewsFile;
142 
144  boost::signal <void(const DtUnicode&)> signal_saveSingleObserverViewsFile;
145 
147  boost::signal <void(const DtUnicode&)> signal_loadObserverViewsFile;
148 
150  boost::signal <bool(const DtUnicode&, const DtUnicode&, DtObserverViewsManager::ViewProjection)> signal_renameObserverRecord;
151 
153  boost::signal <void(const std::string&, DtObserverViewsManager::ViewProjection)> signal_rightClickedOnObserverView;
154 
156  boost::signal <void()> signal_saveLoadedFile;
157 
158  };
159 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)