VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCigiRotorWashEntity.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCigi/vrvCigi.h>
13 
15 
17 
19 
20 #include <string>
21 
22 namespace makVrv
23 {
24  class DtRotorWashModelAgent;
25  class DtRotorWashObjectAgent;
26 
48 
50  {
51  public:
54  DtAgentManagerInterface& sceneInterface, int entityId, int entityType);
55 
57  virtual ~DtCigiRotorWashEntity();
58 
62  virtual void init();
63 
65  virtual void uninit();
66 
69  virtual void restart();
70 
72  virtual void setRotorWashDiameter( double rotorWashDiameter );
76  virtual float rotorWashDiameter( );
78 
80  virtual void setRotorWashWindSpeed( double rotorWashWindSpeed );
84  virtual float rotorWashWindSpeed( );
86  protected:
88  virtual void slot_rotorWashEnabledChanged(bool enabled);
89 
93  virtual void setRotorWashEnabled( bool enable );
94 
98  virtual void startEmbarked() override;
99  virtual void endEmbarked() override;
100  protected:
101  DtRotorWashModelAgent* myRotorWashModel;
102  DtRotorWashObjectAgent* myRotorWashObject;
106 
109  std::string mySchema;
111 
112  };
113 
118 }
DT_DLL_EXAMPLESCENEROOTPLUGIN void init(DtDe &anIG)
DtCigiObjectCreatorTemplate< DtCigiRotorWashEntity > DtCigiRotorWashEntityCreator
Creator that will be registered with the CIGI object factory to create this class.
Definition: DtCigiRotorWashEntity.h:117
double myRotorWashDiameter
Definition: DtCigiRotorWashEntity.h:107
Contains DLL export macros.
std::string mySchema
Definition: DtCigiRotorWashEntity.h:109
DtSignalConnectionManager myConnections
Definition: DtCigiRotorWashEntity.h:110
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Contains makVrv::DtCigiBaseEntity class declaration.
This class is responsible for the actual processing of CIGI data. This holds the entity visualizer...
Definition: DtCigiConnection.h:57
Rotorwash and rotorwash collision object information.
DtRotorWashModelAgent * myRotorWashModel
Definition: DtCigiRotorWashEntity.h:101
DtRotorWashObjectAgent * myRotorWashObject
Definition: DtCigiRotorWashEntity.h:102
bool myGlobalRotorWashEnabled
This is the tick box from the gui settings.
Definition: DtCigiRotorWashEntity.h:105
DtRotorWashInfo myRotorWashInfo
Definition: DtCigiRotorWashEntity.h:103
Base class to provide boost signal/slot management.
A DtCigiRotorWashEntity is a CIGI entity that loads rotor wash models. Large portions of this class a...
Definition: DtCigiRotorWashEntity.h:49
A collection of information about a rotor wash effect that is received by a network connection and tr...
Definition: DtRotorWashInfo.h:62
double myRotorWashWindSpeed
Definition: DtCigiRotorWashEntity.h:108
This class provides an abstract base class for CIGI entities. These are created by the DtCigiEntityVi...
Definition: DtCigiBaseEntity.h:42
The abstract interface necessary for agents.
Definition: DtAgentManagerInterface.h:33
#define DT_DLL_VRVCIGI
Definition: vrvCigi.h:19
Definition: DtCigiBaseEntity.h:437

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)