VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEntityRotorWashVisualizer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
12 
13 namespace makVrv
14 {
15  class DtRotorWashModelAgent;
16  class DtRotorWashUpdaterAgent;
17 
21  {
22  public:
25  DtStateListener& listener, int modelSet);
26 
28  virtual ~DtEntityRotorWashVisualizer();
29 
31  virtual void setRotorWashEnabled(bool b);
32 
35  virtual void setRotorDiameter( double diameter );
36 
38  virtual void setRotorWindSpeed( double speed );
39 
41  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
42 
44  static const DtStateVisualizer::TypeInfo& theTypeInfo();
45 
46  protected:
48  virtual void createModelAgents();
49 
51  virtual void destroyModelAgents();
52 
54  virtual void setModelDefinitionForAgents();
55 
58  virtual void setVisualizerDefinition(const DtVisualizerDefinition& visDef);
59 
61  virtual void setEmbarkedOn(const std::string&);
62 
65  virtual void slot_appearanceBitSet(unsigned int mask, unsigned int newValue, bool force );
66 
68  virtual void setPowerPlantOn(bool isOn);
69 
72  virtual void setEntityDestroyed( bool destroyed);
73 
76  virtual bool visible() const;
77 
78  virtual void slot_rotorWashEnabledChanged(bool enabled);
79 
80 
81  protected:
82  DtRotorWashModelAgent* myRotorWashModel;
83  DtRotorWashUpdaterAgent* myRotorWashUpdater;
86 
89  bool myEmbarked;
91  };
92 
93 
98 }
99 

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)