![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtSpeedTreeSettingsLogic.h,v $ $Revision: 1.13 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 #include <vrvStQt/vrvStQt.h> 00015 #include <vrvUtil/DtSignalConnectionManager.h> 00016 00017 namespace makVrv 00018 { 00019 class DtDe; 00020 class DtSpeedTreeSettingsInterface; 00021 class DtPersistenceControlsInterface; 00022 class DtSettingsBackup; 00023 00027 class DT_DLL_VRVSTQT DtSpeedTreeSettingsLogic : 00028 private DtSignalConnectionManager 00029 { 00030 00031 public: 00032 00033 DtSpeedTreeSettingsLogic(DtDe& de, DtSpeedTreeSettingsInterface& iFace, 00034 DtPersistenceControlsInterface& pIFace); 00035 00036 ~DtSpeedTreeSettingsLogic(); 00037 00039 virtual void sendSettingsToGui(); 00040 00041 void slot_onClippingPlaneChanged(float); 00042 00043 void slot_onLodChanged(float,float); 00044 void slot_onPerformanceProfileChanged(int index); 00045 00047 virtual void on_import(); 00048 virtual void on_export(); 00049 virtual void on_importFilePathChosen(const std::string& filePath); 00050 virtual void on_exportFilePathChosen(const std::string& filePath); 00051 virtual void settingsRestored(); 00052 00053 protected: 00054 00055 DtDe& myDe; 00056 DtSpeedTreeSettingsInterface& myInterface; 00057 DtPersistenceControlsInterface& myPersistenceInterface; 00058 }; 00059 }