VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtSpeedTreeSettingsWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvStQt/vrvStQt.h>
12 
13 #include <vrvStQt/DtSpeedTreeSettingsWidgetUI.hpp>
15 
16 #include <QtGui/QWidget>
17 
18 namespace makVrv
19 {
20  class DtUnicode;
24  : public QWidget
25  , public Ui::DtSpeedTreeSettingsWidgetUI
27  { Q_OBJECT;
28  public:
29 
32  Qt::WindowFlags f = Qt::Widget );
33 
36 
38  virtual void setUnitsLabel( const DtUnicode& label );
39 
41  virtual void enableTrees( bool enable );
42 
44  virtual void setTreeClippingPlane( float farClip );
45 
47  virtual void setTree3DLodDistances( float fNear, float fFar );
48 
49  virtual void setTreeBillboardDistances( float fStart, float fEnd );
50 
51  virtual void setAmbientScalar(float val);
52  virtual void setDiffuseScalar(float val);
53  virtual void setSpecularScalar(float val);
54  virtual void setTransmissionScalar(float val);
55  virtual void setAlphaScalar(float val);
56 
57  public slots:
58 
59  void toggleTreesEnabled( int enabled );
60  void onClippingPlaneChanged();
61  void on3DLodDistancesChanged();
62  void onBillboardDistancesChanged();
63 
64  void onAmbientScalarSet();
65  void onDiffuseScalarSet();
66  void onSpecularScalarSet();
67  void onTransmissionScalarSet();
68  void onAlphaScalarSet();
69  };
70 
71 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)