VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtHeaderParser.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtHeaderParser_H_
11 #define DtHeaderParser_H_
12 
13 #include <vrvCore/vrvCore.h>
15 #include <string>
16 
17 namespace makVrv
18 {
19  class DtDe;
20 
24  {
25 
26  public:
27 
29  DtHeaderParser(const std::string& filePath);
30 
32  virtual ~DtHeaderParser();
33 
36  virtual bool isValid() = 0;
37 
39  virtual const std::string& terrainCoordinateSystem();
40 
42  virtual const std::string& terrainCoordinateSystemParameters();
43 
45  virtual const std::string& filePath();
46 
47  typedef std::list<makArchives::DtTerrainPatchRecord> TerrainPatchRecords;
48 
50  const TerrainPatchRecords& terrainPatchRecords() const;
51 
53  TerrainPatchRecords& terrainPatchRecords();
54 
55  protected:
56 
57  std::string myFilePath;
61 
62  };
63 
67  {
68 
69  public:
70 
73 
75  virtual ~DtHeaderParserCreator();
76 
78  virtual DtHeaderParser* create(DtDe& de, const std::string& filePath) const = 0;
79 
80  };
81 }
82 
83 #endif
84 
Abstact header parser creator class.
Definition: DtHeaderParser.h:66
std::string myTerrainCoordinateSystem
Definition: DtHeaderParser.h:58
Abstract header parser class.
Definition: DtHeaderParser.h:23
TerrainPatchRecords myTerrainPatchRecords
Definition: DtHeaderParser.h:60
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains makVrv::DtTerrainPatchRecord class.
std::list< makArchives::DtTerrainPatchRecord > TerrainPatchRecords
Definition: DtHeaderParser.h:47
std::string myTerrainCoordinateSystemParameters
Definition: DtHeaderParser.h:59
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
std::string myFilePath
Definition: DtHeaderParser.h:57
Contains DLL export macros.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)