VR-Forces 4.6.1 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
dfadReader.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: dfadReader.h,v $ $Revision: 1.12 $ $State: Exp $
7
*******************************************************************************/
8
#ifndef dfadReader_H_
9
#define dfadReader_H_
10
11
12
//
13
// \file dfadReader.h
14
// \brief The file contains the DtDfadReader class declaration.
15
16
#include "
dted/dtedDefines.h
"
17
#include "
gdb/vectorDataReader.h
"
18
#include "
dted/dfadData.h
"
19
#include <vlutil/vlFilename.h>
20
21
22
class
DtTerrainDatabase
;
23
class
DtVectorDataInitializer
;
24
class
DtDfadInitializer
;
25
26
27
// This class is responsible for importing DFAD data into our internal vector network format.
28
class
DT_DLL_dted
DtDfadReader
:
public
DtVectorDataReader
29
{
30
public
:
31
// constructor
32
DtDfadReader
();
33
34
// destructor
35
virtual
~
DtDfadReader
();
36
37
// Imports DFAD data into the specified terrain database, using the specified
38
// path and initialization parameters.
39
// \return A boolean indicating success or failure in importing the DFAD data.
40
virtual
bool
importVectorData
(
const
DtFilename& path,
41
DtTerrainDatabase
* terrain,
42
DtVectorDataInitializer
* myInit);
43
44
virtual
DtString
dataType
();
45
46
static
DtVectorDataReader
* create();
47
48
protected
:
49
50
virtual
bool
read(DtFilename myFilename,
DtDfadData
&data);
51
};
52
53
inline
DtString
DtDfadReader::dataType
()
54
{
55
return
"dfad"
;
56
}
57
58
#endif
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)