6 #include <geotiff/xtiffio.h>
42 virtual int Initialize(
string path, std::vector<double> times) = 0;
56 virtual unsigned char *
GetImage(
size_t ts,
size_t &width,
size_t &height) = 0;
90 virtual unsigned char *
GetImage(
size_t ts,
const double pcsExtentsReq[4],
string proj4StringReq,
size_t maxWidthReq,
size_t maxHeightReq,
double pcsExtentsImg[4],
double geoCornersImg[8],
91 string &proj4StringImg,
size_t &width,
size_t &height) = 0;
108 int CornerExtents(
const double srccoords[4],
double dstcoords[4],
string proj4src)
const;
An abstract class for managing geo-referenced images.
virtual int Initialize(string path, std::vector< double > times)=0
virtual unsigned char * GetImage(size_t ts, const double pcsExtentsReq[4], string proj4StringReq, size_t maxWidthReq, size_t maxHeightReq, double pcsExtentsImg[4], double geoCornersImg[8], string &proj4StringImg, size_t &width, size_t &height)=0
GeoImage(int pixelsize, int nbands)
int TiffOpen(string path)
virtual unsigned char * GetImage(size_t ts, size_t &width, size_t &height)=0
int TiffReadImage(int dirnum, unsigned char *texture) const
int TiffGetImageDimensions(int dirnum, size_t &width, size_t &height) const
TIFF * TiffGetHandle() const
int CornerExtents(const double srccoords[4], double dstcoords[4], string proj4src) const