VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgEarthLocalWindObject.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 
15 #include <vrvCore/DtUniqueID.h>
17 
18 namespace osgEarth
19 {
20  class MapNode;
21  class Wind;
22  class WindLayer;
23 }
24 
25 namespace makVrv
26 {
27  class DtDe;
28  class DtTerrainPatchObject;
29 
43  {
44  public:
45 
48 
50  virtual ~DtOsgEarthLocalWindObject();
51 
53  virtual void setType(WindType type);
54 
56  virtual void setLocation(const DtVector& location);
57 
59  virtual void setWindSpeed(float metersPerSecond);
60 
63  virtual void setWindDirection(float radians);
64 
69  virtual void slot_osgEarthMapNodeFound(DtTerrainPatchObject& tpo);
70 
74  virtual void slot_onCoordinateSystemChanged(const std::string& name,
75  const std::string& params);
76 
77  private:
84 
85  protected:
86 
87  osgEarth::MapNode* myMapNode;
88  osgEarth::Wind* myWind;
89  osgEarth::WindLayer* myWindLayer;
90 
92  };
93 }
#define DT_DLL_VRVOSGEARTH
Definition: vrvOsgEarth.h:21
The base local wind object represents a point (ex. rotorwash) or directional (ex. blowing) wind...
Definition: DtLocalWindObject.h:34
A DtTerrainPatchObject contains the methods for loading a file as a terrain. When loading a file as a...
Definition: DtTerrainPatchObject.h:37
Contains makVrv::DtLocalWindObject class.
osgEarth::WindLayer * myWindLayer
Definition: DtOsgEarthLocalWindObject.h:89
The osgEarth specific local wind object. It can represent a point (ex. rotorwash) or directional (ex...
Definition: DtOsgEarthLocalWindObject.h:42
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtSignalConnectionManager myConnections
Definition: DtOsgEarthLocalWindObject.h:91
Rotorwash and rotorwash collision object information.
osgEarth::Wind * myWind
Definition: DtOsgEarthLocalWindObject.h:88
Base class to provide boost signal/slot management.
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
osgEarth::MapNode * myMapNode
Definition: DtOsgEarthLocalWindObject.h:87
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)