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

◆ TileSetLayer()

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.

◆ ~TileSetLayer()

multires_image::TileSetLayer::~TileSetLayer ( void  )

Definition at line 67 of file tile_set_layer.cpp.

Member Function Documentation

◆ ColumnCount()

int multires_image::TileSetLayer::ColumnCount ( )
inline

Definition at line 69 of file tile_set_layer.h.

◆ GetTile()

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

Definition at line 58 of file tile_set_layer.h.

◆ GetTileIndex() [1/2]

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

Definition at line 144 of file tile_set_layer.cpp.

◆ GetTileIndex() [2/2]

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

Definition at line 138 of file tile_set_layer.cpp.

◆ GetTileRange()

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.

◆ Load() [1/2]

bool multires_image::TileSetLayer::Load ( )

Definition at line 71 of file tile_set_layer.cpp.

◆ Load() [2/2]

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

Definition at line 76 of file tile_set_layer.cpp.

◆ RowCount()

int multires_image::TileSetLayer::RowCount ( )
inline

Definition at line 68 of file tile_set_layer.h.

Member Data Documentation

◆ m_columns

int multires_image::TileSetLayer::m_columns
private

Definition at line 80 of file tile_set_layer.h.

◆ m_expectTiles

bool multires_image::TileSetLayer::m_expectTiles
private

Definition at line 78 of file tile_set_layer.h.

◆ m_geo

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

Definition at line 72 of file tile_set_layer.h.

◆ m_layer

const int multires_image::TileSetLayer::m_layer
private

Definition at line 75 of file tile_set_layer.h.

◆ m_path

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

Definition at line 73 of file tile_set_layer.h.

◆ m_rows

int multires_image::TileSetLayer::m_rows
private

Definition at line 81 of file tile_set_layer.h.

◆ m_scale

const double multires_image::TileSetLayer::m_scale
private

Definition at line 76 of file tile_set_layer.h.

◆ m_tiles

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

Definition at line 83 of file tile_set_layer.h.

◆ m_tileSize

const int multires_image::TileSetLayer::m_tileSize
private

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 Fri Dec 16 2022 03:59:39