VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSharedIntersectorSettings.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
15 
17 
19 
20 #include <string>
21 
22 namespace makArchives
23 {
24  class DtIntersectorSettingsRecord;
25 }
26 
27 namespace makVrv
28 {
29  class DtDe;
31 
34 
38  {
39  public:
40 
42  virtual ~DtSharedIntersectorSettings();
43 
46 
48  bool drawEnabled() const;
50  void setDrawEnabled(bool setting);
52 
54  float drawnDuration() const;
56  void setDrawnDuration(float setting);
58 
62  void setFailedIntersectorColor(const DtColorValue& color);
63  const DtColorValue& failedIntersectorColor() const;
65 
69  void setOddSegmentIntersectorColor(const DtColorValue& color);
70  const DtColorValue& oddSegmentIntersectorColor() const;
72 
76  void setEvenSegmentIntersectorColor(const DtColorValue& color);
77  const DtColorValue& evenSegmentIntersectorColor() const;
79 
81  bool paperMapIntersectionOverride() const;
85  void setPaperMapIntersectionOverride(bool setting);
87 
88 
90 
93 
95  void setFromRecord( const makArchives::DtIntersectorSettingsRecord& rec );
96 
98  void getRecord( makArchives::DtIntersectorSettingsRecord& rec ) const;
99 
101  virtual const DtIntersectorSettingsBackup* settingsBackup() const;
102 
104  virtual DtIntersectorSettingsBackup* settingsBackup();
105 
107  virtual void backup();
108 
110 
112  static const std::string& className();
113 
114  protected:
115 
120 
123 
124  protected:
125 
133  };
134 }
DtColorValue class.
bool myPaperMapIntersectionOverride
Definition: DtSharedIntersectorSettings.h:131
a read settings lock on a setting object. The object can only get read access aka const functions...
Definition: DtReadSettingsLock.h:48
DtColorValue myEvenSegmentIntersectorColor
Definition: DtSharedIntersectorSettings.h:130
The shared settings manager, is the global object responsible for managing any shared settings object...
Definition: DtSharedSettingsManager.h:42
DtColorValue myOddSegmentIntersectorColor
Definition: DtSharedIntersectorSettings.h:129
The base class for all shared settings. Actual settings class should have the following members/decla...
Definition: DtSharedSettings.h:45
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains the DtSharedSettings class declaration.
DtIntersectorSettingsBackup * mySettingsBackup
Definition: DtSharedIntersectorSettings.h:132
bool myDrawEnabled
Definition: DtSharedIntersectorSettings.h:126
The shared intersector settings.
Definition: DtSharedIntersectorSettings.h:37
a write settings lock on a setting object. The object can be read and modified, but no other threads ...
Definition: DtWriteSettingsLock.h:47
DtColorValue myFailedIntersectorColor
Definition: DtSharedIntersectorSettings.h:128
DtSharedRecordSettingsBackup< DtSharedIntersectorSettings, makArchives::DtIntersectorSettingsRecord > DtIntersectorSettingsBackup
Definition: DtSharedIntersectorSettings.h:30
Contains makArchives::DtIntersectorSettingsRecord class.
Template for Color values in [0,1] range.
Definition: DtColorValue.h:20
The makVrv::DtSharedRecordSettingsBackup is a templaced class that settings records will use in order...
Definition: DtRecordSettingsBackup.h:197
float myDrawnDuration
Definition: DtSharedIntersectorSettings.h:127
A DtIntersectorSettingsRecord contains the information to regarding intersector settings the applicat...
Definition: DtIntersectorSettingsRecord.h:18

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)