VR-Vantage API Documentation
DtPrecipitationCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: $ $Revision: 95512 $ $State: $
7 *******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCore/DtVrvCommand.h>
16 
17 #include <vrvCore/DtEnvironment.h>
18 
19 namespace makVrv
20 {
24  {
25  public:
27  virtual ~DtPrecipitationCommand();
28 
29  virtual bool isEnabled() const;
30  virtual void setEnabled(bool state);
31 
32  virtual DtEnvironment::PrecipitationType precipitationType() const;
33  virtual void setPrecipitationType(DtEnvironment::PrecipitationType newType);
34 
35  virtual float intensity() const;
36  virtual void setIntensity(const float& newIntensity);
37 
38  virtual void execute(DtDe& de);
39 
40  protected:
41  bool myState;
43  float myIntenstiy;
44  };
45 
49  {
50  public:
53 
54  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
55  };
56 
57 } //makVrv::


Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)