Public Member Functions | Private Member Functions | Private Attributes
tile_map::TileMapView Class Reference

#include <tile_map_view.h>

List of all members.

Public Member Functions

void Draw ()
void ResetCache ()
void SetTileSource (const boost::shared_ptr< TileSource > &tile_source)
void SetTransform (const swri_transform_util::Transform &transform)
void SetView (double latitude, double longitude, double scale, int32_t width, int32_t height)
 TileMapView ()

Private Member Functions

void InitializeTile (int32_t level, int64_t x, int64_t y, Tile &tile)
void ToLatLon (int32_t level, double x, double y, double &latitude, double &longitude)

Private Attributes

int64_t center_x_
int64_t center_y_
int32_t height_
int32_t level_
std::vector< Tileprecache_
int64_t size_
TextureCachePtr tile_cache_
boost::shared_ptr< TileSourcetile_source_
std::vector< Tiletiles_
swri_transform_util::Transform transform_
int32_t width_

Detailed Description

Definition at line 61 of file tile_map_view.h.


Constructor & Destructor Documentation

Definition at line 48 of file tile_map_view.cpp.


Member Function Documentation

Definition at line 204 of file tile_map_view.cpp.

void tile_map::TileMapView::InitializeTile ( int32_t  level,
int64_t  x,
int64_t  y,
Tile tile 
) [private]

Definition at line 335 of file tile_map_view.cpp.

Definition at line 57 of file tile_map_view.cpp.

void tile_map::TileMapView::SetTileSource ( const boost::shared_ptr< TileSource > &  tile_source)

Definition at line 62 of file tile_map_view.cpp.

Definition at line 68 of file tile_map_view.cpp.

void tile_map::TileMapView::SetView ( double  latitude,
double  longitude,
double  scale,
int32_t  width,
int32_t  height 
)

Definition at line 95 of file tile_map_view.cpp.

void tile_map::TileMapView::ToLatLon ( int32_t  level,
double  x,
double  y,
double &  latitude,
double &  longitude 
) [private]

Definition at line 326 of file tile_map_view.cpp.


Member Data Documentation

Definition at line 88 of file tile_map_view.h.

Definition at line 89 of file tile_map_view.h.

int32_t tile_map::TileMapView::height_ [private]

Definition at line 94 of file tile_map_view.h.

int32_t tile_map::TileMapView::level_ [private]

Definition at line 86 of file tile_map_view.h.

std::vector<Tile> tile_map::TileMapView::precache_ [private]

Definition at line 97 of file tile_map_view.h.

int64_t tile_map::TileMapView::size_ [private]

Definition at line 91 of file tile_map_view.h.

Definition at line 99 of file tile_map_view.h.

boost::shared_ptr<TileSource> tile_map::TileMapView::tile_source_ [private]

Definition at line 82 of file tile_map_view.h.

std::vector<Tile> tile_map::TileMapView::tiles_ [private]

Definition at line 96 of file tile_map_view.h.

Definition at line 84 of file tile_map_view.h.

int32_t tile_map::TileMapView::width_ [private]

Definition at line 93 of file tile_map_view.h.


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


tile_map
Author(s): Marc Alban
autogenerated on Thu Aug 24 2017 02:46:24