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

#include <tile.h>

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 Transform (const swri_transform_util::Transform &transform, const swri_transform_util::Transform &offset_tf)
 
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.

multires_image::Tile::~Tile ( void  )

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.

void multires_image::Tile::Draw ( )

Definition at line 191 of file tile.cpp.

bool multires_image::Tile::Exists ( )

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.

bool multires_image::Tile::LoadTexture ( )

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.

void multires_image::Tile::Transform ( const swri_transform_util::Transform transform)

Definition at line 211 of file tile.cpp.

void multires_image::Tile::Transform ( const swri_transform_util::Transform transform,
const swri_transform_util::Transform offset_tf 
)

Definition at line 219 of file tile.cpp.

void multires_image::Tile::UnloadImage ( )

Definition at line 129 of file tile.cpp.

void multires_image::Tile::UnloadTexture ( )

Definition at line 176 of file tile.cpp.

Member Data Documentation

tf::Point multires_image::Tile::m_bottom_left
private

Definition at line 91 of file tile.h.

tf::Point multires_image::Tile::m_bottom_right
private

Definition at line 90 of file tile.h.

const int multires_image::Tile::m_column
private

Definition at line 84 of file tile.h.

int multires_image::Tile::m_dimension
private

Definition at line 100 of file tile.h.

bool multires_image::Tile::m_failed
private

Definition at line 98 of file tile.h.

QImage multires_image::Tile::m_image
private

Definition at line 104 of file tile.h.

const int multires_image::Tile::m_level
private

Definition at line 86 of file tile.h.

int multires_image::Tile::m_memorySize
private

Definition at line 103 of file tile.h.

QMutex multires_image::Tile::m_mutex
private

Definition at line 105 of file tile.h.

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

Definition at line 83 of file tile.h.

const int multires_image::Tile::m_row
private

Definition at line 85 of file tile.h.

int multires_image::Tile::m_textureId
private

Definition at line 101 of file tile.h.

bool multires_image::Tile::m_textureLoaded
private

Definition at line 99 of file tile.h.

int64_t multires_image::Tile::m_tileId
private

Definition at line 102 of file tile.h.

tf::Point multires_image::Tile::m_top_left
private

Definition at line 88 of file tile.h.

tf::Point multires_image::Tile::m_top_right
private

Definition at line 89 of file tile.h.

tf::Point multires_image::Tile::m_transformed_bottom_left
private

Definition at line 96 of file tile.h.

tf::Point multires_image::Tile::m_transformed_bottom_right
private

Definition at line 95 of file tile.h.

tf::Point multires_image::Tile::m_transformed_top_left
private

Definition at line 93 of file tile.h.

tf::Point multires_image::Tile::m_transformed_top_right
private

Definition at line 94 of file tile.h.


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


multires_image
Author(s): Marc Alban
autogenerated on Fri Mar 19 2021 02:44:42