VAPOR3 3.9.4
GeoTIFWriter.h
Go to the documentation of this file.
1#pragma once
2
3#include "vapor/TIFWriter.h"
4#ifdef WIN32
5 #include <geotiff/geotiffio.h>
6#else
7 #include <geotiffio.h>
8#endif
9
10namespace VAPoR {
11
18 GTIF *gtif;
19 bool _hasTiePoint;
20 bool _hasPixelScale;
21 bool _geoTiffWasConfigured;
22
23public:
24 GeoTIFWriter(const std::string &path);
26
27 int Write(const unsigned char *buffer, const unsigned int width, const unsigned int height);
28 int ConfigureFromProj4(const std::string proj4String);
29 void SetTiePoint(double worldX, double worldY, double rasterX = 0, double rasterY = 0);
30 void SetPixelScale(double x, double y);
31};
32} // namespace VAPoR
Writes a TIF image with GeoTIF metadata.
Definition: GeoTIFWriter.h:17
void SetTiePoint(double worldX, double worldY, double rasterX=0, double rasterY=0)
GeoTIFWriter(const std::string &path)
int ConfigureFromProj4(const std::string proj4String)
int Write(const unsigned char *buffer, const unsigned int width, const unsigned int height)
void SetPixelScale(double x, double y)
Writes TIF image files.
Definition: TIFWriter.h:15
#define RENDER_API
Definition: common.h:78