VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtLocalWindObject.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
14 #include <vrvCore/DtUniqueID.h>
15 
16 namespace makVrv
17 {
18  class DtDe;
19 
35  {
36  public:
39 
41  virtual ~DtLocalWindObject();
42 
44  virtual void setType(WindType type);
46  virtual WindType type() const;
48 
50  virtual void setLocation(const DtVector& location);
52  virtual const DtVector& location() const;
54 
56  virtual void setWindSpeed(float metersPerSecond);
58  virtual const float& windSpeed() const;
60 
62  virtual void setWindDirection(float radians);
65  virtual const float& windDirection() const;
67 
68  private:
74  DtLocalWindObject &operator=(const DtLocalWindObject &);
75 
76  protected:
77 
79  float mySpeed;
81  float myDirection;
82 
85  };
86 }
87 
88 
DtDe & myDe
Definition: DtLocalWindObject.h:83
The base local wind object represents a point (ex. rotorwash) or directional (ex. blowing) wind...
Definition: DtLocalWindObject.h:34
DtVector myPosition
Definition: DtLocalWindObject.h:80
WindType myType
Definition: DtLocalWindObject.h:78
float myDirection
Definition: DtLocalWindObject.h:81
float mySpeed
Definition: DtLocalWindObject.h:79
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Rotorwash and rotorwash collision object information.
WindType
This matches makOsgEarth enums for Wind These should be in synch!
Definition: DtRotorWashInfo.h:47
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
DtUniqueID myUniqueId
Definition: DtLocalWindObject.h:84
Contains DLL export macros.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)