VAPOR3 3.9.4
Public Member Functions | List of all members
VAPoR::GeoTileMercator Class Reference

#include <GeoTileMercator.h>

Inheritance diagram for VAPoR::GeoTileMercator:
VAPoR::GeoTile

Public Member Functions

 GeoTileMercator (size_t tile_width, size_t tile_height, size_t pixelsize)
 
 GeoTileMercator (size_t tile_width, size_t tile_height, size_t pixelsize, double min_lon, double min_lat, double max_lon, double max_lat)
 
virtual void LatLongToPixelXY (double lon, double lat, int lod, size_t &pixelX, size_t &pixelY) const
 copydoc GeoTile::LatLongToPixelXY()
 
virtual void PixelXYToLatLon (size_t pixelX, size_t pixelY, int lod, double &lon, double &lat) const
 copydoc GeoTile::PixelXYToLatLon()
 
- Public Member Functions inherited from VAPoR::GeoTile
 GeoTile (size_t tile_width, size_t tile_height, size_t pixelsize, double min_lon, double min_lat, double max_lon, double max_lat)
 
virtual ~GeoTile ()
 
int Insert (std::string quadkey, const unsigned char *image)
 
virtual void LatLongToPixelXY (double lon, double lat, int lod, size_t &pixelX, size_t &pixelY) const =0
 
virtual void PixelXYToLatLon (size_t pixelX, size_t pixelY, int lod, double &lon, double &lat) const =0
 
void PixelXYToTileXY (size_t pixelX, size_t pixelY, size_t &tileX, size_t &tileY, size_t &tilePixelX, size_t &tilePixelY) const
 
void TileXYToPixelXY (size_t tileX, size_t tileY, size_t &pixelX, size_t &pixelY) const
 
const unsigned char * GetTile (std::string quadkey) const
 
const unsigned char * GetTile (size_t tileX, size_t tileY, int lod) const
 
int GetMap (size_t pixelX0, size_t pixelY0, size_t pixelX1, size_t pixelY1, int lod, unsigned char *map_image) const
 
void MapSize (int lod, size_t &nx, size_t &ny) const
 
int MapSize (size_t pixelX0, size_t pixelY0, size_t pixelX1, size_t pixelY1, int lod, size_t &nx, size_t &ny) const
 
void GetLatLonExtents (double &minlon, double &minlat, double &maxlon, double &maxlat) const
 
void GetTileSize (size_t &w, size_t &h) const
 
void LatLongRectToPixelRect (const double geoSW[2], const double geoNE[2], int lod, size_t pixelSW[2], size_t pixelNE[2]) const
 

Additional Inherited Members

- Static Public Member Functions inherited from VAPoR::GeoTile
static std::string TileXYToQuadKey (size_t tileX, size_t tileY, int lod)
 
static int QuadKeyToTileXY (std::string quadKey, size_t &tileX, size_t &tileY, int &lod)
 
- Protected Member Functions inherited from VAPoR::GeoTile
double _Clip (double n, double minValue, double maxValue) const
 
- Protected Attributes inherited from VAPoR::GeoTile
size_t _tile_width
 
size_t _tile_height
 
double _MinLatitude
 
double _MaxLatitude
 
double _MinLongitude
 
double _MaxLongitude
 

Detailed Description

Definition at line 33 of file GeoTileMercator.h.

Constructor & Destructor Documentation

◆ GeoTileMercator() [1/2]

VAPoR::GeoTileMercator::GeoTileMercator ( size_t  tile_width,
size_t  tile_height,
size_t  pixelsize 
)
inline

GeoTileMercator class constructor

Parameters
[in]tile_heightHeight of an image tile in pixels. The tile width must the same as the tile height
[in]pixelsizeThe size of a pixel in bytes

Definition at line 42 of file GeoTileMercator.h.

◆ GeoTileMercator() [2/2]

VAPoR::GeoTileMercator::GeoTileMercator ( size_t  tile_width,
size_t  tile_height,
size_t  pixelsize,
double  min_lon,
double  min_lat,
double  max_lon,
double  max_lat 
)
inline

Definition at line 44 of file GeoTileMercator.h.

Member Function Documentation

◆ LatLongToPixelXY()

virtual void VAPoR::GeoTileMercator::LatLongToPixelXY ( double  lon,
double  lat,
int  lod,
size_t &  pixelX,
size_t &  pixelY 
) const
virtual

◆ PixelXYToLatLon()

virtual void VAPoR::GeoTileMercator::PixelXYToLatLon ( size_t  pixelX,
size_t  pixelY,
int  lod,
double &  lon,
double &  lat 
) const
virtual

The documentation for this class was generated from the following file: