55 void setModeKey(
const std::string& modeKey );
58 const std::string& modeKey()
const;
61 void setName(
const std::string& name );
64 const std::string& name()
const;
68 void setIs2D(
bool trueOrFalse );
74 void setModelSet(
int modelSet );
80 void setKeyMap(
const std::string& keyMap );
83 const std::string& keyMap()
const;
86 const std::string& sensor()
const;
88 void setSensor(
const std::string& sensor);
92 int gainPrecision()
const;
94 void setGainPrecision(
int amt );
98 int orbitSpeedGain()
const;
100 void setOrbitSpeedGain(
int gain );
104 int linearScaledSpeedGain()
const;
106 void setLinearScaledSpeedGain(
int gain );
110 int linearUnscaledSpeedGain()
const;
112 void setLinearUnscaledSpeedGain(
int gain );
116 int rotationSpeedGain()
const;
118 void setRotationSpeedGain(
int gain );
122 double modelScaleFactor()
const;
124 void setModelScaleFactor(
double modelScaleFactor );
128 const std::string& modelScaleType()
const;
130 void setModelScaleType(
const std::string& modelScaleType );
134 double maxModelScaleFactor()
const;
136 void setMaxModelScaleFactor(
double maxModelScaleFactor );
140 void setObserverSetting(
const std::string& key,
bool enabled );
142 bool observerSetting(
const std::string& key )
const;
146 void setSpeedScalingMode(
unsigned int mode );
148 unsigned int speedScalingMode()
const;
152 void setSpeedScalingMslModeOffset(
double offset );
154 double speedScalingMslModeOffset()
const;
158 void setCameraShakeEnabled(
bool enabled );
160 bool cameraShakeEnabled()
const;
164 void setCameraShakeIntensity(
double offset );
166 double cameraShakeIntensity()
const;
170 void setLodScaleCenterEnabled(
bool enabled);
172 bool lodScaleCenterEnabled()
const;
176 void setLodScaleCenterMagMinLimit(
double limit);
178 double lodScaleCenterMagMinLimit()
const;
182 void setIsCameraLocationIncluded(
bool includeCameraLocation);
184 double isCameraLocationIncluded()
const;
188 void setIncludedFocusPoints(std::bitset<7> includedFocusPoints);
190 std::bitset<7> includedFocusPoints()
const;
200 void setIsScaledCameraDistanceUsed(
double limit);
202 double isScaledCameraDistanceUsed()
const;
206 void setLodCenterMinimumAngleFromViewVector(
double minAngle);
208 double lodCenterMinimumAngleFromViewVector()
const;
212 unsigned int northType()
const;
214 void setNorthType(
unsigned int northType);
218 void setColorControlEnabled(
bool enabled);
220 bool colorControlEnabled()
const;
224 void setColorControlInvert(
bool enabled);
226 bool colorControlInvert()
const;
230 void setColorControlContrast(
double value);
232 double colorControlContrast()
const;
236 void setColorControlBrightness(
double value);
238 double colorControlBrightness()
const;
242 void setColorControlColorMix(
double value);
244 double colorControlColorMix()
const;
251 friend class boost::serialization::access;
253 template <
typename Archive>
256 ar & BOOST_SERIALIZATION_NVP(myModeKey);
257 ar & BOOST_SERIALIZATION_NVP(myName);
258 ar & BOOST_SERIALIZATION_NVP(myIs2D);
259 ar & BOOST_SERIALIZATION_NVP(myModelSet);
260 ar & BOOST_SERIALIZATION_NVP(myKeyMap);
261 ar & BOOST_SERIALIZATION_NVP(myOrbitSpeedGain);
262 ar & BOOST_SERIALIZATION_NVP(myLinearScaledSpeedGain);
263 ar & BOOST_SERIALIZATION_NVP(myLinearUnscaledSpeedGain);
264 ar & BOOST_SERIALIZATION_NVP(myRotationSpeedGain);
265 ar & BOOST_SERIALIZATION_NVP(myGainPrecision);
268 ar & BOOST_SERIALIZATION_NVP(myModelScaleFactor);
274 ar & BOOST_SERIALIZATION_NVP(myModelScaleType);
276 ar & BOOST_SERIALIZATION_NVP(myMaxModelScaleFactor);
280 ar & BOOST_SERIALIZATION_NVP(mySensor);
282 ar & BOOST_SERIALIZATION_NVP(myObserverSettingsMap);
285 ar & BOOST_SERIALIZATION_NVP(mySpeedScalingMode);
286 ar & BOOST_SERIALIZATION_NVP(mySpeedScalingMslModeOffset);
290 ar & BOOST_SERIALIZATION_NVP(myCameraShakeEnabled);
291 ar & BOOST_SERIALIZATION_NVP(myCameraShakeIntensity);
295 ar & BOOST_SERIALIZATION_NVP(myMutableModelScaleTypeString);
299 ar & BOOST_SERIALIZATION_NVP(myLodScaleCenterEnabled);
300 ar & BOOST_SERIALIZATION_NVP(myLodScaleCenterMagMinLimit);
304 ar & BOOST_SERIALIZATION_NVP(myNorthType);
308 ar& BOOST_SERIALIZATION_NVP(myColorControlEnabled);
309 ar& BOOST_SERIALIZATION_NVP(myColorControlInvert);
310 ar& BOOST_SERIALIZATION_NVP(myColorControlContrast);
311 ar& BOOST_SERIALIZATION_NVP(myColorControlBrightness);
312 ar& BOOST_SERIALIZATION_NVP(myColorControlColorMix);
316 ar & BOOST_SERIALIZATION_NVP(myLodCenterIsCameraLocationUsed);
317 ar & BOOST_SERIALIZATION_NVP(myLodCenterIncludedFocusPoints);
318 ar & BOOST_SERIALIZATION_NVP(myLodCenterDistanceToUseFunction);
319 ar & BOOST_SERIALIZATION_NVP(myLodCenterIsScaledCameraDistanceUsed);
320 ar & BOOST_SERIALIZATION_NVP(myLodCenterMinimumAngleFromViewVector);
int myLinearUnscaledSpeedGain
Definition: DtObserverModeRecord.h:333
bool myColorControlEnabled
Definition: DtObserverModeRecord.h:347
bool myLodScaleCenterEnabled
Definition: DtObserverModeRecord.h:344
void serialize(Archive &ar, unsigned int version)
Definition: DtObserverModeRecord.h:254
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 3)
DtObserverModeRecord is the serializable record used to read and write a Visual Mode's Configuration ...
Definition: DtObserverModeRecord.h:24
std::string myKeyMap
Definition: DtObserverModeRecord.h:329
double myModelScaleFactor
Definition: DtObserverModeRecord.h:336
float myColorControlColorMix
Definition: DtObserverModeRecord.h:351
unsigned myModelScaleType
Definition: DtObserverModeRecord.h:338
double myCameraShakeIntensity
Definition: DtObserverModeRecord.h:343
unsigned int myNorthType
Definition: DtObserverModeRecord.h:346
DtLodCenterDistanceToUseFunction
Enumeration which defines the functions that can be used when picking between the camera distance and...
Definition: DtObserverModeRecord.h:29
bool myLodCenterIsCameraLocationUsed
Definition: DtObserverModeRecord.h:353
bool myIs2D
Definition: DtObserverModeRecord.h:328
Contains DLL export macros.
int myGainPrecision
Definition: DtObserverModeRecord.h:335
ObserverSettingsMap myObserverSettingsMap
Definition: DtObserverModeRecord.h:337
std::string mySensor
Definition: DtObserverModeRecord.h:327
int myModelSet
Definition: DtObserverModeRecord.h:330
std::string myModeKey
Definition: DtObserverModeRecord.h:325
int myOrbitSpeedGain
Definition: DtObserverModeRecord.h:331
float myColorControlBrightness
Definition: DtObserverModeRecord.h:350
int myRotationSpeedGain
Definition: DtObserverModeRecord.h:334
double myMaxModelScaleFactor
Definition: DtObserverModeRecord.h:339
bool myCameraShakeEnabled
Definition: DtObserverModeRecord.h:342
bool myLodCenterIsScaledCameraDistanceUsed
Definition: DtObserverModeRecord.h:356
std::string myName
Definition: DtObserverModeRecord.h:326
double mySpeedScalingMslModeOffset
Definition: DtObserverModeRecord.h:341
std::string myMutableModelScaleTypeString
Definition: DtObserverModeRecord.h:362
std::map< std::string, bool > ObserverSettingsMap
Definition: DtObserverModeRecord.h:37
const char int mode
Definition: ioapi.h:38
float myColorControlContrast
Definition: DtObserverModeRecord.h:349
double myLodScaleCenterMagMinLimit
Definition: DtObserverModeRecord.h:345
std::string myLodCenterIncludedFocusPoints
Definition: DtObserverModeRecord.h:354
voidpf uLong offset
Definition: ioapi.h:42
unsigned mySpeedScalingMode
Definition: DtObserverModeRecord.h:340
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31
double myLodCenterMinimumAngleFromViewVector
Definition: DtObserverModeRecord.h:357
int myLinearScaledSpeedGain
Definition: DtObserverModeRecord.h:332
std::string myLodCenterDistanceToUseFunction
Definition: DtObserverModeRecord.h:355
bool myColorControlInvert
Definition: DtObserverModeRecord.h:348