VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
dted
dfadFeature.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_feature.h,v $ $Revision: 1.9 $ $State: Exp $
7
*******************************************************************************/
8
9
//
10
// Defines a basic feature of any type to be read
11
//
12
#ifndef __DFADFEATURE
13
#define __DFADFEATURE
14
15
#include "
dted/dtedDefines.h
"
16
#include <stdio.h>
17
#include <vlutil/vlMachineTypes.h>
18
#include "
geometry/point.h
"
19
#include <vlutil/vlList.h>
20
#include "
dted/dfadInfo.h
"
21
22
23
class
DT_DLL_dted
DtDfadFeature
24
{
25
public
:
26
27
DtDfadFeature
();
28
virtual
~
DtDfadFeature
();
29
30
virtual
DtDfadFeature
& operator=(
const
DtDfadFeature
& orig);
31
32
virtual
bool
readBody(FILE* f);
33
virtual
bool
readList(FILE* f);
34
35
virtual
bool
setBody(DtU8* data);
36
37
virtual
DtInt16
facNumber();
38
virtual
DtInt8
type();
39
virtual
DtInt16
fidCode();
40
virtual
DtInt8
rsfFactor();
41
virtual
DtInt16
countOfPoints();
42
virtual
DtInt16
predominantHeight();
43
virtual
DtInt32
heightInMeters();
44
virtual
bool
complete
(
DtDfadInfo
&info);
45
virtual
void
clean();
46
47
inline
DtInt16
orientation
() {
return
myOrientation;}
48
inline
DtFloat32
length
() {
return
myLength;}
49
inline
DtFloat32
width
() {
return
myWidth;}
50
inline
DtList&
list
() {
return
myList;}
51
52
protected
:
53
54
virtual
void
parseData();
55
virtual
void
parsePoint(
const
DtPoint
&
origin
, DtU8* coord);
56
virtual
void
parseSpecificType();
57
58
DtInt16
myFacNumber
;
59
DtInt8
myType
;
60
61
DtInt16
myFidCode
;
62
DtInt8
myRsfFactor
;
63
64
DtInt16
myHeight
;
65
DtInt32
myHeightInMeters
;
66
DtInt16
myCountOfPoints
;
67
68
DtU8 myData[9];
69
DtU8 myPoints[2700];
70
71
DtInt16
myOrientation
;
72
DtFloat32
myWidth
;
73
DtFloat32
myLength
;
74
75
DtList
myList
;
76
};
77
78
#endif
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)