VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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;
24 class DtDfadInitializer;
25 
26 
27 // This class is responsible for importing DFAD data into our internal vector network format.
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 
54 {
55  return "dfad";
56 }
57 
58 #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)