![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtSpeedTreeSettingsWidget.h,v $ $Revision: 1.10 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 #include <vrvStQt/vrvStQt.h> 00015 00016 #include <vrvStQt/DtSpeedTreeSettingsWidgetUI.hpp> 00017 #include <vrvStQt/DtSpeedTreeSettingsInterface.h> 00018 00019 #include <QtGui/QWidget> 00020 00021 namespace makVrv 00022 { 00023 class DtUnicode; 00026 class DT_DLL_VRVSTQT DtSpeedTreeSettingsWidget 00027 : public QWidget 00028 , public Ui::DtSpeedTreeSettingsWidgetUI 00029 , public DtSpeedTreeSettingsInterface 00030 { Q_OBJECT; 00031 public: 00032 00034 DtSpeedTreeSettingsWidget( QWidget* parent = 0, 00035 Qt::WindowFlags f = Qt::Widget ); 00036 00038 ~DtSpeedTreeSettingsWidget(); 00039 00041 virtual void setUnitsLabel( const DtUnicode& label ); 00042 00044 virtual void setPerformanceProfile( int index ); 00045 00047 virtual void setTreeClippingPlane( float farClip ); 00048 00050 virtual void setTreeLodDistances( float nearLod, float farLod ); 00051 00052 public slots: 00053 00054 void on_myProfileBox_currentIndexChanged( int index ); 00055 void onClippingPlaneChanged(); 00056 void onLodChanged(); 00057 00058 }; 00059 00060 }