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

◆ Tile()

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.

◆ ~Tile()

multires_image::Tile::~Tile ( void  )

Definition at line 71 of file tile.cpp.

Member Function Documentation

◆ Column()

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

Definition at line 69 of file tile.h.

◆ Draw()

void multires_image::Tile::Draw ( )

Definition at line 191 of file tile.cpp.

◆ Exists()

bool multires_image::Tile::Exists ( )

Definition at line 75 of file tile.cpp.

◆ Failed()

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

Definition at line 62 of file tile.h.

◆ Image()

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

Definition at line 64 of file tile.h.

◆ Layer()

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

Definition at line 66 of file tile.h.

◆ LoadImageToMemory()

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

Definition at line 80 of file tile.cpp.

◆ LoadTexture()

bool multires_image::Tile::LoadTexture ( )

Definition at line 139 of file tile.cpp.

◆ MemorySize()

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

Definition at line 67 of file tile.h.

◆ Row()

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

Definition at line 68 of file tile.h.

◆ TextureLoaded()

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

Definition at line 63 of file tile.h.

◆ TileID()

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

Definition at line 65 of file tile.h.

◆ Transform() [1/2]

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

Definition at line 211 of file tile.cpp.

◆ Transform() [2/2]

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.

◆ UnloadImage()

void multires_image::Tile::UnloadImage ( )

Definition at line 129 of file tile.cpp.

◆ UnloadTexture()

void multires_image::Tile::UnloadTexture ( )

Definition at line 176 of file tile.cpp.

Member Data Documentation

◆ m_bottom_left

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

Definition at line 91 of file tile.h.

◆ m_bottom_right

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

Definition at line 90 of file tile.h.

◆ m_column

const int multires_image::Tile::m_column
private

Definition at line 84 of file tile.h.

◆ m_dimension

int multires_image::Tile::m_dimension
private

Definition at line 100 of file tile.h.

◆ m_failed

bool multires_image::Tile::m_failed
private

Definition at line 98 of file tile.h.

◆ m_image

QImage multires_image::Tile::m_image
private

Definition at line 104 of file tile.h.

◆ m_level

const int multires_image::Tile::m_level
private

Definition at line 86 of file tile.h.

◆ m_memorySize

int multires_image::Tile::m_memorySize
private

Definition at line 103 of file tile.h.

◆ m_mutex

QMutex multires_image::Tile::m_mutex
private

Definition at line 105 of file tile.h.

◆ m_path

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

Definition at line 83 of file tile.h.

◆ m_row

const int multires_image::Tile::m_row
private

Definition at line 85 of file tile.h.

◆ m_textureId

int multires_image::Tile::m_textureId
private

Definition at line 101 of file tile.h.

◆ m_textureLoaded

bool multires_image::Tile::m_textureLoaded
private

Definition at line 99 of file tile.h.

◆ m_tileId

int64_t multires_image::Tile::m_tileId
private

Definition at line 102 of file tile.h.

◆ m_top_left

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

Definition at line 88 of file tile.h.

◆ m_top_right

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

Definition at line 89 of file tile.h.

◆ m_transformed_bottom_left

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

Definition at line 96 of file tile.h.

◆ m_transformed_bottom_right

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

Definition at line 95 of file tile.h.

◆ m_transformed_top_left

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

Definition at line 93 of file tile.h.

◆ m_transformed_top_right

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