Main MRPT website > C++ reference for MRPT 1.5.3
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 402 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
 
mpWindowm_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
 
static const long ID_MENU_PRINT
 

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()

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

◆ ~CWindowDialogPlots()

virtual mrpt::gui::CWindowDialogPlots::~CWindowDialogPlots ( )
virtual

Member Function Documentation

◆ image()

void mrpt::gui::CWindowDialogPlots::image ( void *  theWxImage,
const float &  x0,
const float &  y0,
const float &  w,
const float &  h,
const std::string &  plotName 
)

Redirected from CDisplayWindowPlots::image.

◆ OnChar()

void mrpt::gui::CWindowDialogPlots::OnChar ( wxKeyEvent &  event)
private

◆ OnClose()

void mrpt::gui::CWindowDialogPlots::OnClose ( wxCloseEvent &  event)
private

◆ OnMenuAbout()

void mrpt::gui::CWindowDialogPlots::OnMenuAbout ( wxCommandEvent &  event)
private

◆ OnMenuClose()

void mrpt::gui::CWindowDialogPlots::OnMenuClose ( wxCommandEvent &  event)
private

◆ OnMenuPrint()

void mrpt::gui::CWindowDialogPlots::OnMenuPrint ( wxCommandEvent &  event)
private

◆ OnMenuSelected()

void mrpt::gui::CWindowDialogPlots::OnMenuSelected ( wxCommandEvent &  ev)

◆ OnMouseDown()

void mrpt::gui::CWindowDialogPlots::OnMouseDown ( wxMouseEvent &  event)
private

◆ OnMouseMove()

void mrpt::gui::CWindowDialogPlots::OnMouseMove ( wxMouseEvent &  event)

◆ OnResize()

void mrpt::gui::CWindowDialogPlots::OnResize ( wxSizeEvent &  event)
private

◆ plot()

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

Redirected from CDisplayWindowPlots::plot.

◆ plotEllipse()

void mrpt::gui::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 mrpt::gui::CWindowDialogPlots::ID_MENU_PRINT
static

Definition at line 414 of file WxSubsystem.h.

◆ ID_PLOT

const long mrpt::gui::CWindowDialogPlots::ID_PLOT
static

Definition at line 413 of file WxSubsystem.h.

◆ m_curCursorPos

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

In graph coords.

Definition at line 417 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 415 of file WxSubsystem.h.

◆ m_ID2ID

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

wxIDs to user IDs for submenus.

Definition at line 416 of file WxSubsystem.h.

◆ m_last_mouse_point

wxPoint mrpt::gui::CWindowDialogPlots::m_last_mouse_point

In pixels.

Definition at line 418 of file WxSubsystem.h.

◆ m_mainFrame

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

Definition at line 409 of file WxSubsystem.h.

◆ m_plot

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

Definition at line 411 of file WxSubsystem.h.

◆ m_winPlots

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

Definition at line 408 of file WxSubsystem.h.




Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Mon Oct 30 10:27:08 UTC 2017