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

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

Definition at line 37 of file QGLMap.cpp.

multires_image::QGLMap::~QGLMap ( )

Definition at line 55 of file QGLMap.cpp.

Member Function Documentation

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

Definition at line 142 of file QGLMap.cpp.

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

Definition at line 130 of file QGLMap.cpp.

void multires_image::QGLMap::Exit ( )

Definition at line 59 of file QGLMap.cpp.

void multires_image::QGLMap::initializeGL ( )
protected

Definition at line 153 of file QGLMap.cpp.

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

Definition at line 125 of file QGLMap.cpp.

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

Definition at line 193 of file QGLMap.cpp.

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

Definition at line 205 of file QGLMap.cpp.

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

Definition at line 211 of file QGLMap.cpp.

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

Definition at line 184 of file QGLMap.cpp.

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

Definition at line 198 of file QGLMap.cpp.

void multires_image::QGLMap::paintGL ( )
protected

Definition at line 174 of file QGLMap.cpp.

void multires_image::QGLMap::Recenter ( )
private

Definition at line 239 of file QGLMap.cpp.

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

Definition at line 169 of file QGLMap.cpp.

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

Definition at line 60 of file QGLMap.h.

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

Definition at line 135 of file QGLMap.cpp.

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

Definition at line 93 of file QGLMap.cpp.

void multires_image::QGLMap::SignalMemorySize ( int64_t  bytes)
signal
void multires_image::QGLMap::SignalViewChange ( double  x1,
double  y1,
double  x2,
double  y2 
)
signal
void multires_image::QGLMap::SignalZoomChange ( double  z)
signal
void multires_image::QGLMap::UpdateView ( )

Definition at line 67 of file QGLMap.cpp.

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

Definition at line 61 of file QGLMap.h.

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

Definition at line 116 of file QGLMap.cpp.

Member Data Documentation

bool multires_image::QGLMap::m_initialized
private

Definition at line 87 of file QGLMap.h.

bool multires_image::QGLMap::m_mouseDown
private

Definition at line 91 of file QGLMap.h.

int multires_image::QGLMap::m_mouseDownX
private

Definition at line 92 of file QGLMap.h.

int multires_image::QGLMap::m_mouseDownY
private

Definition at line 93 of file QGLMap.h.

double multires_image::QGLMap::m_scale
private

Definition at line 89 of file QGLMap.h.

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

Definition at line 102 of file QGLMap.h.

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

Definition at line 103 of file QGLMap.h.

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

Definition at line 101 of file QGLMap.h.

TileView* multires_image::QGLMap::m_tileView
private

Definition at line 95 of file QGLMap.h.

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

Definition at line 98 of file QGLMap.h.

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

Definition at line 99 of file QGLMap.h.

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

Definition at line 97 of file QGLMap.h.

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 Thu Jun 6 2019 19:25:29