Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
multires_image::QGLMap Class Reference

#include <QGLMap.h>

Inheritance diagram for multires_image::QGLMap:
Inheritance graph
[legend]

Public Slots

void ChangeCenter (double x, double y)
 
void DeleteTexture (Tile *tile)
 
void LoadTexture (Tile *tile)
 
void SetTextureMemory (int64_t bytes)
 

Signals

void SignalMemorySize (int64_t bytes)
 
void SignalViewChange (double x1, double y1, double x2, double y2)
 
void SignalZoomChange (double z)
 

Public Member Functions

void Exit ()
 
 QGLMap (QWidget *parent=0)
 
tf::Point SceneCenter ()
 
void SetTiles (TileSet *tiles)
 
void UpdateView ()
 
tf::Point ViewCenter ()
 
 ~QGLMap ()
 

Protected Member Functions

void initializeGL ()
 
void mouseDoubleClickEvent (QMouseEvent *e)
 
void mouseMoveEvent (QMouseEvent *e)
 
void mousePressEvent (QMouseEvent *e)
 
void mouseReleaseEvent (QMouseEvent *e)
 
void paintGL ()
 
void resizeGL (int w, int h)
 
void wheelEvent (QWheelEvent *e)
 

Private Member Functions

void MousePan (int x, int y)
 
void Recenter ()
 

Private Attributes

bool m_initialized
 
bool m_mouseDown
 
int m_mouseDownX
 
int m_mouseDownY
 
double m_scale
 
tf::Point m_scene_bottom_right
 
tf::Point m_scene_center
 
tf::Point m_scene_top_left
 
TileViewm_tileView
 
tf::Point m_view_bottom_right
 
tf::Point m_view_center
 
tf::Point m_view_top_left
 
Ui::QGLMapClass ui
 

Detailed Description

Definition at line 48 of file QGLMap.h.

Constructor & Destructor Documentation

◆ QGLMap()

multires_image::QGLMap::QGLMap ( QWidget *  parent = 0)
explicit

Definition at line 37 of file QGLMap.cpp.

◆ ~QGLMap()

multires_image::QGLMap::~QGLMap ( )

Definition at line 55 of file QGLMap.cpp.

Member Function Documentation

◆ ChangeCenter

void multires_image::QGLMap::ChangeCenter ( double  x,
double  y 
)
slot

Definition at line 142 of file QGLMap.cpp.

◆ DeleteTexture

void multires_image::QGLMap::DeleteTexture ( Tile tile)
slot

Definition at line 130 of file QGLMap.cpp.

◆ Exit()

void multires_image::QGLMap::Exit ( )

Definition at line 59 of file QGLMap.cpp.

◆ initializeGL()

void multires_image::QGLMap::initializeGL ( )
protected

Definition at line 153 of file QGLMap.cpp.

◆ LoadTexture

void multires_image::QGLMap::LoadTexture ( Tile tile)
slot

Definition at line 125 of file QGLMap.cpp.

◆ mouseDoubleClickEvent()

void multires_image::QGLMap::mouseDoubleClickEvent ( QMouseEvent *  e)
protected

Definition at line 193 of file QGLMap.cpp.

◆ mouseMoveEvent()

void multires_image::QGLMap::mouseMoveEvent ( QMouseEvent *  e)
protected

Definition at line 205 of file QGLMap.cpp.

◆ MousePan()

void multires_image::QGLMap::MousePan ( int  x,
int  y 
)
private

Definition at line 211 of file QGLMap.cpp.

◆ mousePressEvent()

void multires_image::QGLMap::mousePressEvent ( QMouseEvent *  e)
protected

Definition at line 184 of file QGLMap.cpp.

◆ mouseReleaseEvent()

void multires_image::QGLMap::mouseReleaseEvent ( QMouseEvent *  e)
protected

Definition at line 198 of file QGLMap.cpp.

◆ paintGL()

void multires_image::QGLMap::paintGL ( )
protected

Definition at line 174 of file QGLMap.cpp.

◆ Recenter()

void multires_image::QGLMap::Recenter ( )
private

Definition at line 239 of file QGLMap.cpp.

◆ resizeGL()

void multires_image::QGLMap::resizeGL ( int  w,
int  h 
)
protected

Definition at line 169 of file QGLMap.cpp.

◆ SceneCenter()

tf::Point multires_image::QGLMap::SceneCenter ( )
inline

Definition at line 60 of file QGLMap.h.

◆ SetTextureMemory

void multires_image::QGLMap::SetTextureMemory ( int64_t  bytes)
slot

Definition at line 135 of file QGLMap.cpp.

◆ SetTiles()

void multires_image::QGLMap::SetTiles ( TileSet tiles)

Definition at line 93 of file QGLMap.cpp.

◆ SignalMemorySize

void multires_image::QGLMap::SignalMemorySize ( int64_t  bytes)
signal

◆ SignalViewChange

void multires_image::QGLMap::SignalViewChange ( double  x1,
double  y1,
double  x2,
double  y2 
)
signal

◆ SignalZoomChange

void multires_image::QGLMap::SignalZoomChange ( double  z)
signal

◆ UpdateView()

void multires_image::QGLMap::UpdateView ( )

Definition at line 67 of file QGLMap.cpp.

◆ ViewCenter()

tf::Point multires_image::QGLMap::ViewCenter ( )
inline

Definition at line 61 of file QGLMap.h.

◆ wheelEvent()

void multires_image::QGLMap::wheelEvent ( QWheelEvent *  e)
protected

Definition at line 116 of file QGLMap.cpp.

Member Data Documentation

◆ m_initialized

bool multires_image::QGLMap::m_initialized
private

Definition at line 87 of file QGLMap.h.

◆ m_mouseDown

bool multires_image::QGLMap::m_mouseDown
private

Definition at line 91 of file QGLMap.h.

◆ m_mouseDownX

int multires_image::QGLMap::m_mouseDownX
private

Definition at line 92 of file QGLMap.h.

◆ m_mouseDownY

int multires_image::QGLMap::m_mouseDownY
private

Definition at line 93 of file QGLMap.h.

◆ m_scale

double multires_image::QGLMap::m_scale
private

Definition at line 89 of file QGLMap.h.

◆ m_scene_bottom_right

tf::Point multires_image::QGLMap::m_scene_bottom_right
private

Definition at line 102 of file QGLMap.h.

◆ m_scene_center

tf::Point multires_image::QGLMap::m_scene_center
private

Definition at line 103 of file QGLMap.h.

◆ m_scene_top_left

tf::Point multires_image::QGLMap::m_scene_top_left
private

Definition at line 101 of file QGLMap.h.

◆ m_tileView

TileView* multires_image::QGLMap::m_tileView
private

Definition at line 95 of file QGLMap.h.

◆ m_view_bottom_right

tf::Point multires_image::QGLMap::m_view_bottom_right
private

Definition at line 98 of file QGLMap.h.

◆ m_view_center

tf::Point multires_image::QGLMap::m_view_center
private

Definition at line 99 of file QGLMap.h.

◆ m_view_top_left

tf::Point multires_image::QGLMap::m_view_top_left
private

Definition at line 97 of file QGLMap.h.

◆ ui

Ui::QGLMapClass multires_image::QGLMap::ui
private

Definition at line 85 of file QGLMap.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