VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRotorWashInfo.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>
13 #include <vrvCore/DtUniqueID.h>
14 
15 #include <matrix/vlVector.h>
16 #include <matrix/vlTaitBryan.h>
17 
18 // VRF changes the soil type to SOIL_NONE
19 // if the helicopter is above 50 meters off
20 // the ground
21 #define VRF_ROTORWASH_CUTOFF 50.0f
22 
23 namespace makVrv
24 {
25  class DtRotorWashDistributorAgent;
26 
32  {
33  SOIL_NONE = 0,
36  SOIL_SNOW = 3,
37  SOIL_SAND = 4,
41  SOIL_MUCK = 8,
43  };
44 
47  enum WindType
48  {
51 
54 
57  };
58 
63  {
64  public:
67 
69  virtual ~DtRotorWashInfo();
70 
72  DtRotorWashInfo(const DtRotorWashInfo& orig);
73 
75  DtRotorWashInfo& operator=(const DtRotorWashInfo& rhs);
76 
78  bool operator!=(const DtRotorWashInfo& rhs);
79 
81  virtual std::string toString(const RotorWashSoilType& type) const;
82 
84  virtual void print() const;
85 
86  public:
87  // Type of soil under the vehicle making rotorwash
88  // The rotorwash visualizer will have a type
89  // (1,2,3) -> (SOIL_HARD_PACKED, SOIL_SHALLOW_WATER, SOIL_SNOW)
90  // so that a rotorwash visualizer for a soil
91  // type will know when to turn on and off
93 
94  // Position of the helicopter - takes into account *orientation*
96  };
97 }
RotorWashSoilType
Soil type (from VRF) See VRF: data rotary-wing-*.sysdef.
Definition: DtRotorWashInfo.h:31
Definition: DtRotorWashInfo.h:41
Definition: DtRotorWashInfo.h:38
Blows in a local direction with no attenuation.
Definition: DtRotorWashInfo.h:53
Default type.
Definition: DtRotorWashInfo.h:56
double myHeliToGroundDist
Definition: DtRotorWashInfo.h:95
Originates from point and blows in all directions with attenuation.
Definition: DtRotorWashInfo.h:50
Definition: DtRotorWashInfo.h:35
Definition: DtRotorWashInfo.h:40
Definition: DtRotorWashInfo.h:39
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Definition: DtRotorWashInfo.h:37
Definition: DtRotorWashInfo.h:42
WindType
This matches makOsgEarth enums for Wind These should be in synch!
Definition: DtRotorWashInfo.h:47
A collection of information about a rotor wash effect that is received by a network connection and tr...
Definition: DtRotorWashInfo.h:62
Contains makVrv::DtUniqueID type.
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
Definition: DtRotorWashInfo.h:34
RotorWashSoilType mySoilType
Definition: DtRotorWashInfo.h:92
Definition: DtRotorWashInfo.h:36
Definition: DtRotorWashInfo.h:33
Contains DLL export macros.
void print(double **a, int r, int c, char *str)

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)