MRPT  2.0.0
List of all members | Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes | Friends
mrpt::gui::C3DWindowDialog Class Reference

Detailed Description

Definition at line 381 of file WxSubsystem.h.

#include <mrpt/gui/WxSubsystem.h>

Inheritance diagram for mrpt::gui::C3DWindowDialog:

Public Member Functions

 C3DWindowDialog (CDisplayWindow3D *win3D, WxSubsystem::CWXMainFrame *parent, wxWindowID id=-1, const std::string &caption=std::string("[MRPT-CDisplayWindow3D]"), wxSize initialSize=wxDefaultSize)
 
 ~C3DWindowDialog () override
 

Public Attributes

CDisplayWindow3Dm_win3D
 
WxSubsystem::CWXMainFramem_mainFrame
 
CMyGLCanvas_DisplayWindow3D * m_canvas
 

Private Member Functions

void OnClose (wxCloseEvent &event)
 
void OnMenuClose (wxCommandEvent &event)
 
void OnMenuAbout (wxCommandEvent &event)
 
void OnChar (wxKeyEvent &event)
 
void OnResize (wxSizeEvent &event)
 

Static Private Attributes

static const long ID_MENUITEM1 = wxNewId()
 
static const long ID_MENUITEM2 = wxNewId()
 

Friends

class gui::CMyGLCanvas_DisplayWindow3D
 

Constructor & Destructor Documentation

◆ C3DWindowDialog()

C3DWindowDialog::C3DWindowDialog ( CDisplayWindow3D win3D,
WxSubsystem::CWXMainFrame parent,
wxWindowID  id = -1,
const std::string &  caption = std::string("[MRPT-CDisplayWindow3D]"),
wxSize  initialSize = wxDefaultSize 
)

Definition at line 264 of file CDisplayWindow3D.cpp.

References mrpt::gui::WxSubsystem::getMRPTDefaultIcon(), ID_MENUITEM1, ID_MENUITEM2, mrpt::gui::WxSubsystem::CWXMainFrame::notifyWindowCreation(), OnChar(), OnClose(), OnMenuAbout(), OnMenuClose(), OnResize(), and THROW_EXCEPTION.

Here is the call graph for this function:

◆ ~C3DWindowDialog()

C3DWindowDialog::~C3DWindowDialog ( )
override

Definition at line 301 of file CDisplayWindow3D.cpp.

Member Function Documentation

◆ OnChar()

void C3DWindowDialog::OnChar ( wxKeyEvent &  event)
private

Definition at line 345 of file CDisplayWindow3D.cpp.

References m_win3D.

Referenced by C3DWindowDialog().

Here is the caller graph for this function:

◆ OnClose()

void C3DWindowDialog::OnClose ( wxCloseEvent &  event)
private

Definition at line 307 of file CDisplayWindow3D.cpp.

References mrpt::gui::mrptEventWindowClosed::allow_close, m_win3D, mrpt::gui::CBaseGUIWindow::m_windowDestroyed, mrpt::gui::CBaseGUIWindow::notifyChildWindowDestruction(), mrpt::gui::WxSubsystem::CWXMainFrame::notifyWindowDestruction(), and mrpt::system::CObservable::publishEvent().

Referenced by C3DWindowDialog().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnMenuAbout()

void C3DWindowDialog::OnMenuAbout ( wxCommandEvent &  event)
private

Definition at line 338 of file CDisplayWindow3D.cpp.

Referenced by C3DWindowDialog().

Here is the caller graph for this function:

◆ OnMenuClose()

void C3DWindowDialog::OnMenuClose ( wxCommandEvent &  event)
private

Definition at line 336 of file CDisplayWindow3D.cpp.

Referenced by C3DWindowDialog().

Here is the caller graph for this function:

◆ OnResize()

void C3DWindowDialog::OnResize ( wxSizeEvent &  event)
private

Definition at line 352 of file CDisplayWindow3D.cpp.

References m_win3D, and mrpt::system::CObservable::publishEvent().

Referenced by C3DWindowDialog().

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ gui::CMyGLCanvas_DisplayWindow3D

friend class gui::CMyGLCanvas_DisplayWindow3D
friend

Definition at line 383 of file WxSubsystem.h.

Member Data Documentation

◆ ID_MENUITEM1

const long C3DWindowDialog::ID_MENUITEM1 = wxNewId()
staticprivate

Definition at line 405 of file WxSubsystem.h.

◆ ID_MENUITEM2

const long C3DWindowDialog::ID_MENUITEM2 = wxNewId()
staticprivate

Definition at line 406 of file WxSubsystem.h.

◆ m_canvas

CMyGLCanvas_DisplayWindow3D* mrpt::gui::C3DWindowDialog::m_canvas

Definition at line 396 of file WxSubsystem.h.

◆ m_mainFrame

WxSubsystem::CWXMainFrame* mrpt::gui::C3DWindowDialog::m_mainFrame

Definition at line 394 of file WxSubsystem.h.

◆ m_win3D

CDisplayWindow3D* mrpt::gui::C3DWindowDialog::m_win3D

Definition at line 393 of file WxSubsystem.h.

Referenced by OnChar(), OnClose(), and OnResize().




Page generated by Doxygen 1.8.14 for MRPT 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020