18 class DtObserverSettingsInterface;
19 class DtPersistenceControlsInterface;
20 class DtSettingsBackup;
39 virtual void setSelectedObserver(
const std::string& observerName );
42 virtual void setSelectedObserverMode(
const std::string& ObserverModeName );
44 virtual void modelSetChanged(
int modelSet );
45 virtual void sensorChanged(
const std::string& sensor);
46 virtual void keyMapChanged(
const std::string& keyMap );
47 virtual void projectionChanged(
const std::string& projection );
48 virtual void settingChanged(
int settingKey,
bool value );
51 virtual void setModelScaleFactor(
int factor );
57 virtual void setMaxModelScaleFactor(
double maxScaleFactor );
60 virtual void setLinearSpeedGain(
int gain );
63 virtual void setRotationSpeedGain(
int gain );
66 virtual void setOrbitSpeedGain(
int gain );
68 virtual void createObserver(
const std::string& ObserverName );
69 virtual void deleteObserver(
const std::string& ObserverName );
70 virtual void renameObserver(
const std::string& oldName,
const std::string& newName );
72 virtual void createObserverMode(
const std::string& ObserverModeName );
73 virtual void deleteObserverMode(
const std::string& ObserverModeName );
74 virtual void renameObserverMode(
const std::string& oldName,
const std::string& newName );
87 void setupSpeedSliders();
88 void setupModelScaleFactorSlider();
89 void setupModelScaleTypeSelector();
90 void setupMaxModelScaleFactorSpinBox();
92 void setupObserverList();
93 void setupObserverModeList();
95 std::string projectionToString(
bool is2D );
96 bool projectionFromString(
const std::string& is2D );
99 virtual void onExport();
102 virtual void onExportSelected();
106 virtual void onExportFilenameChosen(
const std::string&,
bool selected);
110 virtual void onImport();
114 virtual void onImportFilenameChosen(
const std::string&);
118 virtual void onMerge();
122 virtual void onMergeFilenameChosen(
const std::string& );
124 virtual void updateDeleteEnabledState(
const std::string& channelKeyToIgnore =
"" );
126 virtual void setCurrentObserverSelected();
129 void slot_observerModeNameChanged(
int modeId );
130 void slot_observerModeSettingChanged(
int modeId );
134 void slot_channelConfigurationModified();
138 void slot_channelToBeDestroyed(
const std::string& displayName,
139 const std::string& windowName,
const std::string& channelName );
143 void slot_channelConfigurationAdded();
148 void slot_sensorAdded(
DtSensor* sensor);
153 void slot_sensorRemoved(
DtSensor* sensor);
158 void slot_sensorRenamed(
DtSensor* sensor,
const std::string& oldName);
165 void slot_observerAboutToBeDestroyed(
DtInputDriver* inputDriver,
169 void slot_observerModeChanged(
DtObserver* observer,
int newObserverMode );