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

#include <GeoTileEquirectangular.h>

Inheritance diagram for VAPoR::GeoTileEquirectangular:
VAPoR::GeoTile

Public Member Functions

 GeoTileEquirectangular (size_t tile_width, size_t tile_height, size_t pixelsize)
 
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

This class derives the GetTile base class to provide a tiled world mapping system using the Equirectangular projection.

Author
John Clyne
Version
$Revision$
Date
$Date$

Definition at line 19 of file GeoTileEquirectangular.h.

Constructor & Destructor Documentation

◆ GeoTileEquirectangular()

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

GeoTileEquirectangular class constructor

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

Definition at line 28 of file GeoTileEquirectangular.h.

Member Function Documentation

◆ LatLongToPixelXY()

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

◆ PixelXYToLatLon()

virtual void VAPoR::GeoTileEquirectangular::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: