VR-Forces 4.1 Class Documentation
entitySymbol.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2000 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: entitySymbol.h,v $ $Revision: 1.31 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef ENTITYSYMBOL_H
13 #define ENTITYSYMBOL_H
14 
16 
17 class DtTTSSymbol;
18 class DtBMPSymbol;
19 class DtPolygonSymbol;
21 
29 {
30 
31 public:
32 
35 
37  virtual ~DtEntitySymbol();
38 
40  DtEntitySymbol(const DtEntitySymbol& orig);
41 
44 
46  virtual void copyDataFrom(const DtSymbol* symbol);
47 
48  virtual DtTTSSymbol* echelonId();
49  virtual void setEchelonId(DtTTSSymbol* s);
50 
51  virtual DtTTSSymbol* objectId();
52  virtual void setObjectId(DtTTSSymbol* s);
53 
54  virtual DtTTSSymbol* entityGuise();
55  virtual void setEntityGuise(DtTTSSymbol* s);
56 
57  virtual DtTTSSymbol* embarkedObjects();
58  virtual void setEmbarkedObjects(DtTTSSymbol* s);
59 
60  virtual DtPolygonSymbol* boundingBox();
61  virtual void setBoundingBox(DtPolygonSymbol* s);
62 
63  virtual DtSymbol* clone() const;
64 
65  virtual int resetLabelPositions() const;
66 
67  virtual void applyGhosting();
68  virtual void removeGhosting();
69  virtual bool ghosted() const;
70 
76  virtual void setPenColor(const QColor& color);
77 
78  void setForceId(int);
79  int forceId() const;
80 
81 protected:
82  virtual bool addToDrawOrder() const;
83 
84 private:
87 
88 protected:
89 
94 
96 
97  int myForceId;
98 
99  bool myGhosted;
100 };
101 
102 inline void DtEntitySymbol::setForceId(int i)
103 {
104  myForceId = i;
105 }
106 
107 inline int DtEntitySymbol::forceId() const
108 {
109  return myForceId;
110 }
111 
112 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)