#include <mrpt/gui/WxUtils.h>
Public Member Functions | |
wxMRPTImageControl (wxWindow *parent, wxWindowID winID, int x, int y, int width, int height) | |
virtual | ~wxMRPTImageControl () |
void | AssignImage (wxBitmap *img) |
Assigns this image. This object has the ownship of the image and will delete it when appropriate. Remember to call Refresh to display the image. More... | |
void | AssignImage (const mrpt::utils::CImage &img) |
Assigns this image. Remember to call Refresh to display the image. More... | |
void | GetBitmap (wxBitmap &bmp) |
void | OnPaint (wxPaintEvent &ev) |
void | OnMouseMove (wxMouseEvent &ev) |
void | OnMouseClick (wxMouseEvent &ev) |
void | OnEraseBackground (wxEraseEvent &) |
Protected Attributes | |
wxBitmap * | m_img |
mrpt::synch::CCriticalSection | m_img_cs |
wxPoint | m_last_mouse_point |
wxPoint | m_last_mouse_click |
mrpt::synch::CCriticalSection | m_mouse_cs |
mrpt::gui::wxMRPTImageControl::wxMRPTImageControl | ( | wxWindow * | parent, |
wxWindowID | winID, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
|
virtual |
void mrpt::gui::wxMRPTImageControl::AssignImage | ( | wxBitmap * | img | ) |
Assigns this image. This object has the ownship of the image and will delete it when appropriate. Remember to call Refresh to display the image.
void mrpt::gui::wxMRPTImageControl::AssignImage | ( | const mrpt::utils::CImage & | img | ) |
Assigns this image. Remember to call Refresh to display the image.
void mrpt::gui::wxMRPTImageControl::GetBitmap | ( | wxBitmap & | bmp | ) |
|
inline |
void mrpt::gui::wxMRPTImageControl::OnMouseClick | ( | wxMouseEvent & | ev | ) |
void mrpt::gui::wxMRPTImageControl::OnMouseMove | ( | wxMouseEvent & | ev | ) |
void mrpt::gui::wxMRPTImageControl::OnPaint | ( | wxPaintEvent & | ev | ) |
|
protected |
|
protected |
|
protected |
|
protected |
Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Mon Oct 30 10:27:08 UTC 2017 |