VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
linearSegRec.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 linearSegRec_H_
8
#define linearSegRec_H_
9
13
14
#include "
hostStructs.h
"
15
#include "
packets/linObjStP.h
"
16
22
class
DT_DLL_VL
DtLinearSegmentRecord
23
{
24
public
:
25
27
DtLinearSegmentRecord
();
28
30
DtLinearSegmentRecord
(
const
DtLinearSegmentRecord
& orig);
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
:
108
DtU32
mySegmentNumber
;
109
DtU32
myPercentComplete
;
110
DtVector
myLocation
;
111
DtTaitBryan
myOrientation
;
112
DtU16
myLength
;
113
DtU16
myWidth
;
114
DtU16
myHeight
;
115
DtU16
myDepth
;
116
DtDamageState
myDamagedState
;
117
bool
myDeactivated
;
118
bool
myFlaming
;
119
bool
myObjectPreDistributed
;
120
bool
mySmoking
;
121
};
122
123
#endif
124
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)