Definition at line 396 of file WxSubsystem.h.
#include <mrpt/gui/WxSubsystem.h>
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 | |
CDisplayWindow3D * | m_win3D |
WxSubsystem::CWXMainFrame * | m_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 |
C3DWindowDialog::C3DWindowDialog | ( | CDisplayWindow3D * | win3D, |
WxSubsystem::CWXMainFrame * | parent, | ||
wxWindowID | id = -1 , |
||
const std::string & | caption = std::string("[MRPT-CDisplayWindow3D]") , |
||
wxSize | initialSize = wxDefaultSize |
||
) |
Definition at line 283 of file CDisplayWindow3D.cpp.
References _U, mrpt::gui::WxSubsystem::getMRPTDefaultIcon(), ID_MENUITEM1, ID_MENUITEM2, mrpt::gui::WxSubsystem::CWXMainFrame::notifyWindowCreation(), OnChar(), OnClose(), OnMenuAbout(), OnMenuClose(), OnResize(), and THROW_EXCEPTION.
|
virtual |
Definition at line 324 of file CDisplayWindow3D.cpp.
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 | ||
) |
Definition at line 403 of file CDisplayWindow3D.cpp.
References m_canvas.
Referenced by mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests().
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 414 of file CDisplayWindow3D.cpp.
References m_canvas.
void C3DWindowDialog::clearTextMessages | ( | ) |
Definition at line 396 of file CDisplayWindow3D.cpp.
References m_canvas.
Referenced by mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests().
|
private |
Definition at line 368 of file CDisplayWindow3D.cpp.
References m_win3D.
Referenced by C3DWindowDialog().
|
private |
Definition at line 330 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::utils::CObservable::publishEvent().
Referenced by C3DWindowDialog().
|
private |
Definition at line 361 of file CDisplayWindow3D.cpp.
Referenced by C3DWindowDialog().
|
private |
Definition at line 359 of file CDisplayWindow3D.cpp.
Referenced by C3DWindowDialog().
|
private |
Definition at line 375 of file CDisplayWindow3D.cpp.
References m_win3D, and mrpt::utils::CObservable::publishEvent().
Referenced by C3DWindowDialog().
|
friend |
Definition at line 398 of file WxSubsystem.h.
|
staticprivate |
Definition at line 433 of file WxSubsystem.h.
|
staticprivate |
Definition at line 434 of file WxSubsystem.h.
CMyGLCanvas_DisplayWindow3D* mrpt::gui::C3DWindowDialog::m_canvas |
Definition at line 411 of file WxSubsystem.h.
Referenced by addTextMessage(), clearTextMessages(), mrpt::gui::CDisplayWindow3D::getCameraAzimuthDeg(), mrpt::gui::CDisplayWindow3D::getCameraElevationDeg(), mrpt::gui::CDisplayWindow3D::getCameraPointingToPoint(), mrpt::gui::CDisplayWindow3D::getCameraZoom(), mrpt::gui::CDisplayWindow3D::getFOV(), mrpt::gui::CDisplayWindow3D::getLastMousePosition(), mrpt::gui::CDisplayWindow3D::isCameraProjective(), mrpt::gui::CDisplayWindow3D::setCameraAzimuthDeg(), mrpt::gui::CDisplayWindow3D::setCameraElevationDeg(), mrpt::gui::CDisplayWindow3D::setCameraPointingToPoint(), mrpt::gui::CDisplayWindow3D::setCameraProjective(), mrpt::gui::CDisplayWindow3D::setCameraZoom(), mrpt::gui::CDisplayWindow3D::setCursorCross(), mrpt::gui::CDisplayWindow3D::setFOV(), and mrpt::gui::CDisplayWindow3D::useCameraFromScene().
WxSubsystem::CWXMainFrame* mrpt::gui::C3DWindowDialog::m_mainFrame |
Definition at line 409 of file WxSubsystem.h.
CDisplayWindow3D* mrpt::gui::C3DWindowDialog::m_win3D |
Definition at line 408 of file WxSubsystem.h.
Referenced by OnChar(), OnClose(), and OnResize().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |