VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MyLightScaleCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 #include <vrvCore/DtVrvCommand.h>
15 #include "MyViewControlDataTypes.h"
16 
17 using namespace makVrv;
18 
19 namespace MyViewControl
20 {
27  {
28  public:
31 
33  virtual ~MyLightScaleCommand();
34 
36 
37 
41  virtual bool diffuseLightScaleSet() const;
42 
45  virtual int diffuseLightScale() const;
46 
51  // effect of setting diffuseLightScaleSet() to true
52  virtual void setDiffuseLightScale( int scale );
54 
56 
57 
61  virtual bool ambientLightScaleSet() const;
62 
65  virtual int ambientLightScale() const;
66 
71  // effect of setting ambientLightScaleSet() to true
72  virtual void setAmbientLightScale( int scale );
74 
75 
80  virtual void execute(DtDe& de);
81 
82  protected:
86 
90 
94 
98  };
99 
105  : public DtVrvCommandCreator
106  {
107  public:
115 
117  virtual ~MyLightScaleCommandCreator();
118 
121  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
122  };
123 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)