API Documentation
Loading...
Searching...
No Matches
Proj4CoordinateConverter.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
4namespace NDEVR
5{
7 {
8 public:
9 Proj4CoordinateConverter(const CoordinateProjection& to_projection, const CoordinateProjection& from_projection);
10 void setSourceProjection(const CoordinateProjection& from_projection) override;
11 void setDestinationProjection(const CoordinateProjection& to_projection) override;
12 Vertex<3, fltp08> convert(const Vertex<3, fltp08>& location, bool inverse = false) const override;
13 Vertex<2, fltp08> convert(const Vertex<2, fltp08>& location, bool inverse = false) const override;
14 Bounds<3, fltp08> convert(const Bounds<3, fltp08>& location, bool inverse = false) const override;
15 Bounds<2, fltp08> convert(const Bounds<2, fltp08>& location, bool inverse = false) const override;
16 Matrix<fltp08> convert(const Matrix<fltp08>& location, bool inverse = false) const override;
17 protected:
18 void* m_pj_to;
19 void* m_pj_from;
20 };
21
23 {
24 public:
25 static void SetupAsDefaultEngine();
26 virtual CoordinateConverter* createConverter(const CoordinateProjection& to_projection, const CoordinateProjection& from_projection) override;
27 };
28}
#define COORDINATE_PROJECTION_API
Definition DLLInfo.h:79
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:57
Definition CoordinateConverter.h:60
Definition CoordinateConverter.h:39
Definition Matrix.hpp:173
Definition Proj4CoordinateConverter.h:23
Definition Proj4CoordinateConverter.h:7
void * m_pj_from
Definition Proj4CoordinateConverter.h:19
void * m_pj_to
Definition Proj4CoordinateConverter.h:18
A vertex.
Definition Vertex.hpp:54
Definition ACIColor.h:37
aiColor4D convert(RGBColor value)
Definition AssimpFactory.cpp:271
Definition CoordinateProjection.h:41