![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtGdbSurfacesLogic.h,v $ $Revision: 1.15 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtGdbSurfacesLogic_H_ 00014 #define DtGdbSurfacesLogic_H_ 00015 00016 #include <vrvCoreQt/vrvCoreQt.h> 00017 #include <vrvCoreQt/DtGdbSurfacesInterface.h> 00018 00019 namespace makVrv 00020 { 00021 class DtDe; 00022 00025 class DT_DLL_VRVCOREQT DtGdbSurfacesLogic 00026 { 00027 public: 00030 DtGdbSurfacesLogic(DtDe& de, 00031 DtGdbSurfacesInterface* anInterface, 00032 std::string patchDefinition); 00033 00035 ~DtGdbSurfacesLogic(); 00036 00037 protected: 00039 void fillWidget(); 00040 00041 00043 void changeSurface(int id, bool isOn); 00044 00046 void slot_surfaceChanged(DtTerrainPatch&,int id, bool onP); 00047 00048 00050 std::map<DtTerrainPatch::GdbSurface, std::string> mySurfaceRules; 00051 00053 DtGdbSurfacesInterface* myInterface; 00054 00056 DtTerrainPatch* myCurrentTerrainPatch; 00057 00059 DtDe& myDe; 00060 }; 00061 } 00062 00063 #endif 00064