Main MRPT website > C++ reference for MRPT 1.5.7
List of all members | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
mrpt::gui::CWindowDialogPlots Class Reference

Detailed Description

The wx dialog for gui::CDisplayWindowPlots.

Definition at line 403 of file WxSubsystem.h.

#include <mrpt/gui/WxSubsystem.h>

Inheritance diagram for mrpt::gui::CWindowDialogPlots:
Inheritance graph

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

CDisplayWindowPlotsm_winPlots
 
WxSubsystem::CWXMainFramem_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)
 

Constructor & Destructor Documentation

◆ CWindowDialogPlots()

CWindowDialogPlots::CWindowDialogPlots ( CDisplayWindowPlots winPlots,
WxSubsystem::CWXMainFrame parent,
wxWindowID  id = -1,
const std::string caption = std::string("[MRPT-CDisplayWindowPlots]"),
wxSize  initialSize = wxDefaultSize 
)

◆ ~CWindowDialogPlots()

CWindowDialogPlots::~CWindowDialogPlots ( )
virtual

Definition at line 162 of file CDisplayWindowPlots.cpp.

Member Function Documentation

◆ image()

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 458 of file CDisplayWindowPlots.cpp.

References _U.

Referenced by mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests().

◆ OnChar()

void CWindowDialogPlots::OnChar ( wxKeyEvent &  event)
private

Definition at line 190 of file CDisplayWindowPlots.cpp.

References mrpt::gui::keyEventToMrptKeyModifier().

Referenced by CWindowDialogPlots().

◆ OnClose()

void CWindowDialogPlots::OnClose ( wxCloseEvent &  event)
private

◆ OnMenuAbout()

void CWindowDialogPlots::OnMenuAbout ( wxCommandEvent &  event)
private

Definition at line 245 of file CDisplayWindowPlots.cpp.

Referenced by CWindowDialogPlots().

◆ OnMenuClose()

void CWindowDialogPlots::OnMenuClose ( wxCommandEvent &  event)
private

Definition at line 235 of file CDisplayWindowPlots.cpp.

Referenced by CWindowDialogPlots().

◆ OnMenuPrint()

void CWindowDialogPlots::OnMenuPrint ( wxCommandEvent &  event)
private

Definition at line 240 of file CDisplayWindowPlots.cpp.

Referenced by CWindowDialogPlots().

◆ OnMenuSelected()

void CWindowDialogPlots::OnMenuSelected ( wxCommandEvent &  ev)

◆ OnMouseDown()

void CWindowDialogPlots::OnMouseDown ( wxMouseEvent &  event)
private

Definition at line 220 of file CDisplayWindowPlots.cpp.

Referenced by CWindowDialogPlots().

◆ OnMouseMove()

void CWindowDialogPlots::OnMouseMove ( wxMouseEvent &  event)

Definition at line 260 of file CDisplayWindowPlots.cpp.

Referenced by CWindowDialogPlots().

◆ OnResize()

void CWindowDialogPlots::OnResize ( wxSizeEvent &  event)
private

Definition at line 208 of file CDisplayWindowPlots.cpp.

Referenced by CWindowDialogPlots().

◆ plot()

void CWindowDialogPlots::plot ( const mrpt::math::CVectorFloat x,
const mrpt::math::CVectorFloat y,
const std::string lineFormat,
const std::string plotName 
)

◆ plotEllipse()

void CWindowDialogPlots::plotEllipse ( const mrpt::math::CVectorFloat x,
const mrpt::math::CVectorFloat y,
const std::string lineFormat,
const std::string plotName,
bool  showName = false 
)

Member Data Documentation

◆ ID_MENU_PRINT

const long CWindowDialogPlots::ID_MENU_PRINT = wxNewId()
static

Definition at line 415 of file WxSubsystem.h.

◆ ID_PLOT

const long CWindowDialogPlots::ID_PLOT = wxNewId()
static

Definition at line 414 of file WxSubsystem.h.

◆ m_curCursorPos

mrpt::math::TPoint2D mrpt::gui::CWindowDialogPlots::m_curCursorPos

In graph coords.

Definition at line 418 of file WxSubsystem.h.

◆ m_firstSubmenu

bool mrpt::gui::CWindowDialogPlots::m_firstSubmenu

to know whether to insert a separator the first time.

Definition at line 416 of file WxSubsystem.h.

Referenced by mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests().

◆ m_ID2ID

std::map<long,long> mrpt::gui::CWindowDialogPlots::m_ID2ID

wxIDs to user IDs for submenus.

Definition at line 417 of file WxSubsystem.h.

Referenced by mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests().

◆ m_last_mouse_point

wxPoint mrpt::gui::CWindowDialogPlots::m_last_mouse_point

In pixels.

Definition at line 419 of file WxSubsystem.h.

Referenced by mrpt::gui::CDisplayWindowPlots::getLastMousePosition().

◆ m_mainFrame

WxSubsystem::CWXMainFrame* mrpt::gui::CWindowDialogPlots::m_mainFrame

Definition at line 410 of file WxSubsystem.h.

◆ m_plot

mpWindow* mrpt::gui::CWindowDialogPlots::m_plot

◆ m_winPlots

CDisplayWindowPlots* mrpt::gui::CWindowDialogPlots::m_winPlots

Definition at line 409 of file WxSubsystem.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019