![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /***************************************************************************** 00002 * Copyright (c) 2011 MAK Technologies, Inc. 00003 * All rights reserved. 00004 *****************************************************************************/ 00005 /***************************************************************************** 00006 * $RCSfile: DtContourizationLogic.h,v $ $Revision: 1.8 $ $State: Exp $ 00007 *****************************************************************************/ 00008 00012 00013 #pragma once 00014 00015 #include <vrvCoreQt/vrvCoreQt.h> 00016 #include <vrvUtil/DtSignalConnectionManager.h> 00017 00018 namespace makVrv 00019 { 00020 00021 class DtDe; 00022 class DtModelDefinition; 00023 class DtContourizationInterface; 00024 class DtTerrainOverlayOperation; 00025 00028 class DT_DLL_VRVCOREQT DtContourizationLogic 00029 { 00030 public: 00031 00033 DtContourizationLogic( DtDe& de, 00034 DtContourizationInterface& iFace, std::string def ); 00035 00037 ~DtContourizationLogic(); 00038 00040 void slot_onContoursEnabledChanged( bool enabled ); 00041 00043 void slot_onIntermediateLinesChanged( bool enabled ); 00044 00046 void slot_onThicknessChanged( double value ); 00047 00049 void slot_onIntervalChanged( double value ); 00050 00051 void slot_displayUnitChanged( int type, int unit ); 00052 00053 void slot_displayUnitDecimalsChanged( int type, int unit, int decimals ); 00054 00055 protected: 00056 00057 void sendSettingsToGui(); 00058 00059 protected: 00060 00061 DtDe& myDe; 00062 DtSignalConnectionManager mySignals; 00063 DtContourizationInterface& myInterface; 00064 std::string myDefinition; 00065 00066 }; 00067 00068 }