#include <map_canvas.h>
|
void | Hover (double x, double y, double scale) |
|
Definition at line 57 of file map_canvas.h.
mapviz::MapCanvas::MapCanvas |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
mapviz::MapCanvas::~MapCanvas |
( |
| ) |
|
void mapviz::MapCanvas::CaptureFrame |
( |
bool |
force = false | ) |
|
void mapviz::MapCanvas::CaptureFrames |
( |
bool |
enabled | ) |
|
|
inline |
bool mapviz::MapCanvas::CopyCaptureBuffer |
( |
uchar * |
buffer | ) |
|
|
inline |
Copies the current capture buffer into the target buffer. The target buffer must already be initialized to a size of: height * width * 4
- Parameters
-
buffer | An initialize buffer to copy data into |
- Returns
- false if the current capture buffer is empty
Definition at line 124 of file map_canvas.h.
bool mapviz::MapCanvas::CopyCaptureBuffer |
( |
std::vector< uint8_t > & |
buffer | ) |
|
|
inline |
Resizes a vector to be large enough to hold the current capture buffer and then copies the capture buffer into it.
- Parameters
-
buffer | A vector to copy the capture buffer into. |
- Returns
- false if the current capture buffer is empty
Definition at line 141 of file map_canvas.h.
QPointF mapviz::MapCanvas::FixedFrameToMapGlCoord |
( |
const QPointF & |
point | ) |
|
double mapviz::MapCanvas::frameRate |
( |
| ) |
const |
void mapviz::MapCanvas::Hover |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
scale |
|
) |
| |
|
signal |
void mapviz::MapCanvas::initGlBlending |
( |
| ) |
|
|
protected |
void mapviz::MapCanvas::initializeGL |
( |
| ) |
|
|
protected |
void mapviz::MapCanvas::InitializePixelBuffers |
( |
| ) |
|
|
protected |
void mapviz::MapCanvas::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
protected |
void mapviz::MapCanvas::leaveEvent |
( |
QEvent * |
e | ) |
|
|
protected |
QPointF mapviz::MapCanvas::MapGlCoordToFixedFrame |
( |
const QPointF & |
point | ) |
|
void mapviz::MapCanvas::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
void mapviz::MapCanvas::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
void mapviz::MapCanvas::mouseReleaseEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
float mapviz::MapCanvas::OffsetX |
( |
| ) |
const |
|
inline |
float mapviz::MapCanvas::OffsetY |
( |
| ) |
const |
|
inline |
void mapviz::MapCanvas::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
void mapviz::MapCanvas::popGlMatrices |
( |
| ) |
|
|
protected |
void mapviz::MapCanvas::pushGlMatrices |
( |
| ) |
|
|
protected |
void mapviz::MapCanvas::Recenter |
( |
| ) |
|
|
protected |
void mapviz::MapCanvas::ReorderDisplays |
( |
| ) |
|
void mapviz::MapCanvas::ResetLocation |
( |
| ) |
|
void mapviz::MapCanvas::resizeGL |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
|
protected |
void mapviz::MapCanvas::SetBackground |
( |
const QColor & |
color | ) |
|
|
inline |
void mapviz::MapCanvas::SetFixedFrame |
( |
const std::string & |
frame | ) |
|
void mapviz::MapCanvas::setFrameRate |
( |
const double |
fps | ) |
|
|
slot |
void mapviz::MapCanvas::SetOffsetX |
( |
float |
x | ) |
|
|
inline |
void mapviz::MapCanvas::SetOffsetY |
( |
float |
y | ) |
|
|
inline |
void mapviz::MapCanvas::SetTargetFrame |
( |
const std::string & |
frame | ) |
|
void mapviz::MapCanvas::SetViewScale |
( |
float |
scale | ) |
|
|
inline |
void mapviz::MapCanvas::ToggleEnableAntialiasing |
( |
bool |
on | ) |
|
void mapviz::MapCanvas::ToggleFixOrientation |
( |
bool |
on | ) |
|
void mapviz::MapCanvas::ToggleRotate90 |
( |
bool |
on | ) |
|
void mapviz::MapCanvas::ToggleUseLatestTransforms |
( |
bool |
on | ) |
|
void mapviz::MapCanvas::TransformTarget |
( |
QPainter * |
painter | ) |
|
|
protected |
void mapviz::MapCanvas::UpdateView |
( |
| ) |
|
float mapviz::MapCanvas::ViewScale |
( |
| ) |
const |
|
inline |
void mapviz::MapCanvas::wheelEvent |
( |
QWheelEvent * |
e | ) |
|
|
protected |
void mapviz::MapCanvas::Zoom |
( |
float |
factor | ) |
|
|
protected |
QColor mapviz::MapCanvas::bg_color_ |
|
protected |
std::vector<uint8_t> mapviz::MapCanvas::capture_buffer_ |
|
protected |
bool mapviz::MapCanvas::capture_frames_ |
|
protected |
double mapviz::MapCanvas::drag_x_ |
|
protected |
double mapviz::MapCanvas::drag_y_ |
|
protected |
bool mapviz::MapCanvas::enable_antialiasing_ |
|
protected |
bool mapviz::MapCanvas::fix_orientation_ |
|
protected |
std::string mapviz::MapCanvas::fixed_frame_ |
|
protected |
QTimer mapviz::MapCanvas::frame_rate_timer_ |
|
protected |
bool mapviz::MapCanvas::has_pixel_buffers_ |
|
protected |
bool mapviz::MapCanvas::initialized_ |
|
protected |
Qt::MouseButton mapviz::MapCanvas::mouse_button_ |
|
protected |
int mapviz::MapCanvas::mouse_hover_x_ |
|
protected |
int mapviz::MapCanvas::mouse_hover_y_ |
|
protected |
bool mapviz::MapCanvas::mouse_hovering_ |
|
protected |
bool mapviz::MapCanvas::mouse_pressed_ |
|
protected |
int mapviz::MapCanvas::mouse_previous_y_ |
|
protected |
int mapviz::MapCanvas::mouse_x_ |
|
protected |
int mapviz::MapCanvas::mouse_y_ |
|
protected |
double mapviz::MapCanvas::offset_x_ |
|
protected |
double mapviz::MapCanvas::offset_y_ |
|
protected |
GLuint mapviz::MapCanvas::pixel_buffer_ids_[2] |
|
protected |
int32_t mapviz::MapCanvas::pixel_buffer_index_ |
|
protected |
int32_t mapviz::MapCanvas::pixel_buffer_size_ |
|
protected |
QTransform mapviz::MapCanvas::qtransform_ |
|
protected |
bool mapviz::MapCanvas::rotate_90_ |
|
protected |
float mapviz::MapCanvas::scene_bottom_ |
|
protected |
float mapviz::MapCanvas::scene_left_ |
|
protected |
float mapviz::MapCanvas::scene_right_ |
|
protected |
float mapviz::MapCanvas::scene_top_ |
|
protected |
std::string mapviz::MapCanvas::target_frame_ |
|
protected |
float mapviz::MapCanvas::view_bottom_ |
|
protected |
float mapviz::MapCanvas::view_center_x_ |
|
protected |
float mapviz::MapCanvas::view_center_y_ |
|
protected |
float mapviz::MapCanvas::view_left_ |
|
protected |
float mapviz::MapCanvas::view_right_ |
|
protected |
float mapviz::MapCanvas::view_scale_ |
|
protected |
float mapviz::MapCanvas::view_top_ |
|
protected |
The documentation for this class was generated from the following files: