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
dfadInfo.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_info.h,v $ $Revision: 1.5 $ $State: Exp $
7
*******************************************************************************/
8
9
//
10
// Define a dfad data Info.
11
// It permits access to read it sequentially from a
12
// point, asking for:
13
// a feature : 2 words
14
// a coord : a word
15
// checksum : a word
16
// a zero word.
17
//
18
// - setPointerToWord(int i = 0); i <= 601 : sets the pointer to word i
19
// - getFeature(pfeature): gets next feature data size (two words)
20
// - getCoord(pCoord): gets next coord data size ( word)
21
// - getWords(pWords, howMany): gets howMany words
22
//
23
// For more details, see dfad_main.doc
24
//
25
26
27
#ifndef __DFADInfo
28
#define __DFADInfo
29
30
#include "
dted/dtedDefines.h
"
31
#include <stdio.h>
32
#include "
geometry/point.h
"
33
#include "
dted/dfadRecord.h
"
34
35
class
DT_DLL_dted
DtDfadInfo
36
{
37
public
:
38
39
DtDfadInfo
();
40
41
virtual
bool
setFile(FILE* f);
42
virtual
void
setOrigin(
const
DtPoint
&
origin
);
43
virtual
bool
getFeatureData(DtU8* pfeature);
44
virtual
bool
getCoordData(DtU8* pcoord);
45
virtual
bool
getWords(DtU8* pword,
int
howMany = 1);
46
47
inline
const
DtPoint
&
origin
() {
return
myOrigin;}
48
49
protected
:
50
51
DtDfadRecord
myRecord
;
52
DtPoint
myOrigin
;
53
};
54
55
#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
)