VR-Forces 4.8 Class Documentation
 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 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
14 #include <matrix/vlVector.h>
15 #include <matrix/vlTaitBryan.h>
16 
17 // VRF changes the soil type to SOIL_NONE
18 // if the helicopter is above 50 meters off
19 // the ground
20 #define VRF_ROTORWASH_CUTOFF 50.0f
21 #define USE_VRV_UPDATER 1
22 
23 namespace makVrv
24 {
30  {
31  SOIL_NONE = 0,
34  SOIL_SNOW = 3,
35  SOIL_SAND = 4,
39  SOIL_MUCK = 8,
41  };
42 
47  {
52  };
53 
56  {
57  public:
60 
62  virtual ~DtRotorWashInfo();
63 
65  DtRotorWashInfo(const DtRotorWashInfo& orig);
66 
68  DtRotorWashInfo& operator=(const DtRotorWashInfo& rhs);
69 
71  bool operator!=(const DtRotorWashInfo& rhs);
72 
74  virtual std::string toString(const RotorWashSoilType& type) const;
75 
77  virtual void print() const;
78 
79  public:
80  // Type of soil under the vehicle making rotorwash
81  // The rotorwash visualizer will have a type
82  // (1,2,3) -> (SOIL_HARD_PACKED, SOIL_SHALLOW_WATER, SOIL_SNOW)
83  // so that a rotorwash visualizer for a soil
84  // type will know when to turn on and off
86 
87  // Position of the helicopter - takes into account *orientation*
89  };
90 
92  {
93  public:
96 
99 
102 
105 
107  bool operator==(const DtParticleCollisionObjectInfo& rhs);
108 
110  virtual std::string toString(const ParticleCollisionObjectType& type) const;
111 
113  virtual void print() const;
114 
116  virtual void reset();
117 
118  public:
124 
125  // Plane point and plane normal aren't exposed in the visualizer
126  // and aren't supported
129  };
130 }
RotorWashSoilType
Soil type (from VRF) See VRF: data rotary-wing-*.sysdef.
Definition: DtRotorWashInfo.h:29
Definition: DtRotorWashInfo.h:39
Definition: DtRotorWashInfo.h:36
DtVector myParticleCollisionPlanePoint
Definition: DtRotorWashInfo.h:127
Definition: DtRotorWashInfo.h:51
float myParticleCollisionRadius
Definition: DtRotorWashInfo.h:120
double myHeliToGroundDist
Definition: DtRotorWashInfo.h:88
DtVector myParticleCollisionRadiusXYZ
Definition: DtRotorWashInfo.h:121
Definition: DtRotorWashInfo.h:33
Definition: DtRotorWashInfo.h:38
Definition: DtRotorWashInfo.h:50
DtTaitBryan myParticleCollisionOriOffset
Definition: DtRotorWashInfo.h:123
Definition: DtRotorWashInfo.h:37
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Definition: DtRotorWashInfo.h:35
Definition: DtRotorWashInfo.h:40
ParticleCollisionObjectType myParticleCollisionObjectType
Definition: DtRotorWashInfo.h:119
ParticleCollisionObjectType
Particles from particle systems will bounce off of collision objects.
Definition: DtRotorWashInfo.h:46
bool operator==(const DtTextureAtlasIndexParser::StringOrFloatAttrib &lhs, const DtTextureAtlasIndexParser::StringOrFloatAttrib &rhs)
needed for search comparison code
Definition: DtTextureAtlasIndexParser.h:153
Position and type of a rotorwash.
Definition: DtRotorWashInfo.h:55
Definition: DtRotorWashInfo.h:91
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
Definition: DtRotorWashInfo.h:32
DtVector myParticleCollisionPosOffset
Definition: DtRotorWashInfo.h:122
RotorWashSoilType mySoilType
Definition: DtRotorWashInfo.h:85
Definition: DtRotorWashInfo.h:48
Definition: DtRotorWashInfo.h:49
DtVector myParticleCollisionPlaneNormal
Definition: DtRotorWashInfo.h:128
Definition: DtRotorWashInfo.h:34
Definition: DtRotorWashInfo.h:31
Contains DLL export macros.
void print(double **a, int r, int c, char *str)

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)