mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
18 lines
No EOL
818 B
C++
18 lines
No EOL
818 B
C++
#pragma once
|
|
|
|
#define cimg_use_png
|
|
#define cimg_display 0
|
|
#include "CImg.h"
|
|
#include <functional>
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
namespace map
|
|
{
|
|
template <typename T>
|
|
void drawProjectedMapGeoJson(std::vector<std::string> shapeFiles, cimg_library::CImg<T> &image, T color[3], std::function<std::pair<int, int>(float, float, int, int)> projectionFunc);
|
|
template <typename T>
|
|
void drawProjectedCapitalsGeoJson(std::vector<std::string> shapeFiles, cimg_library::CImg<T> &image, T color[3], std::function<std::pair<int, int>(float, float, int, int)> projectionFunc, float ratio = 1);
|
|
template <typename T>
|
|
void drawProjectedMapShapefile(std::vector<std::string> shapeFiles, cimg_library::CImg<T> &image, T color[3], std::function<std::pair<int, int>(float, float, int, int)> projectionFunc);
|
|
} |