Main MRPT website > C++ reference for MRPT 1.5.7
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 349 of file WxSubsystem.h.

#include <mrpt/gui/WxSubsystem.h>

Inheritance diagram for mrpt::gui::C3DWindowDialog:
Inheritance graph

Public Member Functions

 C3DWindowDialog (CDisplayWindow3D *win3D, WxSubsystem::CWXMainFrame *parent, wxWindowID id=-1, const std::string &caption=std::string("[MRPT-CDisplayWindow3D]"), wxSize initialSize=wxDefaultSize)
 
virtual ~C3DWindowDialog ()
 
void clearTextMessages ()
 
void addTextMessage (const double x_frac, const double y_frac, const std::string &text, const mrpt::utils::TColorf &color, const size_t unique_index, const mrpt::opengl::TOpenGLFont font)
 
void addTextMessage (const double x_frac, const double y_frac, const std::string &text, const mrpt::utils::TColorf &color, const std::string &font_name, const double font_size, const mrpt::opengl::TOpenGLFontStyle font_style, const size_t unique_index, const double font_spacing, const double font_kerning, const bool has_shadow, const mrpt::utils::TColorf &shadow_color)
 

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 
)

◆ ~C3DWindowDialog()

C3DWindowDialog::~C3DWindowDialog ( )
virtual

Definition at line 299 of file CDisplayWindow3D.cpp.

Member Function Documentation

◆ addTextMessage() [1/2]

void C3DWindowDialog::addTextMessage ( const double  x_frac,
const double  y_frac,
const std::string text,
const mrpt::utils::TColorf color,
const size_t  unique_index,
const mrpt::opengl::TOpenGLFont  font 
)

◆ addTextMessage() [2/2]

void C3DWindowDialog::addTextMessage ( const double  x_frac,
const double  y_frac,
const std::string text,
const mrpt::utils::TColorf color,
const std::string font_name,
const double  font_size,
const mrpt::opengl::TOpenGLFontStyle  font_style,
const size_t  unique_index,
const double  font_spacing,
const double  font_kerning,
const bool  has_shadow,
const mrpt::utils::TColorf shadow_color 
)

Definition at line 383 of file CDisplayWindow3D.cpp.

References m_canvas.

◆ clearTextMessages()

void C3DWindowDialog::clearTextMessages ( )

◆ OnChar()

void C3DWindowDialog::OnChar ( wxKeyEvent &  event)
private

Definition at line 340 of file CDisplayWindow3D.cpp.

References m_win3D.

Referenced by C3DWindowDialog().

◆ OnClose()

void C3DWindowDialog::OnClose ( wxCloseEvent &  event)
private

◆ OnMenuAbout()

void C3DWindowDialog::OnMenuAbout ( wxCommandEvent &  event)
private

Definition at line 335 of file CDisplayWindow3D.cpp.

Referenced by C3DWindowDialog().

◆ OnMenuClose()

void C3DWindowDialog::OnMenuClose ( wxCommandEvent &  event)
private

Definition at line 330 of file CDisplayWindow3D.cpp.

Referenced by C3DWindowDialog().

◆ OnResize()

void C3DWindowDialog::OnResize ( wxSizeEvent &  event)
private

Definition at line 347 of file CDisplayWindow3D.cpp.

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

Referenced by C3DWindowDialog().

Friends And Related Function Documentation

◆ gui::CMyGLCanvas_DisplayWindow3D

friend class gui::CMyGLCanvas_DisplayWindow3D
friend

Definition at line 351 of file WxSubsystem.h.

Member Data Documentation

◆ ID_MENUITEM1

const long C3DWindowDialog::ID_MENUITEM1 = wxNewId()
staticprivate

Definition at line 395 of file WxSubsystem.h.

◆ ID_MENUITEM2

const long C3DWindowDialog::ID_MENUITEM2 = wxNewId()
staticprivate

Definition at line 396 of file WxSubsystem.h.

◆ m_canvas

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

◆ m_mainFrame

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

Definition at line 359 of file WxSubsystem.h.

◆ m_win3D

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

Definition at line 358 of file WxSubsystem.h.

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




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