45 void setModeKey(
const std::string& modeKey );
48 const std::string& modeKey()
const;
51 void setName(
const std::string& name );
54 const std::string& name()
const;
58 void setIs2D(
bool trueOrFalse );
64 void setModelSet(
int modelSet );
70 void setKeyMap(
const std::string& keyMap );
73 const std::string& keyMap()
const;
76 const std::string& sensor()
const;
78 void setSensor(
const std::string& sensor);
82 int gainPrecision()
const;
84 void setGainPrecision(
int amt );
88 int orbitSpeedGain()
const;
90 void setOrbitSpeedGain(
int gain );
94 int linearScaledSpeedGain()
const;
96 void setLinearScaledSpeedGain(
int gain );
100 int linearUnscaledSpeedGain()
const;
102 void setLinearUnscaledSpeedGain(
int gain );
106 int rotationSpeedGain()
const;
108 void setRotationSpeedGain(
int gain );
112 double modelScaleFactor()
const;
114 void setModelScaleFactor(
double modelScaleFactor );
118 const std::string& modelScaleType()
const;
120 void setModelScaleType(
const std::string& modelScaleType );
124 double maxModelScaleFactor()
const;
126 void setMaxModelScaleFactor(
double maxModelScaleFactor );
130 void setObserverSetting(
const std::string& key,
bool enabled );
132 bool observerSetting(
const std::string& key )
const;
136 void setSpeedScalingMode(
unsigned int mode );
138 unsigned int speedScalingMode()
const;
142 void setSpeedScalingMslModeOffset(
double offset );
144 double speedScalingMslModeOffset()
const;
148 void setCameraShakeEnabled(
bool enabled );
150 bool cameraShakeEnabled()
const;
154 void setCameraShakeIntensity(
double offset );
156 double cameraShakeIntensity()
const;
160 void setLodScaleCenterEnabled(
bool enabled);
162 bool lodScaleCenterEnabled()
const;
166 void setLodScaleCenterMagMinLimit(
double limit);
168 double lodScaleCenterMagMinLimit()
const;
172 unsigned int northType()
const;
174 void setNorthType(
unsigned int northType);
181 friend class boost::serialization::access;
183 template <
typename Archive>
186 ar & BOOST_SERIALIZATION_NVP(myModeKey);
187 ar & BOOST_SERIALIZATION_NVP(myName);
188 ar & BOOST_SERIALIZATION_NVP(myIs2D);
189 ar & BOOST_SERIALIZATION_NVP(myModelSet);
190 ar & BOOST_SERIALIZATION_NVP(myKeyMap);
191 ar & BOOST_SERIALIZATION_NVP(myOrbitSpeedGain);
192 ar & BOOST_SERIALIZATION_NVP(myLinearScaledSpeedGain);
193 ar & BOOST_SERIALIZATION_NVP(myLinearUnscaledSpeedGain);
194 ar & BOOST_SERIALIZATION_NVP(myRotationSpeedGain);
195 ar & BOOST_SERIALIZATION_NVP(myGainPrecision);
198 ar & BOOST_SERIALIZATION_NVP(myModelScaleFactor);
204 ar & BOOST_SERIALIZATION_NVP(myModelScaleType);
206 ar & BOOST_SERIALIZATION_NVP(myMaxModelScaleFactor);
210 ar & BOOST_SERIALIZATION_NVP(mySensor);
212 ar & BOOST_SERIALIZATION_NVP(myObserverSettingsMap);
215 ar & BOOST_SERIALIZATION_NVP(mySpeedScalingMode);
216 ar & BOOST_SERIALIZATION_NVP(mySpeedScalingMslModeOffset);
220 ar & BOOST_SERIALIZATION_NVP(myCameraShakeEnabled);
221 ar & BOOST_SERIALIZATION_NVP(myCameraShakeIntensity);
225 ar & BOOST_SERIALIZATION_NVP(myMutableModelScaleTypeString);
229 ar & BOOST_SERIALIZATION_NVP(myLodScaleCenterEnabled);
230 ar & BOOST_SERIALIZATION_NVP(myLodScaleCenterMagMinLimit);
234 ar & BOOST_SERIALIZATION_NVP(myNorthType);
int myLinearUnscaledSpeedGain
Definition: DtObserverModeRecord.h:247
bool myLodScaleCenterEnabled
Definition: DtObserverModeRecord.h:258
void serialize(Archive &ar, unsigned int version)
Definition: DtObserverModeRecord.h:184
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 3)
DtObserverModeRecord is the serializable record used to read and write a Visual Mode's Configuration ...
Definition: DtObserverModeRecord.h:23
std::string myKeyMap
Definition: DtObserverModeRecord.h:243
double myModelScaleFactor
Definition: DtObserverModeRecord.h:250
unsigned myModelScaleType
Definition: DtObserverModeRecord.h:252
double myCameraShakeIntensity
Definition: DtObserverModeRecord.h:257
unsigned int myNorthType
Definition: DtObserverModeRecord.h:260
bool myIs2D
Definition: DtObserverModeRecord.h:242
Contains DLL export macros.
int myGainPrecision
Definition: DtObserverModeRecord.h:249
ObserverSettingsMap myObserverSettingsMap
Definition: DtObserverModeRecord.h:251
std::string mySensor
Definition: DtObserverModeRecord.h:241
int myModelSet
Definition: DtObserverModeRecord.h:244
std::string myModeKey
Definition: DtObserverModeRecord.h:239
int myOrbitSpeedGain
Definition: DtObserverModeRecord.h:245
int myRotationSpeedGain
Definition: DtObserverModeRecord.h:248
double myMaxModelScaleFactor
Definition: DtObserverModeRecord.h:253
bool myCameraShakeEnabled
Definition: DtObserverModeRecord.h:256
std::string myName
Definition: DtObserverModeRecord.h:240
double mySpeedScalingMslModeOffset
Definition: DtObserverModeRecord.h:255
std::string myMutableModelScaleTypeString
Definition: DtObserverModeRecord.h:264
std::map< std::string, bool > ObserverSettingsMap
Definition: DtObserverModeRecord.h:27
const char int mode
Definition: ioapi.h:38
double myLodScaleCenterMagMinLimit
Definition: DtObserverModeRecord.h:259
voidpf uLong offset
Definition: ioapi.h:42
unsigned mySpeedScalingMode
Definition: DtObserverModeRecord.h:254
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31
int myLinearScaledSpeedGain
Definition: DtObserverModeRecord.h:246