VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGeoTiffHeaderParser.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtGeoTiffHeaderParser_H_
11 #define DtGeoTiffHeaderParser_H_
12 
14 
15 #include <vrvCore/vrvCore.h>
17 
18 namespace makVrv
19 {
20  class DtCoordinateSystem;
21 
25  {
26 
27  public:
28 
30  DtGeoTiffHeaderParser(DtDe& de, const std::string& filePath);
31 
33  virtual ~DtGeoTiffHeaderParser();
34 
36  virtual bool isValid();
37 
39  virtual bool geotiffExtent(const char* filename,double *sw_x, double *sw_y,
40  double *ne_x, double *ne_y);
41 
42  protected:
44  virtual void slot_coordinateSystemChanged();
45 
46  protected:
47  typedef const char* (*CSVFileCallbackFP)(const char*);
48 
50  static const char* csvFileCallback(const char*);
51 
53  static std::string theCsvFilePath;
54 
56 
59  DtCoordinateSystem* myCoordinateSystem = nullptr;
60  };
61 
65  {
66 
67  public:
68 
71 
74 
76  virtual DtHeaderParser* create(DtDe& de, const std::string& filePath) const;
77 
78  };
79 }
80 
81 #endif
82 
DtGeoTiffHeaderParserCreator class.
Definition: DtGeoTiffHeaderParser.h:64
Abstact header parser creator class.
Definition: DtHeaderParser.h:66
Abstract header parser class.
Definition: DtHeaderParser.h:23
DtSignalConnectionManager myConnections
Definition: DtGeoTiffHeaderParser.h:55
DtImageHeaderParser parses image files for their extents. By default, returns the extent of the terra...
Definition: DtImageHeaderParser.h:20
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Contains makVrv::DtImageHeaderParser class.
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:41
Base class to provide boost signal/slot management.
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
DtGeoTiffHeaderParser parses geo tiff files for their extents.
Definition: DtGeoTiffHeaderParser.h:24
static std::string theCsvFilePath
Path to csv directory; needs to be set according to the de&#39;s appdata.
Definition: DtGeoTiffHeaderParser.h:53
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)