Public Member Functions | Private Attributes | List of all members
multires_image::TileSetLayer Class Reference

#include <tile_set_layer.h>

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::GeoReferencem_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.

multires_image::TileSetLayer::~TileSetLayer ( void  )

Definition at line 67 of file tile_set_layer.cpp.

Member Function Documentation

int multires_image::TileSetLayer::ColumnCount ( )

Definition at line 69 of file tile_set_layer.h.

Tile* multires_image::TileSetLayer::GetTile ( int  column,
int  row 

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.

bool multires_image::TileSetLayer::Load ( )

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.

int multires_image::TileSetLayer::RowCount ( )

Definition at line 68 of file tile_set_layer.h.

Member Data Documentation

int multires_image::TileSetLayer::m_columns

Definition at line 80 of file tile_set_layer.h.

bool multires_image::TileSetLayer::m_expectTiles

Definition at line 78 of file tile_set_layer.h.

const swri_transform_util::GeoReference& multires_image::TileSetLayer::m_geo

Definition at line 72 of file tile_set_layer.h.

const int multires_image::TileSetLayer::m_layer

Definition at line 75 of file tile_set_layer.h.

const std::string multires_image::TileSetLayer::m_path

Definition at line 73 of file tile_set_layer.h.

int multires_image::TileSetLayer::m_rows

Definition at line 81 of file tile_set_layer.h.

const double multires_image::TileSetLayer::m_scale

Definition at line 76 of file tile_set_layer.h.

std::vector<std::vector<Tile*> > multires_image::TileSetLayer::m_tiles

Definition at line 83 of file tile_set_layer.h.

const int multires_image::TileSetLayer::m_tileSize

Definition at line 74 of file tile_set_layer.h.

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

Author(s): Marc Alban
autogenerated on Mon Jun 10 2019 14:02:24