VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
dted
dfad_header.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: dfad_header.h,v $ $Revision: 1.6 $ $State: Exp $
7
*******************************************************************************/
8
9
#ifndef DfadHeader_h
10
#define DfadHeader_h
11
12
#include "
dted/dtedDefines.h
"
13
#include <stdio.h>
14
#include <vlutil/vlMachineTypes.h>
15
16
17
class
DT_DLL_dted
DtDfadHeader
18
{
19
20
public
:
21
DtDfadHeader
();
22
23
virtual
bool
read(FILE* f);
24
25
inline
float
lon
() {
return
myLon;}
26
inline
float
lat
() {
return
myLat;}
27
28
protected
:
29
30
virtual
void
parse();
31
32
float
cvDmaLat(
char
dmaLat[]);
33
float
cvDmaLon(
char
dmaLon[]);
34
35
struct
DtDfadHeaderRecord
36
{
37
char
Reserved1[27];
38
};
39
40
struct
DtDfadDsiRecord
41
{
42
public
:
43
char
Id[3];
44
char
SecurityCode[1];
45
char
SecurityControl[2];
46
char
SecurityHandling[27];
47
char
Reserved1[26];
48
char
DMASeries[5];
49
char
UniqueRef[15];
50
char
Reserved2[8];
51
char
DataEditionNumber[2];
52
char
MatchMergeVersion[1];
53
char
MaintenanceDate[4];
54
char
MatchMergeDate[4];
55
char
MaintenanceDesc[4];
56
char
ProducerCode[8];
57
char
Reserved3[16];
58
char
ProductSpecification[9];
59
char
ProductSpecificationAmendment[2];
60
char
ProductSpecificationDate[4];
61
char
VerticalDatum[3];
62
char
HorizontalDatum[5];
63
char
FreeText[10];
64
char
CompilationDate[4];
65
char
Reserved4[22];
66
char
LatDataOrigin[9];
67
char
LonDataOrigin[10];
68
char
LatSWCorner[9];
69
char
LonSWCorner[10];
70
char
LatNECorner[9];
71
char
LonNECorner[10];
72
char
ReservedDMA[100];
73
char
Reserved5[100];
74
char
Reserved6[206];
75
};
76
77
struct
DtDfadAccRecord
78
{
79
public
:
80
char
Id[3];
81
char
AbsHorzAcc[4];
82
char
Reserved1[4];
83
char
RelHorzAcc[4];
84
char
Reserved2[4];
85
char
AbsVertAcc[4];
86
char
Reserved3[32];
87
char
MultipleAccOutline[2];
88
char
Reserved4[2643];
// 9 times subregion (18 + 14 times coordinate part description)
89
};
90
91
92
DtDfadHeaderRecord
myHeader
;
93
DtDfadDsiRecord
myDsi
;
94
DtDfadAccRecord
myAcc
;
95
96
float
myLat
;
97
float
myLon
;
98
};
99
#endif
100
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)