VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVrlinkEntityMilStdIconVisualizer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
11 #include <vrvVrl/vrvVrl.h>
13 
14 #ifndef DT_PROTOCOL_NAMESPACE
15 #error Namespace Protocol Macro DT_PROTOCOL_NAMESPACE not defined.
16 #endif
17 
18 namespace makVrv
19 {
20  namespace DT_PROTOCOL_NAMESPACE
21  {
23 
28  {
29  public:
30 
32  DtStateListener& listener, int modelSet);
33 
35 
36  void refreshForceColor();
37 
38  protected:
39 
40  void damageSet(unsigned int);
41  void forceSet(int);
42 
44  virtual void updateSymbol();
45  void setEntityType(const std::string& t);
46 
47  virtual void setState( int stateNumber, int stateValue );
48 
49  virtual void setModelDefinitionForAgents();
50  static DtUnicode mapModelDef(DtVrlinkEntityStateListener&);
51 
53  virtual void createModelAgents();
54 
56  virtual void setRotateToHeading(bool);
57 
58  protected:
60  virtual unsigned short fillCharacterForUnitSymbolFont(unsigned short outlineBase, int force) const;
61 
63  virtual void rotateSymbolToHeading(const DtTaitBryan&);
64 
67  virtual void slot_forceAdded(int);
68 
69  protected:
71 
73 
76 
79  };
80 
81 
84 
85  }
86 }
87 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)