#include <QGLMap.h>
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 |
| TileView * | m_tileView |
| tf::Point | m_view_bottom_right |
| tf::Point | m_view_center |
| tf::Point | m_view_top_left |
| Ui::QGLMapClass | ui |
| multires_image::QGLMap::QGLMap | ( | QWidget * | parent = 0 | ) | [explicit] |
Definition at line 37 of file QGLMap.cpp.
Definition at line 55 of file QGLMap.cpp.
| 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] |
| 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] |
| void multires_image::QGLMap::wheelEvent | ( | QWheelEvent * | e | ) | [protected] |
Definition at line 116 of file QGLMap.cpp.
bool multires_image::QGLMap::m_initialized [private] |
bool multires_image::QGLMap::m_mouseDown [private] |
int multires_image::QGLMap::m_mouseDownX [private] |
int multires_image::QGLMap::m_mouseDownY [private] |
double multires_image::QGLMap::m_scale [private] |
TileView* multires_image::QGLMap::m_tileView [private] |
Ui::QGLMapClass multires_image::QGLMap::ui [private] |