VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtEntityRotorWashVisualizer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 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 bool visible() const;
73 
74  protected:
75  DtRotorWashModelAgent* myRotorWashModel;
76  DtRotorWashUpdaterAgent* myRotorWashUpdater;
78 
81  bool myEmbarked;
83  };
84 
85 
90 }
91 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)