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;
175 friend class boost::serialization::access;
177 template <
typename Archive>
180 ar & BOOST_SERIALIZATION_NVP(myModeKey);
181 ar & BOOST_SERIALIZATION_NVP(myName);
182 ar & BOOST_SERIALIZATION_NVP(myIs2D);
183 ar & BOOST_SERIALIZATION_NVP(myModelSet);
184 ar & BOOST_SERIALIZATION_NVP(myKeyMap);
185 ar & BOOST_SERIALIZATION_NVP(myOrbitSpeedGain);
186 ar & BOOST_SERIALIZATION_NVP(myLinearScaledSpeedGain);
187 ar & BOOST_SERIALIZATION_NVP(myLinearUnscaledSpeedGain);
188 ar & BOOST_SERIALIZATION_NVP(myRotationSpeedGain);
189 ar & BOOST_SERIALIZATION_NVP(myGainPrecision);
192 ar & BOOST_SERIALIZATION_NVP(myModelScaleFactor);
198 ar & BOOST_SERIALIZATION_NVP(myModelScaleType);
200 ar & BOOST_SERIALIZATION_NVP(myMaxModelScaleFactor);
204 ar & BOOST_SERIALIZATION_NVP(mySensor);
206 ar & BOOST_SERIALIZATION_NVP(myObserverSettingsMap);
209 ar & BOOST_SERIALIZATION_NVP(mySpeedScalingMode);
210 ar & BOOST_SERIALIZATION_NVP(mySpeedScalingMslModeOffset);
214 ar & BOOST_SERIALIZATION_NVP(myCameraShakeEnabled);
215 ar & BOOST_SERIALIZATION_NVP(myCameraShakeIntensity);
219 ar & BOOST_SERIALIZATION_NVP(myMutableModelScaleTypeString);
223 ar & BOOST_SERIALIZATION_NVP(myLodScaleCenterEnabled);
224 ar & BOOST_SERIALIZATION_NVP(myLodScaleCenterMagMinLimit);
int myLinearUnscaledSpeedGain
Definition: DtObserverModeRecord.h:237
bool myLodScaleCenterEnabled
Definition: DtObserverModeRecord.h:248
void serialize(Archive &ar, unsigned int version)
Definition: DtObserverModeRecord.h:178
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:233
double myModelScaleFactor
Definition: DtObserverModeRecord.h:240
unsigned myModelScaleType
Definition: DtObserverModeRecord.h:242
double myCameraShakeIntensity
Definition: DtObserverModeRecord.h:247
bool myIs2D
Definition: DtObserverModeRecord.h:232
Contains DLL export macros.
int myGainPrecision
Definition: DtObserverModeRecord.h:239
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 2)
ObserverSettingsMap myObserverSettingsMap
Definition: DtObserverModeRecord.h:241
std::string mySensor
Definition: DtObserverModeRecord.h:231
int myModelSet
Definition: DtObserverModeRecord.h:234
std::string myModeKey
Definition: DtObserverModeRecord.h:229
int myOrbitSpeedGain
Definition: DtObserverModeRecord.h:235
int myRotationSpeedGain
Definition: DtObserverModeRecord.h:238
double myMaxModelScaleFactor
Definition: DtObserverModeRecord.h:243
bool myCameraShakeEnabled
Definition: DtObserverModeRecord.h:246
std::string myName
Definition: DtObserverModeRecord.h:230
double mySpeedScalingMslModeOffset
Definition: DtObserverModeRecord.h:245
std::string myMutableModelScaleTypeString
Definition: DtObserverModeRecord.h:253
std::map< std::string, bool > ObserverSettingsMap
Definition: DtObserverModeRecord.h:27
const char int mode
Definition: ioapi.h:38
double myLodScaleCenterMagMinLimit
Definition: DtObserverModeRecord.h:249
voidpf uLong offset
Definition: ioapi.h:42
unsigned mySpeedScalingMode
Definition: DtObserverModeRecord.h:244
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31
int myLinearScaledSpeedGain
Definition: DtObserverModeRecord.h:236