GL Studio C++ Runtime API
GeoTIFFMapChartDataSource Class Reference

#include <gls_map_geotiff.h>

Inheritance diagram for GeoTIFFMapChartDataSource:
GlsMapChartDataSource

Public Member Functions

 GeoTIFFMapChartDataSource ()
 
 ~GeoTIFFMapChartDataSource ()
 
void LoadGeoTIFF (const std::string &str)
 
void UnloadGeoTIFF (const std::string &str)
 
void SetTargetCellLoadRate (const double targetCellLoadRate)
 
double GetTargetCellLoadRate () const
 
bool GetAvailableCoverage (GeoRect *dest) DISTI_METHOD_OVERRIDE
 See base class.
 
void GetCellList (const GeoRect &coverage, unsigned long layerID, double viewLogicalHeight, double viewGeoHeight, MapChartCellList &viewList) DISTI_METHOD_OVERRIDE
 See base class.
 
void SetCacheCount (const unsigned int cacheCount)
 
- Public Member Functions inherited from GlsMapChartDataSource
virtual ~GlsMapChartDataSource ()
 Destructor for abstract base class.
 
virtual unsigned long GetBestLayer (GlsMapView *view, GlsMapChart *chart) const
 
virtual void PostDraw (GlsMapView *view, GlsMapChart *chart)
 
virtual bool AreAllCellsLoaded (GlsMapView *view, GlsMapChart *chart)
 

Protected Attributes

GeoRect _extents
 The lat/lon boundries of the data contained in this Map Chart Data Source.
 

Additional Inherited Members

- Protected Member Functions inherited from GlsMapChartDataSource
 GlsMapChartDataSource ()
 Constructor for subclasses.
 

Detailed Description

Runtime implementation of a GlsMapGeoTIFF

Constructor & Destructor Documentation

Create a new GlsMapGeoTIFF.

Destructs a GlsMapGeoTIFF object

Member Function Documentation

double GetTargetCellLoadRate ( ) const

Get the target rate in hz at which cells will be loaded

Returns
target rate in hz else 0.0 for no target rate ( i.e. load as quickly as possible )
void LoadGeoTIFF ( const std::string &  str)

Load one or more GeoTIFF images.

Parameters
strA string containing one filename, a comma separated list of filenames a directory to parse, recursively, looking for files to load.
void SetCacheCount ( const unsigned int  cacheCount)

Set the count of the layer cache

Parameters
cacheCountmax number of layers to cache else 0u to disable layer caching
void SetTargetCellLoadRate ( const double  targetCellLoadRate)

Set the target rate in hz at which cells will be loaded

Parameters
targetCellLoadRatetarget rate in hz else 0.0 for no target rate ( i.e. load as quickly as possible )
void UnloadGeoTIFF ( const std::string &  str)

Unload one or more GeoTIFF images.

Parameters
strMust be the same string passed to LoadGeoTIFF

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