The wx dialog for gui::CDisplayWindowPlots.
Definition at line 440 of file WxSubsystem.h.
#include <mrpt/gui/WxSubsystem.h>
Public Member Functions | |
CWindowDialogPlots (CDisplayWindowPlots *winPlots, WxSubsystem::CWXMainFrame *parent, wxWindowID id=-1, const std::string &caption=std::string("[MRPT-CDisplayWindowPlots]"), wxSize initialSize=wxDefaultSize) | |
virtual | ~CWindowDialogPlots () |
void | OnMenuSelected (wxCommandEvent &ev) |
void | OnMouseMove (wxMouseEvent &event) |
void | plot (const mrpt::math::CVectorFloat &x, const mrpt::math::CVectorFloat &y, const std::string &lineFormat, const std::string &plotName) |
Redirected from CDisplayWindowPlots::plot. More... | |
void | plotEllipse (const mrpt::math::CVectorFloat &x, const mrpt::math::CVectorFloat &y, const std::string &lineFormat, const std::string &plotName, bool showName=false) |
Redirected from CDisplayWindowPlots::plotEllipse. More... | |
void | image (void *theWxImage, const float &x0, const float &y0, const float &w, const float &h, const std::string &plotName) |
Redirected from CDisplayWindowPlots::image. More... | |
Public Attributes | |
CDisplayWindowPlots * | m_winPlots |
WxSubsystem::CWXMainFrame * | m_mainFrame |
mpWindow * | m_plot |
bool | m_firstSubmenu |
to know whether to insert a separator the first time. More... | |
std::map< long, long > | m_ID2ID |
wxIDs to user IDs for submenus. More... | |
mrpt::math::TPoint2D | m_curCursorPos |
In graph coords. More... | |
wxPoint | m_last_mouse_point |
In pixels. More... | |
Static Public Attributes | |
static const long | ID_PLOT = wxNewId() |
static const long | ID_MENU_PRINT = wxNewId() |
Private Member Functions | |
void | OnClose (wxCloseEvent &event) |
void | OnMenuPrint (wxCommandEvent &event) |
void | OnMenuClose (wxCommandEvent &event) |
void | OnMenuAbout (wxCommandEvent &event) |
void | OnChar (wxKeyEvent &event) |
void | OnResize (wxSizeEvent &event) |
void | OnMouseDown (wxMouseEvent &event) |
CWindowDialogPlots::CWindowDialogPlots | ( | CDisplayWindowPlots * | winPlots, |
WxSubsystem::CWXMainFrame * | parent, | ||
wxWindowID | id = -1 , |
||
const std::string & | caption = std::string("[MRPT-CDisplayWindowPlots]") , |
||
wxSize | initialSize = wxDefaultSize |
||
) |
Definition at line 39 of file CDisplayWindowPlots.cpp.
References _U, mrpt::gui::WxSubsystem::getMRPTDefaultIcon(), ID_MENUITEM1, ID_MENUITEM2, mrpt::gui::WxSubsystem::CWXMainFrame::notifyWindowCreation(), OnChar(), OnClose(), OnMenuAbout(), OnMenuClose(), OnMenuPrint(), OnMouseDown(), OnMouseMove(), and OnResize().
|
virtual |
Definition at line 167 of file CDisplayWindowPlots.cpp.
void CWindowDialogPlots::image | ( | void * | theWxImage, |
const float & | x0, | ||
const float & | y0, | ||
const float & | w, | ||
const float & | h, | ||
const std::string & | plotName | ||
) |
Redirected from CDisplayWindowPlots::image.
Definition at line 627 of file CDisplayWindowPlots.cpp.
References _U.
Referenced by mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests().
|
private |
Definition at line 196 of file CDisplayWindowPlots.cpp.
References mrpt::gui::keyEventToMrptKeyModifier().
Referenced by CWindowDialogPlots().
|
private |
Definition at line 169 of file CDisplayWindowPlots.cpp.
References mrpt::gui::mrptEventWindowClosed::allow_close, and mrpt::gui::WxSubsystem::CWXMainFrame::notifyWindowDestruction().
Referenced by CWindowDialogPlots().
|
private |
Definition at line 265 of file CDisplayWindowPlots.cpp.
Referenced by CWindowDialogPlots().
|
private |
Definition at line 258 of file CDisplayWindowPlots.cpp.
Referenced by CWindowDialogPlots().
|
private |
Definition at line 260 of file CDisplayWindowPlots.cpp.
Referenced by CWindowDialogPlots().
void CWindowDialogPlots::OnMenuSelected | ( | wxCommandEvent & | ev | ) |
Definition at line 273 of file CDisplayWindowPlots.cpp.
|
private |
Definition at line 238 of file CDisplayWindowPlots.cpp.
Referenced by CWindowDialogPlots().
void CWindowDialogPlots::OnMouseMove | ( | wxMouseEvent & | event | ) |
Definition at line 285 of file CDisplayWindowPlots.cpp.
Referenced by CWindowDialogPlots().
|
private |
Definition at line 219 of file CDisplayWindowPlots.cpp.
Referenced by CWindowDialogPlots().
void CWindowDialogPlots::plot | ( | const mrpt::math::CVectorFloat & | x, |
const mrpt::math::CVectorFloat & | y, | ||
const std::string & | lineFormat, | ||
const std::string & | plotName | ||
) |
Redirected from CDisplayWindowPlots::plot.
Definition at line 313 of file CDisplayWindowPlots.cpp.
References _U, and mrpt::system::os::memcpy().
Referenced by mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests().
void CWindowDialogPlots::plotEllipse | ( | const mrpt::math::CVectorFloat & | x, |
const mrpt::math::CVectorFloat & | y, | ||
const std::string & | lineFormat, | ||
const std::string & | plotName, | ||
bool | showName = false |
||
) |
Redirected from CDisplayWindowPlots::plotEllipse.
Definition at line 469 of file CDisplayWindowPlots.cpp.
References _U.
Referenced by mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests().
|
static |
Definition at line 456 of file WxSubsystem.h.
|
static |
Definition at line 455 of file WxSubsystem.h.
mrpt::math::TPoint2D mrpt::gui::CWindowDialogPlots::m_curCursorPos |
In graph coords.
Definition at line 462 of file WxSubsystem.h.
bool mrpt::gui::CWindowDialogPlots::m_firstSubmenu |
to know whether to insert a separator the first time.
Definition at line 458 of file WxSubsystem.h.
Referenced by mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests().
std::map<long, long> mrpt::gui::CWindowDialogPlots::m_ID2ID |
wxIDs to user IDs for submenus.
Definition at line 460 of file WxSubsystem.h.
Referenced by mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests().
wxPoint mrpt::gui::CWindowDialogPlots::m_last_mouse_point |
In pixels.
Definition at line 464 of file WxSubsystem.h.
WxSubsystem::CWXMainFrame* mrpt::gui::CWindowDialogPlots::m_mainFrame |
Definition at line 451 of file WxSubsystem.h.
mpWindow* mrpt::gui::CWindowDialogPlots::m_plot |
Definition at line 453 of file WxSubsystem.h.
Referenced by mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests().
CDisplayWindowPlots* mrpt::gui::CWindowDialogPlots::m_winPlots |
Definition at line 450 of file WxSubsystem.h.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |