#include <map_canvas.h>
|
void | Hover (double x, double y, double scale) |
|
Definition at line 57 of file map_canvas.h.
◆ MapCanvas()
mapviz::MapCanvas::MapCanvas |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
◆ ~MapCanvas()
mapviz::MapCanvas::~MapCanvas |
( |
| ) |
|
◆ AddPlugin()
◆ CaptureFrame()
void mapviz::MapCanvas::CaptureFrame |
( |
bool |
force = false | ) |
|
◆ CaptureFrames()
void mapviz::MapCanvas::CaptureFrames |
( |
bool |
enabled | ) |
|
|
inline |
◆ CopyCaptureBuffer() [1/2]
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 132 of file map_canvas.h.
◆ CopyCaptureBuffer() [2/2]
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 149 of file map_canvas.h.
◆ FixedFrameToMapGlCoord()
QPointF mapviz::MapCanvas::FixedFrameToMapGlCoord |
( |
const QPointF & |
point | ) |
|
◆ frameRate()
double mapviz::MapCanvas::frameRate |
( |
| ) |
const |
◆ Hover
void mapviz::MapCanvas::Hover |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
scale |
|
) |
| |
|
signal |
◆ initGlBlending()
void mapviz::MapCanvas::initGlBlending |
( |
| ) |
|
|
protected |
◆ initializeGL()
void mapviz::MapCanvas::initializeGL |
( |
| ) |
|
|
protected |
◆ InitializePixelBuffers()
void mapviz::MapCanvas::InitializePixelBuffers |
( |
| ) |
|
|
protected |
◆ InitializeTf()
◆ keyPressEvent()
void mapviz::MapCanvas::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
protected |
◆ leaveEvent()
void mapviz::MapCanvas::leaveEvent |
( |
QEvent * |
e | ) |
|
◆ MapGlCoordToFixedFrame()
QPointF mapviz::MapCanvas::MapGlCoordToFixedFrame |
( |
const QPointF & |
point | ) |
|
◆ mouseMoveEvent()
void mapviz::MapCanvas::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
◆ mousePressEvent()
void mapviz::MapCanvas::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
◆ mouseReleaseEvent()
void mapviz::MapCanvas::mouseReleaseEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
◆ OffsetX()
float mapviz::MapCanvas::OffsetX |
( |
| ) |
const |
|
inline |
◆ OffsetY()
float mapviz::MapCanvas::OffsetY |
( |
| ) |
const |
|
inline |
◆ paintEvent()
void mapviz::MapCanvas::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
◆ popGlMatrices()
void mapviz::MapCanvas::popGlMatrices |
( |
| ) |
|
|
protected |
◆ pushGlMatrices()
void mapviz::MapCanvas::pushGlMatrices |
( |
| ) |
|
|
protected |
◆ Recenter()
void mapviz::MapCanvas::Recenter |
( |
| ) |
|
|
protected |
◆ RemovePlugin()
◆ ReorderDisplays()
void mapviz::MapCanvas::ReorderDisplays |
( |
| ) |
|
◆ ResetLocation()
void mapviz::MapCanvas::ResetLocation |
( |
| ) |
|
◆ resizeGL()
void mapviz::MapCanvas::resizeGL |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
|
protected |
◆ SetBackground()
void mapviz::MapCanvas::SetBackground |
( |
const QColor & |
color | ) |
|
|
inline |
◆ setCanvasAbleToMove()
void mapviz::MapCanvas::setCanvasAbleToMove |
( |
bool |
assigning | ) |
|
|
inline |
◆ SetFixedFrame()
void mapviz::MapCanvas::SetFixedFrame |
( |
const std::string & |
frame | ) |
|
◆ setFrameRate
void mapviz::MapCanvas::setFrameRate |
( |
const double |
fps | ) |
|
|
slot |
◆ SetOffsetX()
void mapviz::MapCanvas::SetOffsetX |
( |
float |
x | ) |
|
|
inline |
◆ SetOffsetY()
void mapviz::MapCanvas::SetOffsetY |
( |
float |
y | ) |
|
|
inline |
◆ SetTargetFrame()
void mapviz::MapCanvas::SetTargetFrame |
( |
const std::string & |
frame | ) |
|
◆ SetViewScale()
void mapviz::MapCanvas::SetViewScale |
( |
float |
scale | ) |
|
|
inline |
◆ ToggleEnableAntialiasing()
void mapviz::MapCanvas::ToggleEnableAntialiasing |
( |
bool |
on | ) |
|
◆ ToggleFixOrientation()
void mapviz::MapCanvas::ToggleFixOrientation |
( |
bool |
on | ) |
|
◆ ToggleRotate90()
void mapviz::MapCanvas::ToggleRotate90 |
( |
bool |
on | ) |
|
◆ ToggleUseLatestTransforms()
void mapviz::MapCanvas::ToggleUseLatestTransforms |
( |
bool |
on | ) |
|
◆ TransformTarget()
void mapviz::MapCanvas::TransformTarget |
( |
QPainter * |
painter | ) |
|
|
protected |
◆ UpdateView()
void mapviz::MapCanvas::UpdateView |
( |
| ) |
|
◆ ViewScale()
float mapviz::MapCanvas::ViewScale |
( |
| ) |
const |
|
inline |
◆ wheelEvent()
void mapviz::MapCanvas::wheelEvent |
( |
QWheelEvent * |
e | ) |
|
|
protected |
◆ Zoom()
void mapviz::MapCanvas::Zoom |
( |
float |
factor | ) |
|
|
protected |
◆ bg_color_
QColor mapviz::MapCanvas::bg_color_ |
|
protected |
◆ canvas_able_to_move_
bool mapviz::MapCanvas::canvas_able_to_move_ = true |
|
protected |
◆ capture_buffer_
std::vector<uint8_t> mapviz::MapCanvas::capture_buffer_ |
|
protected |
◆ capture_frames_
bool mapviz::MapCanvas::capture_frames_ |
|
protected |
◆ drag_x_
double mapviz::MapCanvas::drag_x_ |
|
protected |
◆ drag_y_
double mapviz::MapCanvas::drag_y_ |
|
protected |
◆ enable_antialiasing_
bool mapviz::MapCanvas::enable_antialiasing_ |
|
protected |
◆ fix_orientation_
bool mapviz::MapCanvas::fix_orientation_ |
|
protected |
◆ fixed_frame_
std::string mapviz::MapCanvas::fixed_frame_ |
|
protected |
◆ frame_rate_timer_
QTimer mapviz::MapCanvas::frame_rate_timer_ |
|
protected |
◆ has_pixel_buffers_
bool mapviz::MapCanvas::has_pixel_buffers_ |
|
protected |
◆ initialized_
bool mapviz::MapCanvas::initialized_ |
|
protected |
◆ mouse_button_
Qt::MouseButton mapviz::MapCanvas::mouse_button_ |
|
protected |
◆ mouse_hover_x_
int mapviz::MapCanvas::mouse_hover_x_ |
|
protected |
◆ mouse_hover_y_
int mapviz::MapCanvas::mouse_hover_y_ |
|
protected |
◆ mouse_hovering_
bool mapviz::MapCanvas::mouse_hovering_ |
|
protected |
◆ mouse_pressed_
bool mapviz::MapCanvas::mouse_pressed_ |
|
protected |
◆ mouse_previous_y_
int mapviz::MapCanvas::mouse_previous_y_ |
|
protected |
◆ mouse_x_
int mapviz::MapCanvas::mouse_x_ |
|
protected |
◆ mouse_y_
int mapviz::MapCanvas::mouse_y_ |
|
protected |
◆ offset_x_
double mapviz::MapCanvas::offset_x_ |
|
protected |
◆ offset_y_
double mapviz::MapCanvas::offset_y_ |
|
protected |
◆ pixel_buffer_ids_
GLuint mapviz::MapCanvas::pixel_buffer_ids_[2] |
|
protected |
◆ pixel_buffer_index_
int32_t mapviz::MapCanvas::pixel_buffer_index_ |
|
protected |
◆ pixel_buffer_size_
int32_t mapviz::MapCanvas::pixel_buffer_size_ |
|
protected |
◆ plugins_
◆ qtransform_
QTransform mapviz::MapCanvas::qtransform_ |
|
protected |
◆ rotate_90_
bool mapviz::MapCanvas::rotate_90_ |
|
protected |
◆ scene_bottom_
float mapviz::MapCanvas::scene_bottom_ |
|
protected |
◆ scene_left_
float mapviz::MapCanvas::scene_left_ |
|
protected |
◆ scene_right_
float mapviz::MapCanvas::scene_right_ |
|
protected |
◆ scene_top_
float mapviz::MapCanvas::scene_top_ |
|
protected |
◆ target_frame_
std::string mapviz::MapCanvas::target_frame_ |
|
protected |
◆ tf_
◆ transform_
◆ view_bottom_
float mapviz::MapCanvas::view_bottom_ |
|
protected |
◆ view_center_x_
float mapviz::MapCanvas::view_center_x_ |
|
protected |
◆ view_center_y_
float mapviz::MapCanvas::view_center_y_ |
|
protected |
◆ view_left_
float mapviz::MapCanvas::view_left_ |
|
protected |
◆ view_right_
float mapviz::MapCanvas::view_right_ |
|
protected |
◆ view_scale_
float mapviz::MapCanvas::view_scale_ |
|
protected |
◆ view_top_
float mapviz::MapCanvas::view_top_ |
|
protected |
The documentation for this class was generated from the following files: