VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtImageHeaderParser.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 
10 
11 #pragma once
12 #include <vrvCore/vrvCore.h>
13 #include <vrvCore/DtHeaderParser.h>
14 
15 namespace makVrv
16 {
21  {
22 
23  public:
24 
26  DtImageHeaderParser(DtDe& de, const std::string& filePath);
27 
29  virtual ~DtImageHeaderParser();
30 
33  void setTerrainPatch(const std::string& patch);
34  const std::string& terrainPatch() const;
35 
37  virtual bool isValid();
38 
39  static void convertCorner(char* token, double& x, double& y, double& z);
40  static void parseInformation(const std::string& info,
41  double& sw_x, double& sw_y, double& sw_z, double& ne_x, double& ne_y, double& ne_z, int& blendMode, int& wrapMode);
42 
43  protected:
44 
49  void addTerrainPatchRecord(const std::string& filename);
50 
51  protected:
53  std::string myTerrainPatch;
54 
55  };
56 
60  {
61 
62  public:
63 
66 
68  virtual ~DtImageHeaderParserCreator();
69 
71  virtual DtHeaderParser* create(DtDe& de, const std::string& filePath) const;
72 
73  };
74 }
75 
76 
std::string myTerrainPatch
Definition: DtImageHeaderParser.h:53
Abstact header parser creator class.
Definition: DtHeaderParser.h:66
Contains makVrv::DtHeaderParser class declaration.
Abstract header parser class.
Definition: DtHeaderParser.h:23
DtImageHeaderParser class.
Definition: DtImageHeaderParser.h:59
DtImageHeaderParser parses image files for their extents.
Definition: DtImageHeaderParser.h:20
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtDe & myDe
Definition: DtImageHeaderParser.h:52
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains DLL export macros.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)