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

#include <tile.h>

List of all members.

Public Member Functions

int Column () const
void Draw ()
bool Exists ()
bool Failed () const
const QImage & Image () const
int Layer () const
bool LoadImageToMemory (bool gl=true)
bool LoadTexture ()
int MemorySize () const
int Row () const
bool TextureLoaded () const
 Tile (const std::string &path, int column, int row, int level, const tf::Point &topLeft, const tf::Point &topRight, const tf::Point &bottomLeft, const tf::Point &bottomRight)
int64_t TileID () const
void Transform (const swri_transform_util::Transform &transform)
void UnloadImage ()
void UnloadTexture ()
 ~Tile (void)

Private Attributes

tf::Point m_bottom_left
tf::Point m_bottom_right
const int m_column
int m_dimension
bool m_failed
QImage m_image
const int m_level
int m_memorySize
QMutex m_mutex
const std::string m_path
const int m_row
int m_textureId
bool m_textureLoaded
int64_t m_tileId
tf::Point m_top_left
tf::Point m_top_right
tf::Point m_transformed_bottom_left
tf::Point m_transformed_bottom_right
tf::Point m_transformed_top_left
tf::Point m_transformed_top_right

Detailed Description

Definition at line 50 of file tile.h.


Constructor & Destructor Documentation

multires_image::Tile::Tile ( const std::string &  path,
int  column,
int  row,
int  level,
const tf::Point topLeft,
const tf::Point topRight,
const tf::Point bottomLeft,
const tf::Point bottomRight 
)

Definition at line 46 of file tile.cpp.

Definition at line 71 of file tile.cpp.


Member Function Documentation

int multires_image::Tile::Column ( ) const [inline]

Definition at line 69 of file tile.h.

Definition at line 191 of file tile.cpp.

Definition at line 75 of file tile.cpp.

bool multires_image::Tile::Failed ( ) const [inline]

Definition at line 62 of file tile.h.

const QImage& multires_image::Tile::Image ( ) const [inline]

Definition at line 64 of file tile.h.

int multires_image::Tile::Layer ( ) const [inline]

Definition at line 66 of file tile.h.

bool multires_image::Tile::LoadImageToMemory ( bool  gl = true)

Definition at line 80 of file tile.cpp.

Definition at line 139 of file tile.cpp.

int multires_image::Tile::MemorySize ( ) const [inline]

Definition at line 67 of file tile.h.

int multires_image::Tile::Row ( ) const [inline]

Definition at line 68 of file tile.h.

bool multires_image::Tile::TextureLoaded ( ) const [inline]

Definition at line 63 of file tile.h.

int64_t multires_image::Tile::TileID ( ) const [inline]

Definition at line 65 of file tile.h.

Definition at line 211 of file tile.cpp.

Definition at line 129 of file tile.cpp.

Definition at line 176 of file tile.cpp.


Member Data Documentation

Definition at line 90 of file tile.h.

Definition at line 89 of file tile.h.

const int multires_image::Tile::m_column [private]

Definition at line 83 of file tile.h.

Definition at line 99 of file tile.h.

Definition at line 97 of file tile.h.

Definition at line 103 of file tile.h.

const int multires_image::Tile::m_level [private]

Definition at line 85 of file tile.h.

Definition at line 102 of file tile.h.

Definition at line 104 of file tile.h.

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

Definition at line 82 of file tile.h.

const int multires_image::Tile::m_row [private]

Definition at line 84 of file tile.h.

Definition at line 100 of file tile.h.

Definition at line 98 of file tile.h.

int64_t multires_image::Tile::m_tileId [private]

Definition at line 101 of file tile.h.

Definition at line 87 of file tile.h.

Definition at line 88 of file tile.h.

Definition at line 95 of file tile.h.

Definition at line 94 of file tile.h.

Definition at line 92 of file tile.h.

Definition at line 93 of file tile.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