VR-Link API Documentation for HLA Evolved
linearSegmentRecord.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef linearSegmentRecord_H_
8 #define linearSegmentRecord_H_
9 
13 
14 #include "hostStructs.h"
15 #include "packets/linObjStP.h"
16 
23 {
24 public:
25 
28 
31 
33  DtLinearSegmentRecord& operator=(
34  const DtLinearSegmentRecord& orig);
35  DtLinearSegmentRecord& operator=(
36  const DtNetLinearSegmentRecord& orig);
37 
39  int operator==(
40  const DtLinearSegmentRecord& rec);
41  int operator!=(
42  const DtLinearSegmentRecord& rec);
43 
45  virtual ~DtLinearSegmentRecord();
46 
48  virtual void setSegmentNumber(const DtU32 value);
49  virtual DtU32 segmentNumber() const;
50 
52  virtual void setPercentComplete(const DtU32 value);
53  virtual DtU32 percentComplete() const;
54 
56  virtual void setLocation(const DtVector& coords);
57  virtual const DtVector& location() const;
58 
60  virtual void setOrientation(const DtTaitBryan& orientation);
61  virtual const DtTaitBryan& orientation() const;
62 
64  virtual void setLength(const DtU16 value);
65  virtual DtU16 length() const;
66 
68  virtual void setWidth(const DtU16 value);
69  virtual DtU16 width() const;
70 
72  virtual void setHeight(const DtU16 value);
73  virtual DtU16 height() const;
74 
76  virtual void setDepth(const DtU16 value);
77  virtual DtU16 depth() const;
78 
80  virtual void setDamagedState(const DtDamageState state);
81  virtual DtDamageState damagedState() const;
82 
84  virtual void setDeactivated(bool onOff);
85  virtual bool deactivated() const;
86 
88  virtual void setFlaming(bool onOff);
89  virtual bool flaming() const;
90 
92  virtual void setObjectPreDistributed(bool onOff);
93  virtual bool objectPreDistributed() const;
94 
96  virtual void setSmoking(bool onOff);
97  virtual bool smoking() const;
98 
100  virtual void unloadNetRecord(const DtNetLinearSegmentRecord& record);
101  virtual void loadNetRecord(DtNetLinearSegmentRecord& record) const;
102 
104  virtual void printData() const;
105  virtual void printDataToStream(std::ostream& stream) const;
106 
107 protected:
118  bool myFlaming;
120  bool mySmoking;
121 };
122 
123 #endif
124 

Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)