VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
packets
gridDataP.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 _GridDataP_h_
8
#define _GridDataP_h_ 1
9
13
14
15
#include <
vlpi/netStructs.h
>
16
#include "
pduHeader.h
"
17
20
21
24
struct
DtNetGridDataRecord
25
{
26
DtNetU16
mySampleType
;
27
DtNetU16
myRecordType
;
28
};
29
30
struct
DtNetGridDataRecord_RPR_20
31
{
32
DtNetU16
mySampleType
;
33
DtNetU8
padding1
[2];
34
DtNetU16
myRecordType
;
35
DtNetU8
padding2
[2];
36
};
37
43
44
struct
DtNetGridDataRecordType0
:
public
DtNetGridDataRecord
45
{
46
DtNetU16
myNumDataBytes
;
47
};
48
49
struct
DtNetGridDataRecordType1
:
public
DtNetGridDataRecord
50
{
51
DtNetFloat32
myFieldScale
;
52
DtNetFloat32
myFieldOffset
;
53
DtNetU16
myNumDataValues
;
54
};
55
56
struct
DtNetGridDataRecordType2
:
public
DtNetGridDataRecord
57
{
58
DtNetU16
myNumDataValues
;
59
DtNetU16
padding
;
60
};
61
63
struct
DtNetGridDataRecordType0_RPR_20
:
public
DtNetGridDataRecord_RPR_20
64
{
65
DtNetU16
myNumDataBytes
;
66
};
67
68
struct
DtNetGridDataRecordType1_RPR_20
:
public
DtNetGridDataRecord_RPR_20
69
{
70
DtNetFloat32
myFieldScale
;
71
DtNetFloat32
myFieldOffset
;
72
DtNetU16
myNumDataValues
;
73
};
74
struct
DtNetGridDataRecordType2_RPR_20
:
public
DtNetGridDataRecord_RPR_20
75
{
76
DtNetU16
myNumDataValues
;
77
DtNetU16
padding
;
78
};
79
81
82
83
84
struct
DtNetGridDataRecordType0_RPR2_Rev3
:
public
DtNetGridDataRecord_RPR_20
85
{
86
DtNetU32
myNumDataBytes
;
87
};
88
89
struct
DtNetGridDataRecordType1_RPR2_Rev3
:
public
DtNetGridDataRecord_RPR_20
90
{
91
DtNetFloat32
myFieldScale
;
92
DtNetFloat32
myFieldOffset
;
93
DtNetU32
myNumDataValues
;
94
};
95
96
struct
DtNetGridDataRecordType2_RPR2_Rev3
:
public
DtNetGridDataRecord_RPR_20
97
{
98
DtNetU32
myNumDataValues
;
99
DtNetU16
padding
;
100
};
102
105
106
struct
DtNetGridAxisRecordFixed
107
{
108
DtNetFloat64
myDomainInitialXi
;
109
DtNetFloat64
myDomainFinalXi
;
110
DtNetU16
myDomainNumPointsXi
;
111
DtNetU8
myInterleafFactor
;
112
DtNetU8
myAxisType
;
113
DtNetU16
myNumPointsXi
;
114
DtNetU16
myInitialIndexXi
;
115
};
116
120
struct
DtNetGridAxisRecordFixed_RPR_20
121
{
122
DtNetFloat64
myInitialValue
;
123
DtNetFloat64
myFinalValue
;
124
DtNetU16
myTotalNumberOfPoints
;
125
DtNetU8
myInterleafFactor
;
126
DtNetU8
padding1
;
127
DtNetU16
myNumberOfPoints
;
128
DtNetU16
myInitialIndex
;
129
DtNetU8
myAxisType
;
130
DtNetU8
padding
[7];
131
};
132
133
struct
DtNetGridAxisRecordVariable
:
public
DtNetGridAxisRecordFixed
134
{
135
DtNetFloat64
myCoordinateScaleXi
;
136
DtNetFloat64
myCoordinateOffsetXi
;
137
};
138
141
struct
DtNetGridAxisRecordVariable_RPR_20
:
142
public
DtNetGridAxisRecordFixed_RPR_20
143
{
144
DtNetFloat64
myCoordinateScale
;
145
DtNetFloat64
myCoordinateOffset
;
146
DtNetU32
myNumberOfGridLocations
;
149
150
};
153
154
struct
DtNetGriddedDataPdu
155
{
156
DtNetPduHeader
myHeader
;
157
DtNetEntityIdentifier
myEnvSimAppID
;
158
DtNetU16
myFieldNumber
;
159
DtNetU16
myPduNumber
;
160
DtNetU16
myPduTotal
;
161
DtNetU16
myCoordSystem
;
162
DtNetU8
myNumGridAxes
;
163
DtNetU8
myConstantGrid
;
164
DtNetEntityType
myEnvironmentType
;
165
DtNetEulerAngles
myOrientation
;
166
168
DtNetU32
mySampleTime
[2];
169
170
DtNetU32
myTotalValues
;
171
DtNetU8
myVectorDim
;
172
DtNetU8
padding1
;
173
DtNetU8
padding2
;
174
DtNetU8
padding3
;
175
};
176
177
#endif
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
)