21 class DtObserverModeManager;
25 makArchives::DtObserverModesRecord >
30 const std::string& name,
const std::string& displayName );
36 virtual int currentSelectedObserverMode()
const;
37 virtual void setCurrentSelectedObserverMode(
int modeKey );
71 int numberOfObserverModes()
const;
76 virtual int createObserverMode(
const std::string& stringKey,
77 const std::string& displayName );
82 virtual int createModeKey(
const std::string& stringKey );
85 virtual void removeObserverMode(
int mode );
89 int lookupObserverModeKey( std::string stringKey )
const;
92 const std::string* findObserverModeStringKey(
int modeKey )
const;
95 bool getObserverModeById(
int modeKey,
DtObserverMode& result )
const;
101 bool getObserverModeByName(
const std::string& observerModeName,
105 std::string name(
int modeKey )
const;
108 void setName(
int modeKey,
const std::string& name );
111 int modelSet(
int modeKey )
const;
115 void setModelSet(
int modeKey,
int modelSet );
118 std::string keyMap(
int modeKey )
const;
122 void setKeyMap(
int modeKey,
const std::string& keyMap );
125 void setIs2D(
int modeKey,
bool trueOrFalse );
128 bool is2D(
int modeKey )
const;
131 void setSensor(
int modeKey,
const std::string& sensorName);
134 std::string sensor(
int modeKey )
const;
137 void setGainPrecision(
int modeKey,
int precision );
140 int gainPrecision(
int modeKey )
const;
143 void setModelScaleFactor(
int modeKey,
double modelScaleFactor );
146 double modelScaleFactor(
int modeKey )
const;
155 void setMaxModelScaleFactor(
int modeKey,
double maxModelScaleFactor );
158 double maxModelScaleFactor(
int modeKey )
const;
161 void setMaxLinearModelScaleFactor(
int modeKey,
double maxLinearModelScaleFactor );
164 double maxLinearModelScaleFactor(
int modeKey )
const;
167 void setOrbitSpeedGain(
int modeKey,
int gain );
170 int orbitSpeedGain(
int modeKey )
const;
173 void setLinearScaledSpeedGain(
int modeKey,
int gain );
176 int linearScaledSpeedGain(
int modeKey )
const;
179 void setLinearUnscaledSpeedGain(
int modeKey,
int gain );
182 int linearUnscaledSpeedGain(
int modeKey )
const;
185 void setRotationSpeedGain(
int modeKey,
int gain );
188 int rotationSpeedGain(
int modeKey )
const;
192 void setSpeedScalingMode(
int modeKey,
199 void setSpeedScalingAslModeOffset(
int modeKey,
double offset );
200 double speedScalingAslModeOffset(
int modeKey )
const;
205 void setCameraShakeEnabled(
int modeKey,
bool enabled );
206 bool cameraShakeEnabled(
int modeKey )
const;
211 void setCameraShakeIntensity(
int modeKey,
double intensity );
212 double cameraShakeIntensity(
int modeKey )
const;
219 void setObserverSetting(
int modeKey,
int settingKey,
bool val );
225 bool observerSetting(
int modeKey,
int settingKey )
const;
231 virtual void loadDefaultSettings(
bool loadOnlyDefaultSettings );
234 virtual void loadDefaultSettings(
bool loadOnlyDefaultSettings,
bool merge );
241 virtual void importSettings(
const std::string& filepath,
bool merge );
244 virtual void exportObserverMode(
int modeKey,
245 const std::string& filepath )
const;
339 template <
typename ManagerClass>
343 template <
typename ManagerClass>
361 virtual void clear();
363 virtual void initializeBackup();