Public Member Functions | Private Attributes
multires_image::TileSetLayer Class Reference

#include <tile_set_layer.h>

List of all members.

Public Member Functions

int ColumnCount ()
TileGetTile (int column, int row)
void GetTileIndex (const tf::Point &position, int &row, int &column) const
void GetTileIndex (double x, double y, int &row, int &column) const
void GetTileRange (const tf::Point &top_left, const tf::Point &bottom_right, int &startRow, int &startColumn, int &endRow, int &endColumn) const
bool Load ()
bool Load (const std::string extension)
int RowCount ()
 TileSetLayer (const swri_transform_util::GeoReference &geo, const std::string &path, int tileSize, int layer)
 ~TileSetLayer (void)

Private Attributes

int m_columns
bool m_expectTiles
const
swri_transform_util::GeoReference
m_geo
const int m_layer
const std::string m_path
int m_rows
const double m_scale
std::vector< std::vector< Tile * > > m_tiles
const int m_tileSize

Detailed Description

Definition at line 45 of file tile_set_layer.h.


Constructor & Destructor Documentation

multires_image::TileSetLayer::TileSetLayer ( const swri_transform_util::GeoReference geo,
const std::string &  path,
int  tileSize,
int  layer 
)

Definition at line 41 of file tile_set_layer.cpp.

Definition at line 67 of file tile_set_layer.cpp.


Member Function Documentation

Definition at line 69 of file tile_set_layer.h.

Tile* multires_image::TileSetLayer::GetTile ( int  column,
int  row 
) [inline]

Definition at line 58 of file tile_set_layer.h.

void multires_image::TileSetLayer::GetTileIndex ( const tf::Point position,
int &  row,
int &  column 
) const

Definition at line 144 of file tile_set_layer.cpp.

void multires_image::TileSetLayer::GetTileIndex ( double  x,
double  y,
int &  row,
int &  column 
) const

Definition at line 138 of file tile_set_layer.cpp.

void multires_image::TileSetLayer::GetTileRange ( const tf::Point top_left,
const tf::Point bottom_right,
int &  startRow,
int &  startColumn,
int &  endRow,
int &  endColumn 
) const

Definition at line 153 of file tile_set_layer.cpp.

Definition at line 71 of file tile_set_layer.cpp.

bool multires_image::TileSetLayer::Load ( const std::string  extension)

Definition at line 76 of file tile_set_layer.cpp.

Definition at line 68 of file tile_set_layer.h.


Member Data Documentation

Definition at line 80 of file tile_set_layer.h.

Definition at line 78 of file tile_set_layer.h.

Definition at line 72 of file tile_set_layer.h.

Definition at line 75 of file tile_set_layer.h.

const std::string multires_image::TileSetLayer::m_path [private]

Definition at line 73 of file tile_set_layer.h.

Definition at line 81 of file tile_set_layer.h.

const double multires_image::TileSetLayer::m_scale [private]

Definition at line 76 of file tile_set_layer.h.

std::vector<std::vector<Tile*> > multires_image::TileSetLayer::m_tiles [private]

Definition at line 83 of file tile_set_layer.h.

Definition at line 74 of file tile_set_layer.h.


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


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