<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>mrpt::gui::CDisplayWindowPlots Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> > <b>C++ reference</b> </div> <div align="right"> <a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a> </div> <!-- Generated by Doxygen 1.7.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <div class="left"> <form id="FSearchBox" action="search.php" method="get"> <img id="MSearchSelect" src="search/mag.png" alt=""/> <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"/> </form> </div><div class="right"></div> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacemrpt.html">mrpt</a> </li> <li class="navelem"><a class="el" href="namespacemrpt_1_1gui.html">gui</a> </li> <li class="navelem"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html">CDisplayWindowPlots</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pub-static-attribs">Static Public Attributes</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <div class="title">mrpt::gui::CDisplayWindowPlots Class Reference<div class="ingroups"><a class="el" href="group__mrpt__gui__grp.html">[mrpt-gui]</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="mrpt::gui::CDisplayWindowPlots" --><!-- doxytag: inherits="mrpt::gui::CBaseGUIWindow" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Create a GUI window and display plots with MATLAB-like interfaces and commands. </p> <p>For a list of supported events with the observer/observable pattern, see the discussion in <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html" title="The base class for GUI window classes.">mrpt::gui::CBaseGUIWindow</a>.</p> <p>See <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a842b10c6ec79d9921fb6db89ca38577e" title="Adds a new layer with a 2D plot based on two vectors of X and Y points, using a MATLAB-like syntax...">CDisplayWindowPlots::plot</a> </p> </div> <p><code>#include <<a class="el" href="_c_display_window_plots_8h_source.html">mrpt/gui/CDisplayWindowPlots.h</a>></code></p> <div class="dynheader"> Inheritance diagram for mrpt::gui::CDisplayWindowPlots:</div> <div class="dyncontent"> <div class="center"><img src="classmrpt_1_1gui_1_1_c_display_window_plots__inherit__graph.png" border="0" usemap="#mrpt_1_1gui_1_1_c_display_window_plots_inherit__map" alt="Inheritance graph"/></div> <map name="mrpt_1_1gui_1_1_c_display_window_plots_inherit__map" id="mrpt_1_1gui_1_1_c_display_window_plots_inherit__map"> <area shape="rect" id="node2" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html" title="The base class for GUI window classes." alt="" coords="63,80,255,107"/><area shape="rect" id="node4" href="classmrpt_1_1utils_1_1_c_object.html" title="The virtual base class of all MRPT classes with a unified RTTI system." alt="" coords="4,5,139,32"/><area shape="rect" id="node6" href="classmrpt_1_1utils_1_1_c_observable.html" title="Inherit from this class for those objects capable of being observed by a CObserver class..." alt="" coords="165,5,328,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classmrpt_1_1gui_1_1_c_display_window_plots-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#aeaaffdec8db5e63f4648fb6e5a8a6808">TCallbackMenu</a> )(int menuID, float cursor_x, float cursor_y, void *userParam)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Type for the callback function used in setMenuCallback. <a href="#aeaaffdec8db5e63f4648fb6e5a8a6808"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a8962539d51162cc02b84bb2461ae7215">CDisplayWindowPlots</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &windowCaption=<a class="el" href="classstd_1_1string.html">std::string</a>(), unsigned int initialWidth=350, unsigned int initialHeight=300)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a8962539d51162cc02b84bb2461ae7215"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#ab868301892f066ef3f3e42dd964a584b">~CDisplayWindowPlots</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ab868301892f066ef3f3e42dd964a584b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#ac7b40397609c6d65f0b86d7ac58aa47a">getLastMousePosition</a> (int &x, int &y) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the last x,y pixel coordinates of the mouse. <a href="#ac7b40397609c6d65f0b86d7ac58aa47a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a22e02fed4426009e386ba7dd2bb3442e">setCursorCross</a> (bool cursorIsCross)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set cursor style to default (cursorIsCross=false) or to a cross (cursorIsCross=true) <a href="#a22e02fed4426009e386ba7dd2bb3442e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#ae52ab652258f1cde95ec9c5e6d29d3ef">resize</a> (unsigned int width, unsigned int height)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Resizes the window, stretching the image to fit into the display area. <a href="#ae52ab652258f1cde95ec9c5e6d29d3ef"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a937cc92f848dcbe481ba20666ee5ebab">setPos</a> (int x, int y)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Changes the position of the window on the screen. <a href="#a937cc92f848dcbe481ba20666ee5ebab"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a6c13dd4168d5d31e79bf72ac2c69212a">setWindowTitle</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &str)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Changes the window title text. <a href="#a6c13dd4168d5d31e79bf72ac2c69212a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a11cf9e446746948c20518dff29cd335c">enableMousePanZoom</a> (bool enabled)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Enable/disable the feature of pan/zoom with the mouse (default=enabled) <a href="#a11cf9e446746948c20518dff29cd335c"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<typename T1 , typename T2 > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a842b10c6ec79d9921fb6db89ca38577e">plot</a> (const <a class="el" href="classstd_1_1vector.html">std::vector</a>< T1 > &x, const <a class="el" href="classstd_1_1vector.html">std::vector</a>< T2 > &y, const <a class="el" href="classstd_1_1string.html">std::string</a> &lineFormat=<a class="el" href="classstd_1_1string.html">std::string</a>("b-"), const <a class="el" href="classstd_1_1string.html">std::string</a> &plotName=<a class="el" href="classstd_1_1string.html">std::string</a>("plotXY"))</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a new layer with a 2D plot based on two vectors of X and Y points, using a MATLAB-like syntax. <a href="#a842b10c6ec79d9921fb6db89ca38577e"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<typename T1 , typename Derived2 > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a9f97d689e8df9b46b1be3ba81c7ff77c">plot</a> (const <a class="el" href="classstd_1_1vector.html">std::vector</a>< T1 > &x, const <a class="el" href="class_eigen_1_1_matrix_base.html">Eigen::MatrixBase</a>< Derived2 > &y, const <a class="el" href="classstd_1_1string.html">std::string</a> &lineFormat=<a class="el" href="classstd_1_1string.html">std::string</a>("b-"), const <a class="el" href="classstd_1_1string.html">std::string</a> &plotName=<a class="el" href="classstd_1_1string.html">std::string</a>("plotXY"))</td></tr> <tr><td class="memTemplParams" colspan="2">template<typename Derived1 , typename T2 > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#afb48a6e0e9766d7dcb5a1fe8f50b3820">plot</a> (const <a class="el" href="class_eigen_1_1_matrix_base.html">Eigen::MatrixBase</a>< Derived1 > &x, const <a class="el" href="classstd_1_1vector.html">std::vector</a>< T2 > &y, const <a class="el" href="classstd_1_1string.html">std::string</a> &lineFormat=<a class="el" href="classstd_1_1string.html">std::string</a>("b-"), const <a class="el" href="classstd_1_1string.html">std::string</a> &plotName=<a class="el" href="classstd_1_1string.html">std::string</a>("plotXY"))</td></tr> <tr><td class="memTemplParams" colspan="2">template<typename Derived1 , typename Derived2 > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#aa8b679a364b81154754bccd9f80bcd37">plot</a> (const <a class="el" href="class_eigen_1_1_matrix_base.html">Eigen::MatrixBase</a>< Derived1 > &x, const <a class="el" href="class_eigen_1_1_matrix_base.html">Eigen::MatrixBase</a>< Derived2 > &y, const <a class="el" href="classstd_1_1string.html">std::string</a> &lineFormat=<a class="el" href="classstd_1_1string.html">std::string</a>("b-"), const <a class="el" href="classstd_1_1string.html">std::string</a> &plotName=<a class="el" href="classstd_1_1string.html">std::string</a>("plotXY"))</td></tr> <tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#aed48dfcbed3652649ec5d4371a60d937">plot</a> (const <a class="el" href="classstd_1_1vector.html">std::vector</a>< T > &y, const <a class="el" href="classstd_1_1string.html">std::string</a> &lineFormat=<a class="el" href="classstd_1_1string.html">std::string</a>("b-"), const <a class="el" href="classstd_1_1string.html">std::string</a> &plotName=<a class="el" href="classstd_1_1string.html">std::string</a>("plotXY"))</td></tr> <tr><td class="memTemplParams" colspan="2">template<typename Derived > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#adacf1ed57b56fe120ba419fdd5daa37f">plot</a> (const <a class="el" href="class_eigen_1_1_matrix_base.html">Eigen::MatrixBase</a>< Derived > &y, const <a class="el" href="classstd_1_1string.html">std::string</a> &lineFormat=<a class="el" href="classstd_1_1string.html">std::string</a>("b-"), const <a class="el" href="classstd_1_1string.html">std::string</a> &plotName=<a class="el" href="classstd_1_1string.html">std::string</a>("plotXY"))</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a8b063d884b5b140a7fdfaa6b68b323cf">axis</a> (float x_min, float x_max, float y_min, float y_max, bool aspectRatioFix=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the view area according to the passed coordinated. <a href="#a8b063d884b5b140a7fdfaa6b68b323cf"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a8a022446f3546c0c684c470391d42e58">axis_equal</a> (bool enable=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Enable/disable the fixed X/Y aspect ratio fix feature (default=disabled). <a href="#a8a022446f3546c0c684c470391d42e58"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#acfd030aa2c2edfcbe26a53278a6f2761">axis_fit</a> (bool aspectRatioFix=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Fix automatically the view area according to existing graphs. <a href="#acfd030aa2c2edfcbe26a53278a6f2761"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void GUI_IMPEXP </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#abee731017414d769c310401e11bcc77d">plotEllipse</a> (const T mean_x, const T mean_y, const <a class="el" href="classmrpt_1_1math_1_1_c_matrix_template_numeric.html">CMatrixTemplateNumeric</a>< T > &cov22, const float quantiles, const <a class="el" href="classstd_1_1string.html">std::string</a> &lineFormat=<a class="el" href="classstd_1_1string.html">std::string</a>("b-"), const <a class="el" href="classstd_1_1string.html">std::string</a> &plotName=<a class="el" href="classstd_1_1string.html">std::string</a>("plotEllipse"), bool showName=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Plots a 2D ellipse given its mean, covariance matrix, and Each call to this function creates a new plot, unless the plot name coincides with an already existing plot: in this case the new values are used to update this existing layer (this also applies to using the default plot name). <a href="#abee731017414d769c310401e11bcc77d"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void GUI_IMPEXP </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#af9670950295fd88d6890d27fb10e1e35">plotEllipse</a> (const T mean_x, const T mean_y, const <a class="el" href="classmrpt_1_1math_1_1_c_matrix_fixed_numeric.html">CMatrixFixedNumeric</a>< T, 2, 2 > &cov22, const float quantiles, const <a class="el" href="classstd_1_1string.html">std::string</a> &lineFormat=<a class="el" href="classstd_1_1string.html">std::string</a>("b-"), const <a class="el" href="classstd_1_1string.html">std::string</a> &plotName=<a class="el" href="classstd_1_1string.html">std::string</a>("plotEllipse"), bool showName=false)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a096e2c6bdacf0dccea9d9e374d15e395">image</a> (const <a class="el" href="classmrpt_1_1utils_1_1_c_image.html">utils::CImage</a> &img, const float &x_left, const float &y_bottom, const float &x_width, const float &y_height, const <a class="el" href="classstd_1_1string.html">std::string</a> &plotName=<a class="el" href="classstd_1_1string.html">std::string</a>("image"))</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a bitmap image layer. <a href="#a096e2c6bdacf0dccea9d9e374d15e395"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a3ae79cf56c9a68316c741e9a16981cbf">clear</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove all plot objects in the display. <a href="#a3ae79cf56c9a68316c741e9a16981cbf"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a7229d122bbbfa3d0cb3cd6c1190e65f4">clf</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove all plot objects in the display (clear and clf do exactly the same). <a href="#a7229d122bbbfa3d0cb3cd6c1190e65f4"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a76cfb0629841e38d9a5d74151185d684">hold_on</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Enables keeping all the graphs, instead of overwritting them. <a href="#a76cfb0629841e38d9a5d74151185d684"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a56a1a2c9db43eaad59fbd9a691321797">hold_off</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Disables keeping all the graphs (this is the default behavior). <a href="#a56a1a2c9db43eaad59fbd9a691321797"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#aa4282d3130ab8541b553542b0a0714cf">addPopupMenuEntry</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &label, int menuID)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Disables keeping all the graphs (this is the default behavior). <a href="#aa4282d3130ab8541b553542b0a0714cf"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a4cf001c64566d783754f0c9a99862bda">setMenuCallback</a> (<a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#aeaaffdec8db5e63f4648fb6e5a8a6808">TCallbackMenu</a> userFunction, void *userParam=NULL)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Must be called to have a callback when the user selects one of the user-defined entries in the popup menu. <a href="#a4cf001c64566d783754f0c9a99862bda"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a5093996f5b658744cad949d8ed541a5e">getWxObject</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Read-only access to the wxDialog object. <a href="#a5093996f5b658744cad949d8ed541a5e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a1e0f2b9fd235028827d9d7914887ce0f">notifyChildWindowDestruction</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Called by wx main thread to set m_hwnd to NULL. <a href="#a1e0f2b9fd235028827d9d7914887ce0f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#aea8d92b2da808705a1c2bc78f1b994cf">notifySemThreadReady</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Called by wx main thread to signal the semaphore that the wx window is built and ready. <a href="#aea8d92b2da808705a1c2bc78f1b994cf"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a55bc3a4360b03882516628a65050280c">isOpen</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns false if the user has already closed the window. <a href="#a55bc3a4360b03882516628a65050280c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#ac3c1c14a30af0d92bb28d5c4930099f0">waitForKey</a> (bool ignoreControlKeys=true, <a class="el" href="namespacemrpt_1_1gui.html#a1957927b66a163637ab90d2bf3220e11">mrptKeyModifier</a> *out_pushModifier=NULL)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Waits for any key to be pushed on the image or the console, and returns the key code. <a href="#ac3c1c14a30af0d92bb28d5c4930099f0"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a3efeaeb6155ab518c50e54568b7d9858">keyHit</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if a key has been pushed, without blocking waiting for a new key being pushed. <a href="#a3efeaeb6155ab518c50e54568b7d9858"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a80f82740d0cc3b394fbcb7dbc26cd1a4">clearKeyHitFlag</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Assure that "keyHit" will return false until the next pushed key. <a href="#a80f82740d0cc3b394fbcb7dbc26cd1a4"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a8f3aa3dff651d269f127165e084bd936">getPushedKey</a> (<a class="el" href="namespacemrpt_1_1gui.html#a1957927b66a163637ab90d2bf3220e11">mrptKeyModifier</a> *out_pushModifier=NULL)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the latest pushed key, or 0 if there is no new key stroke. <a href="#a8f3aa3dff651d269f127165e084bd936"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html">mrpt::utils::CObjectPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_object.html#a534695890364f4b916bba07dad311bcf">duplicateGetSmartPtr</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a copy of the object, indepently of its class, as a smart pointer (the newly created object will exist as long as any copy of this smart pointer). <a href="#a534695890364f4b916bba07dad311bcf"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1_c_object.html">CObject</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_object.html#a9ef7857a0b36059c078e195a0a65ac00">clone</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Cloning interface for smart pointers. <a href="#a9ef7857a0b36059c078e195a0a65ac00"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1gui_1_1_c_display_window_plots_ptr.html">CDisplayWindowPlotsPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a322b16ff5c28f80260a4b5fd964d6e3d">Create</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &windowCaption=<a class="el" href="classstd_1_1string.html">std::string</a>(), unsigned int initialWindowWidth=400, unsigned int initialWindowHeight=300)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Class factory returning a smart pointer. <a href="#a322b16ff5c28f80260a4b5fd964d6e3d"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-static-attribs"></a> Static Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <br class="typebreak"/> <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_object.html#acb51e4dd811d62c2696aee449d0a4715">classCObject</a></td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a4face1c2fa9be779c7e50e273e5668b6">internal_plot</a> (<a class="el" href="namespacemrpt.html#aa271572e3985202e030758bfd54a02e1">vector_float</a> &x, <a class="el" href="namespacemrpt.html#aa271572e3985202e030758bfd54a02e1">vector_float</a> &y, const <a class="el" href="classstd_1_1string.html">std::string</a> &lineFormat, const <a class="el" href="classstd_1_1string.html">std::string</a> &plotName)</td></tr> <tr><td class="memTemplParams" colspan="2">template<typename VECTOR1 , typename VECTOR2 > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#ad66248e8c65ba576f7490659e4e349b0">internal_plot_interface</a> (const VECTOR1 &x, const VECTOR2 &y, const <a class="el" href="classstd_1_1string.html">std::string</a> &lineFormat, const <a class="el" href="classstd_1_1string.html">std::string</a> &plotName)</td></tr> <tr><td class="memTemplParams" colspan="2">template<typename VECTOR1 > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a94d9360e6ac8418a39f1d5031261753a">internal_plot_interface</a> (const VECTOR1 &y, const <a class="el" href="classstd_1_1string.html">std::string</a> &lineFormat, const <a class="el" href="classstd_1_1string.html">std::string</a> &plotName)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#af0376c6ced9aab68c9b3c0c5be32e167">createWxWindow</a> (unsigned int initialWidth, unsigned int initialHeight)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Must be called by child classes just within the constructor. <a href="#af0376c6ced9aab68c9b3c0c5be32e167"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#adfb7b5a646301cad462f3c42ed6071b5">destroyWxWindow</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Must be called by child classes in their destructors. The code cannot be put into this class' destructor. <a href="#adfb7b5a646301cad462f3c42ed6071b5"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_observable.html#a0c384e00c06199bc2ff37ff5ecb520c9">publishEvent</a> (const <a class="el" href="classmrpt_1_1utils_1_1mrpt_event.html">mrptEvent</a> &e) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Called when you want this object to emit an event to all the observers currently subscribed to this object. <a href="#a0c384e00c06199bc2ff37ff5ecb520c9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_observable.html#a1c1e8c7d0d184ccdaa7d5a0ee5184e1e">hasSubscribers</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Can be called by a derived class before preparing an event for publishing with <em>publishEvent</em> to determine if there is no one subscribed, so it can save the wasted time preparing an event that will be not read. <a href="#a1c1e8c7d0d184ccdaa7d5a0ee5184e1e"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a3b19a27553d9993e0973629c73cb6151">m_holdon</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether hold_on is enabled. <a href="#a3b19a27553d9993e0973629c73cb6151"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a1c5c678330a336bdc0e7537ff9b1cace">m_holdon_just_disabled</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#abd2e33dc798b3f3db307bbfd2d0d824e">m_holdon_cnt</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Counter for hold_on. <a href="#abd2e33dc798b3f3db307bbfd2d0d824e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#aeaaffdec8db5e63f4648fb6e5a8a6808">TCallbackMenu</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a3587ab60849d518508112ac9e8c0918e">m_callback</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a05bdca4f1f0bab30c569d37e6926b1f4">m_callback_param</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1synch_1_1_c_semaphore.html">synch::CSemaphore</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#ab6436ed238c7c83c5c7683342eeb2949">m_semThreadReady</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This semaphore will be signaled when the wx window is built and ready. <a href="#ab6436ed238c7c83c5c7683342eeb2949"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1synch_1_1_c_semaphore.html">synch::CSemaphore</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a7184a4e0fd8ddb22c4759d02434cda8d">m_semWindowDestroyed</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This semaphore will be signaled when the wx window is destroyed. <a href="#a7184a4e0fd8ddb22c4759d02434cda8d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1string.html">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a207639d38e14fbc7c6e85b479c7b9051">m_caption</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The caption of the window. <a href="#a207639d38e14fbc7c6e85b479c7b9051"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacemrpt_1_1utils.html#ac3912bceb5e2a4662830ec51584d134b">void_ptr_noncopy</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a2dd4af8ac076bd4f893025eb1d98bf7b">m_hwnd</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The window handle. <a href="#a2dd4af8ac076bd4f893025eb1d98bf7b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">volatile bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#ada8b99456263a89ffce9ca28e3f3c102">m_keyPushed</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a92fb3fbae072d0387e72fc8e5fa409ac">m_keyPushedCode</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">volatile <a class="el" href="namespacemrpt_1_1gui.html#a1957927b66a163637ab90d2bf3220e11">mrptKeyModifier</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#aa181ad72efea9497dbbaa13020afa5c4">m_keyPushedModifier</a></td></tr> <tr><td colspan="2"><h2><a name="friends"></a> Friends</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a0eab80c3eb0251b2f663e3d0e010573e">CWindowDialogPlots</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a0a4caba1199fdb1b990d4f1dd5abedf6">CWindowDialog</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#af363eff8a66db772f89467af51a862bb">C3DWindowDialog</a></td></tr> <tr><td colspan="2"><h2><a name="member-group"></a> RTTI stuff</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <br class="typebreak"/> <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#acc47d68903ba7394adf6b6743a94a6fe">classCBaseGUIWindow</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::utils::CStream</a></td></tr> <tr><td colspan="2"><h2><a name="member-group"></a> RTTI stuff</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structmrpt_1_1gui_1_1_c_display_window_plots_ptr.html">CDisplayWindowPlotsPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#ad9097e44b0bb5b876b1801e1d577104f">SmartPtr</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1utils_1_1_c_l_a_s_s_i_n_i_t.html">mrpt::utils::CLASSINIT</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a6a33eed16fa851d4fd93c0e89df0850b">_init_CDisplayWindowPlots</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#ad8fa14a50c29fddc54baaceb308b5f3a">classCDisplayWindowPlots</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <br class="typebreak"/> <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#ab609297009eef1d23ffbba053c217d3a">classinfo</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <br class="typebreak"/> <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#abc94a637e932a99ff46c8f788fc1722a">_GetBaseClass</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual const <br class="typebreak"/> <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a18e161cd8c21444bd9835aecb91d33a2">GetRuntimeClass</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns information about the class of an object in runtime. <a href="#a18e161cd8c21444bd9835aecb91d33a2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#aa6f1cf193c3bf6a2313b53951346e782">duplicate</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a copy of the object, indepently of its class. <a href="#aa6f1cf193c3bf6a2313b53951346e782"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a608ae3594073d5be017001e8359b2035">CreateObject</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1gui_1_1_c_display_window_plots_ptr.html">CDisplayWindowPlotsPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a39985a83702f9b2323eab75fccea899e">Create</a> ()</td></tr> </table> <hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="ad9097e44b0bb5b876b1801e1d577104f"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::SmartPtr" ref="ad9097e44b0bb5b876b1801e1d577104f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="structmrpt_1_1gui_1_1_c_display_window_plots_ptr.html">CDisplayWindowPlotsPtr</a> <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#ad9097e44b0bb5b876b1801e1d577104f">mrpt::gui::CDisplayWindowPlots::SmartPtr</a></td> </tr> </table> </div> <div class="memdoc"> <p>A typedef for the associated smart pointer </p> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00060">60</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="aeaaffdec8db5e63f4648fb6e5a8a6808"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::TCallbackMenu" ref="aeaaffdec8db5e63f4648fb6e5a8a6808" args=")(int menuID, float cursor_x, float cursor_y, void *userParam)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef void(* <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#aeaaffdec8db5e63f4648fb6e5a8a6808">mrpt::gui::CDisplayWindowPlots::TCallbackMenu</a>)(int menuID, float cursor_x, float cursor_y, void *userParam)</td> </tr> </table> </div> <div class="memdoc"> <p>Type for the callback function used in setMenuCallback. </p> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00063">63</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a8962539d51162cc02b84bb2461ae7215"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::CDisplayWindowPlots" ref="a8962539d51162cc02b84bb2461ae7215" args="(const std::string &windowCaption=std::string(), unsigned int initialWidth=350, unsigned int initialHeight=300)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::gui::CDisplayWindowPlots::CDisplayWindowPlots </td> <td>(</td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>windowCaption</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>()</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>initialWidth</em> = <code>350</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>initialHeight</em> = <code>300</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor. </p> </div> </div> <a class="anchor" id="ab868301892f066ef3f3e42dd964a584b"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::~CDisplayWindowPlots" ref="ab868301892f066ef3f3e42dd964a584b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual mrpt::gui::CDisplayWindowPlots::~CDisplayWindowPlots </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Destructor. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="abc94a637e932a99ff46c8f788fc1722a"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::_GetBaseClass" ref="abc94a637e932a99ff46c8f788fc1722a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>* mrpt::gui::CDisplayWindowPlots::_GetBaseClass </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a333e2717ff37f546a049e8613e5476c7">mrpt::gui::CBaseGUIWindow</a>.</p> </div> </div> <a class="anchor" id="aa4282d3130ab8541b553542b0a0714cf"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::addPopupMenuEntry" ref="aa4282d3130ab8541b553542b0a0714cf" args="(const std::string &label, int menuID)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::addPopupMenuEntry </td> <td>(</td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>label</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>menuID</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Disables keeping all the graphs (this is the default behavior). </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">label</td><td>The text that appears in the new popup menu item. </td></tr> <tr><td class="paramname">menuID</td><td>Any positive number (0,1,..). Used to tell which menu was selected in the user callback. </td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a4cf001c64566d783754f0c9a99862bda" title="Must be called to have a callback when the user selects one of the user-defined entries in the popup ...">setMenuCallback</a> </dd></dl> </div> </div> <a class="anchor" id="a8b063d884b5b140a7fdfaa6b68b323cf"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::axis" ref="a8b063d884b5b140a7fdfaa6b68b323cf" args="(float x_min, float x_max, float y_min, float y_max, bool aspectRatioFix=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::axis </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"><em>x_min</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"><em>x_max</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"><em>y_min</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"><em>y_max</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>aspectRatioFix</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Set the view area according to the passed coordinated. </p> </div> </div> <a class="anchor" id="a8a022446f3546c0c684c470391d42e58"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::axis_equal" ref="a8a022446f3546c0c684c470391d42e58" args="(bool enable=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::axis_equal </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>enable</em> = <code>true</code></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Enable/disable the fixed X/Y aspect ratio fix feature (default=disabled). </p> </div> </div> <a class="anchor" id="acfd030aa2c2edfcbe26a53278a6f2761"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::axis_fit" ref="acfd030aa2c2edfcbe26a53278a6f2761" args="(bool aspectRatioFix=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::axis_fit </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>aspectRatioFix</em> = <code>false</code></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Fix automatically the view area according to existing graphs. </p> </div> </div> <a class="anchor" id="a3ae79cf56c9a68316c741e9a16981cbf"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::clear" ref="a3ae79cf56c9a68316c741e9a16981cbf" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::clear </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Remove all plot objects in the display. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a842b10c6ec79d9921fb6db89ca38577e" title="Adds a new layer with a 2D plot based on two vectors of X and Y points, using a MATLAB-like syntax...">plot</a> </dd></dl> </div> </div> <a class="anchor" id="a80f82740d0cc3b394fbcb7dbc26cd1a4"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::clearKeyHitFlag" ref="a80f82740d0cc3b394fbcb7dbc26cd1a4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CBaseGUIWindow::clearKeyHitFlag </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Assure that "keyHit" will return false until the next pushed key. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a3efeaeb6155ab518c50e54568b7d9858" title="Returns true if a key has been pushed, without blocking waiting for a new key being pushed...">keyHit</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#ac3c1c14a30af0d92bb28d5c4930099f0" title="Waits for any key to be pushed on the image or the console, and returns the key code.">waitForKey</a> </dd></dl> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00149">149</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> </div> </div> <a class="anchor" id="a7229d122bbbfa3d0cb3cd6c1190e65f4"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::clf" ref="a7229d122bbbfa3d0cb3cd6c1190e65f4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::clf </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Remove all plot objects in the display (clear and clf do exactly the same). </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a842b10c6ec79d9921fb6db89ca38577e" title="Adds a new layer with a 2D plot based on two vectors of X and Y points, using a MATLAB-like syntax...">plot</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a76cfb0629841e38d9a5d74151185d684" title="Enables keeping all the graphs, instead of overwritting them.">hold_on</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a56a1a2c9db43eaad59fbd9a691321797" title="Disables keeping all the graphs (this is the default behavior).">hold_off</a> </dd></dl> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00242">242</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="a9ef7857a0b36059c078e195a0a65ac00"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::clone" ref="a9ef7857a0b36059c078e195a0a65ac00" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1_c_object.html">CObject</a>* mrpt::utils::CObject::clone </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Cloning interface for smart pointers. </p> <p>Reimplemented in <a class="el" href="classmrpt_1_1opengl_1_1_c_renderizable.html#acb2597d6d93b406501d9f3530eb56adf">mrpt::opengl::CRenderizable</a>, and <a class="el" href="classmrpt_1_1opengl_1_1_c_renderizable_display_list.html#ac164cb1d2cf682778ce52967cbd56469">mrpt::opengl::CRenderizableDisplayList</a>.</p> <p>Definition at line <a class="el" href="_c_object_8h_source.html#l00154">154</a> of file <a class="el" href="_c_object_8h_source.html">CObject.h</a>.</p> </div> </div> <a class="anchor" id="a39985a83702f9b2323eab75fccea899e"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::Create" ref="a39985a83702f9b2323eab75fccea899e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="structmrpt_1_1gui_1_1_c_display_window_plots_ptr.html">CDisplayWindowPlotsPtr</a> mrpt::gui::CDisplayWindowPlots::Create </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a322b16ff5c28f80260a4b5fd964d6e3d"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::Create" ref="a322b16ff5c28f80260a4b5fd964d6e3d" args="(const std::string &windowCaption=std::string(), unsigned int initialWindowWidth=400, unsigned int initialWindowHeight=300)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="structmrpt_1_1gui_1_1_c_display_window_plots_ptr.html">CDisplayWindowPlotsPtr</a> mrpt::gui::CDisplayWindowPlots::Create </td> <td>(</td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>windowCaption</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>()</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>initialWindowWidth</em> = <code>400</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>initialWindowHeight</em> = <code>300</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Class factory returning a smart pointer. </p> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00104">104</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="a608ae3594073d5be017001e8359b2035"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::CreateObject" ref="a608ae3594073d5be017001e8359b2035" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a>* mrpt::gui::CDisplayWindowPlots::CreateObject </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="af0376c6ced9aab68c9b3c0c5be32e167"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::createWxWindow" ref="af0376c6ced9aab68c9b3c0c5be32e167" args="(unsigned int initialWidth, unsigned int initialHeight)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CBaseGUIWindow::createWxWindow </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>initialWidth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>initialHeight</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Must be called by child classes just within the constructor. </p> </div> </div> <a class="anchor" id="adfb7b5a646301cad462f3c42ed6071b5"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::destroyWxWindow" ref="adfb7b5a646301cad462f3c42ed6071b5" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CBaseGUIWindow::destroyWxWindow </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Must be called by child classes in their destructors. The code cannot be put into this class' destructor. </p> </div> </div> <a class="anchor" id="aa6f1cf193c3bf6a2313b53951346e782"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::duplicate" ref="aa6f1cf193c3bf6a2313b53951346e782" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a>* mrpt::gui::CDisplayWindowPlots::duplicate </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns a copy of the object, indepently of its class. </p> <p>Implements <a class="el" href="classmrpt_1_1utils_1_1_c_object.html#aa1070e173c5f7e307b09c53f1fd256e2">mrpt::utils::CObject</a>.</p> </div> </div> <a class="anchor" id="a534695890364f4b916bba07dad311bcf"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::duplicateGetSmartPtr" ref="a534695890364f4b916bba07dad311bcf" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html">mrpt::utils::CObjectPtr</a> mrpt::utils::CObject::duplicateGetSmartPtr </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns a copy of the object, indepently of its class, as a smart pointer (the newly created object will exist as long as any copy of this smart pointer). </p> <p>Definition at line <a class="el" href="_c_object_8h_source.html#l00151">151</a> of file <a class="el" href="_c_object_8h_source.html">CObject.h</a>.</p> </div> </div> <a class="anchor" id="a11cf9e446746948c20518dff29cd335c"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::enableMousePanZoom" ref="a11cf9e446746948c20518dff29cd335c" args="(bool enabled)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::enableMousePanZoom </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>enabled</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Enable/disable the feature of pan/zoom with the mouse (default=enabled) </p> </div> </div> <a class="anchor" id="ac7b40397609c6d65f0b86d7ac58aa47a"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::getLastMousePosition" ref="ac7b40397609c6d65f0b86d7ac58aa47a" args="(int &x, int &y) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool mrpt::gui::CDisplayWindowPlots::getLastMousePosition </td> <td>(</td> <td class="paramtype">int & </td> <td class="paramname"><em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int & </td> <td class="paramname"><em>y</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Gets the last x,y pixel coordinates of the mouse. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>False if the window is closed. </dd></dl> <p>Implements <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a19cec74df8767823690cc5e3ee54b5d5">mrpt::gui::CBaseGUIWindow</a>.</p> </div> </div> <a class="anchor" id="a8f3aa3dff651d269f127165e084bd936"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::getPushedKey" ref="a8f3aa3dff651d269f127165e084bd936" args="(mrptKeyModifier *out_pushModifier=NULL)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int mrpt::gui::CBaseGUIWindow::getPushedKey </td> <td>(</td> <td class="paramtype"><a class="el" href="namespacemrpt_1_1gui.html#a1957927b66a163637ab90d2bf3220e11">mrptKeyModifier</a> * </td> <td class="paramname"><em>out_pushModifier</em> = <code>NULL</code></td><td>)</td> <td><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the latest pushed key, or 0 if there is no new key stroke. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">out_pushModifier</td><td>If set to !=NULL, the modifiers of the key stroke will be saved here. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The virtual key code, as defined in <<a class="el" href="keycodes_8h.html">mrpt/gui/keycodes.h</a>> (a replication of wxWidgets key codes).</dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a3efeaeb6155ab518c50e54568b7d9858" title="Returns true if a key has been pushed, without blocking waiting for a new key being pushed...">keyHit</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#ac3c1c14a30af0d92bb28d5c4930099f0" title="Waits for any key to be pushed on the image or the console, and returns the key code.">waitForKey</a> </dd></dl> </div> </div> <a class="anchor" id="a18e161cd8c21444bd9835aecb91d33a2"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::GetRuntimeClass" ref="a18e161cd8c21444bd9835aecb91d33a2" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>* mrpt::gui::CDisplayWindowPlots::GetRuntimeClass </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns information about the class of an object in runtime. </p> <p>Reimplemented from <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a64eac7fe898e5cd0395cfe251c903777">mrpt::gui::CBaseGUIWindow</a>.</p> </div> </div> <a class="anchor" id="a5093996f5b658744cad949d8ed541a5e"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::getWxObject" ref="a5093996f5b658744cad949d8ed541a5e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void* mrpt::gui::CBaseGUIWindow::getWxObject </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Read-only access to the wxDialog object. </p> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00097">97</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> <p>References <a class="el" href="safe__pointers_8h_source.html#l00129">mrpt::utils::non_copiable_ptr_basic::get()</a>.</p> </div> </div> <a class="anchor" id="a1c1e8c7d0d184ccdaa7d5a0ee5184e1e"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::hasSubscribers" ref="a1c1e8c7d0d184ccdaa7d5a0ee5184e1e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool mrpt::utils::CObservable::hasSubscribers </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Can be called by a derived class before preparing an event for publishing with <em>publishEvent</em> to determine if there is no one subscribed, so it can save the wasted time preparing an event that will be not read. </p> <p>Definition at line <a class="el" href="_c_observable_8h_source.html#l00069">69</a> of file <a class="el" href="_c_observable_8h_source.html">CObservable.h</a>.</p> </div> </div> <a class="anchor" id="a56a1a2c9db43eaad59fbd9a691321797"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::hold_off" ref="a56a1a2c9db43eaad59fbd9a691321797" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::hold_off </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Disables keeping all the graphs (this is the default behavior). </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a76cfb0629841e38d9a5d74151185d684" title="Enables keeping all the graphs, instead of overwritting them.">hold_on</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a842b10c6ec79d9921fb6db89ca38577e" title="Adds a new layer with a 2D plot based on two vectors of X and Y points, using a MATLAB-like syntax...">plot</a> </dd></dl> </div> </div> <a class="anchor" id="a76cfb0629841e38d9a5d74151185d684"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::hold_on" ref="a76cfb0629841e38d9a5d74151185d684" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::hold_on </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Enables keeping all the graphs, instead of overwritting them. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a56a1a2c9db43eaad59fbd9a691321797" title="Disables keeping all the graphs (this is the default behavior).">hold_off</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a842b10c6ec79d9921fb6db89ca38577e" title="Adds a new layer with a 2D plot based on two vectors of X and Y points, using a MATLAB-like syntax...">plot</a> </dd></dl> </div> </div> <a class="anchor" id="a096e2c6bdacf0dccea9d9e374d15e395"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::image" ref="a096e2c6bdacf0dccea9d9e374d15e395" args="(const utils::CImage &img, const float &x_left, const float &y_bottom, const float &x_width, const float &y_height, const std::string &plotName=std::string("image"))" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::image </td> <td>(</td> <td class="paramtype">const <a class="el" href="classmrpt_1_1utils_1_1_c_image.html">utils::CImage</a> & </td> <td class="paramname"><em>img</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const float & </td> <td class="paramname"><em>x_left</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const float & </td> <td class="paramname"><em>y_bottom</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const float & </td> <td class="paramname"><em>x_width</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const float & </td> <td class="paramname"><em>y_height</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>plotName</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("image")</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Adds a bitmap image layer. </p> <p>Each call to this function creates a new layer, unless the plot name coincides with an already existing plot: in this case the new values are used to update this existing layer (this also applies to using the default plot name).</p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a8b063d884b5b140a7fdfaa6b68b323cf" title="Set the view area according to the passed coordinated.">axis</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a8a022446f3546c0c684c470391d42e58" title="Enable/disable the fixed X/Y aspect ratio fix feature (default=disabled).">axis_equal</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#acfd030aa2c2edfcbe26a53278a6f2761" title="Fix automatically the view area according to existing graphs.">axis_fit</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a76cfb0629841e38d9a5d74151185d684" title="Enables keeping all the graphs, instead of overwritting them.">hold_on</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a56a1a2c9db43eaad59fbd9a691321797" title="Disables keeping all the graphs (this is the default behavior).">hold_off</a> </dd></dl> </div> </div> <a class="anchor" id="a4face1c2fa9be779c7e50e273e5668b6"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::internal_plot" ref="a4face1c2fa9be779c7e50e273e5668b6" args="(vector_float &x, vector_float &y, const std::string &lineFormat, const std::string &plotName)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::internal_plot </td> <td>(</td> <td class="paramtype"><a class="el" href="namespacemrpt.html#aa271572e3985202e030758bfd54a02e1">vector_float</a> & </td> <td class="paramname"><em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="namespacemrpt.html#aa271572e3985202e030758bfd54a02e1">vector_float</a> & </td> <td class="paramname"><em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>lineFormat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>plotName</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ad66248e8c65ba576f7490659e4e349b0"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::internal_plot_interface" ref="ad66248e8c65ba576f7490659e4e349b0" args="(const VECTOR1 &x, const VECTOR2 &y, const std::string &lineFormat, const std::string &plotName)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename VECTOR1 , typename VECTOR2 > </div> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::internal_plot_interface </td> <td>(</td> <td class="paramtype">const VECTOR1 & </td> <td class="paramname"><em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const VECTOR2 & </td> <td class="paramname"><em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>lineFormat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>plotName</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00076">76</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="a94d9360e6ac8418a39f1d5031261753a"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::internal_plot_interface" ref="a94d9360e6ac8418a39f1d5031261753a" args="(const VECTOR1 &y, const std::string &lineFormat, const std::string &plotName)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename VECTOR1 > </div> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::internal_plot_interface </td> <td>(</td> <td class="paramtype">const VECTOR1 & </td> <td class="paramname"><em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>lineFormat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>plotName</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00086">86</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="a55bc3a4360b03882516628a65050280c"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::isOpen" ref="a55bc3a4360b03882516628a65050280c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool mrpt::gui::CBaseGUIWindow::isOpen </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns false if the user has already closed the window. </p> </div> </div> <a class="anchor" id="a3efeaeb6155ab518c50e54568b7d9858"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::keyHit" ref="a3efeaeb6155ab518c50e54568b7d9858" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool mrpt::gui::CBaseGUIWindow::keyHit </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns true if a key has been pushed, without blocking waiting for a new key being pushed. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#ac3c1c14a30af0d92bb28d5c4930099f0" title="Waits for any key to be pushed on the image or the console, and returns the key code.">waitForKey</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a80f82740d0cc3b394fbcb7dbc26cd1a4" title="Assure that "keyHit" will return false until the next pushed key.">clearKeyHitFlag</a> </dd></dl> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00144">144</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> </div> </div> <a class="anchor" id="a1e0f2b9fd235028827d9d7914887ce0f"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::notifyChildWindowDestruction" ref="a1e0f2b9fd235028827d9d7914887ce0f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CBaseGUIWindow::notifyChildWindowDestruction </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Called by wx main thread to set m_hwnd to NULL. </p> </div> </div> <a class="anchor" id="aea8d92b2da808705a1c2bc78f1b994cf"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::notifySemThreadReady" ref="aea8d92b2da808705a1c2bc78f1b994cf" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CBaseGUIWindow::notifySemThreadReady </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Called by wx main thread to signal the semaphore that the wx window is built and ready. </p> </div> </div> <a class="anchor" id="a842b10c6ec79d9921fb6db89ca38577e"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::plot" ref="a842b10c6ec79d9921fb6db89ca38577e" args="(const std::vector< T1 > &x, const std::vector< T2 > &y, const std::string &lineFormat=std::string("b-"), const std::string &plotName=std::string("plotXY"))" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename T1 , typename T2 > </div> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::plot </td> <td>(</td> <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">std::vector</a>< T1 > & </td> <td class="paramname"><em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">std::vector</a>< T2 > & </td> <td class="paramname"><em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>lineFormat</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("b-")</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>plotName</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("plotXY")</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Adds a new layer with a 2D plot based on two vectors of X and Y points, using a MATLAB-like syntax. </p> <p>Each call to this function creates a new plot, unless the plot name coincides with an already existing plot: in this case the X & Y points are used to update this existing layer (this also applies to using the default plot name). If "hold_on" is enabled, then every call will always create a new plot, even if no "plotName" is provided.</p> <p>The lineFormat string is a combination of the following characters:</p> <ul> <li>Line styles:<ul> <li>'.': One point for each data point</li> <li>'-': A continuous line</li> <li>':': A dashed line</li> </ul> </li> <li>Colors:<ul> <li>k: black</li> <li>r: red</li> <li>g: green</li> <li>b: blue</li> <li>m: magenta</li> <li>c: cyan</li> </ul> </li> <li>Line width:<ul> <li>'1' to '9': The line width (default=1)</li> </ul> </li> </ul> <p>Examples:</p> <ul> <li>'r.' -> red points.</li> <li>'k3' or 'k-3' -> A black line with a line width of 3 pixels. <dl class="note"><dt><b>Note:</b></dt><dd>The vectors x & y can be of types: float or double. </dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a8b063d884b5b140a7fdfaa6b68b323cf" title="Set the view area according to the passed coordinated.">axis</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a8a022446f3546c0c684c470391d42e58" title="Enable/disable the fixed X/Y aspect ratio fix feature (default=disabled).">axis_equal</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#acfd030aa2c2edfcbe26a53278a6f2761" title="Fix automatically the view area according to existing graphs.">axis_fit</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a3ae79cf56c9a68316c741e9a16981cbf" title="Remove all plot objects in the display.">clear</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a76cfb0629841e38d9a5d74151185d684" title="Enables keeping all the graphs, instead of overwritting them.">hold_on</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a56a1a2c9db43eaad59fbd9a691321797" title="Disables keeping all the graphs (this is the default behavior).">hold_off</a> </dd></dl> <dl><dt><b>Template Parameters:</b></dt><dd> <table class=""> <tr><td class="paramname">VECTOR</td><td>Can be <a class="el" href="classstd_1_1vector.html" title="STL class.">std::vector</a><float/double> or <a class="el" href="structmrpt_1_1dynamicsize__vector.html" title="The base class of MRPT vectors, actually, Eigen column matrices of dynamic size with specialized cons...">mrpt::dynamicsize_vector</a><float/double> or a column/row Eigen::Matrix<> </td></tr> </table> </dd> </dl> </li> </ul> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00164">164</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="a9f97d689e8df9b46b1be3ba81c7ff77c"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::plot" ref="a9f97d689e8df9b46b1be3ba81c7ff77c" args="(const std::vector< T1 > &x, const Eigen::MatrixBase< Derived2 > &y, const std::string &lineFormat=std::string("b-"), const std::string &plotName=std::string("plotXY"))" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename T1 , typename Derived2 > </div> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::plot </td> <td>(</td> <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">std::vector</a>< T1 > & </td> <td class="paramname"><em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_eigen_1_1_matrix_base.html">Eigen::MatrixBase</a>< Derived2 > & </td> <td class="paramname"><em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>lineFormat</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("b-")</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>plotName</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("plotXY")</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00166">166</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="afb48a6e0e9766d7dcb5a1fe8f50b3820"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::plot" ref="afb48a6e0e9766d7dcb5a1fe8f50b3820" args="(const Eigen::MatrixBase< Derived1 > &x, const std::vector< T2 > &y, const std::string &lineFormat=std::string("b-"), const std::string &plotName=std::string("plotXY"))" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename Derived1 , typename T2 > </div> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::plot </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_eigen_1_1_matrix_base.html">Eigen::MatrixBase</a>< Derived1 > & </td> <td class="paramname"><em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">std::vector</a>< T2 > & </td> <td class="paramname"><em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>lineFormat</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("b-")</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>plotName</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("plotXY")</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00168">168</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="aa8b679a364b81154754bccd9f80bcd37"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::plot" ref="aa8b679a364b81154754bccd9f80bcd37" args="(const Eigen::MatrixBase< Derived1 > &x, const Eigen::MatrixBase< Derived2 > &y, const std::string &lineFormat=std::string("b-"), const std::string &plotName=std::string("plotXY"))" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename Derived1 , typename Derived2 > </div> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::plot </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_eigen_1_1_matrix_base.html">Eigen::MatrixBase</a>< Derived1 > & </td> <td class="paramname"><em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_eigen_1_1_matrix_base.html">Eigen::MatrixBase</a>< Derived2 > & </td> <td class="paramname"><em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>lineFormat</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("b-")</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>plotName</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("plotXY")</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00170">170</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="aed48dfcbed3652649ec5d4371a60d937"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::plot" ref="aed48dfcbed3652649ec5d4371a60d937" args="(const std::vector< T > &y, const std::string &lineFormat=std::string("b-"), const std::string &plotName=std::string("plotXY"))" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename T > </div> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::plot </td> <td>(</td> <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">std::vector</a>< T > & </td> <td class="paramname"><em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>lineFormat</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("b-")</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>plotName</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("plotXY")</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00173">173</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="adacf1ed57b56fe120ba419fdd5daa37f"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::plot" ref="adacf1ed57b56fe120ba419fdd5daa37f" args="(const Eigen::MatrixBase< Derived > &y, const std::string &lineFormat=std::string("b-"), const std::string &plotName=std::string("plotXY"))" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename Derived > </div> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::plot </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_eigen_1_1_matrix_base.html">Eigen::MatrixBase</a>< Derived > & </td> <td class="paramname"><em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>lineFormat</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("b-")</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>plotName</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("plotXY")</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00175">175</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="abee731017414d769c310401e11bcc77d"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::plotEllipse" ref="abee731017414d769c310401e11bcc77d" args="(const T mean_x, const T mean_y, const CMatrixTemplateNumeric< T > &cov22, const float quantiles, const std::string &lineFormat=std::string("b-"), const std::string &plotName=std::string("plotEllipse"), bool showName=false)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename T > </div> <table class="memname"> <tr> <td class="memname">void GUI_IMPEXP mrpt::gui::CDisplayWindowPlots::plotEllipse </td> <td>(</td> <td class="paramtype">const T </td> <td class="paramname"><em>mean_x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T </td> <td class="paramname"><em>mean_y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classmrpt_1_1math_1_1_c_matrix_template_numeric.html">CMatrixTemplateNumeric</a>< T > & </td> <td class="paramname"><em>cov22</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const float </td> <td class="paramname"><em>quantiles</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>lineFormat</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("b-")</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>plotName</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("plotEllipse")</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>showName</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Plots a 2D ellipse given its mean, covariance matrix, and Each call to this function creates a new plot, unless the plot name coincides with an already existing plot: in this case the new values are used to update this existing layer (this also applies to using the default plot name). </p> <p>If "hold_on" is enabled, then every call will always create a new plot, even if no "plotName" is provided.</p> <p>For a description of lineFormat see <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a842b10c6ec79d9921fb6db89ca38577e" title="Adds a new layer with a 2D plot based on two vectors of X and Y points, using a MATLAB-like syntax...">CDisplayWindowPlots::plot</a>. The "quantiles" value determines the confidence interval for the ellipse:</p> <ul> <li>1 : 68.27% confidence interval</li> <li>2 : 95.45%</li> <li>3 : 99.73%</li> <li>4 : 99.994% <dl class="note"><dt><b>Note:</b></dt><dd>This method can be called with 2x2 fixed-sized or dynamic-size matrices of types: float or double. </dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a8b063d884b5b140a7fdfaa6b68b323cf" title="Set the view area according to the passed coordinated.">axis</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a8a022446f3546c0c684c470391d42e58" title="Enable/disable the fixed X/Y aspect ratio fix feature (default=disabled).">axis_equal</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#acfd030aa2c2edfcbe26a53278a6f2761" title="Fix automatically the view area according to existing graphs.">axis_fit</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a76cfb0629841e38d9a5d74151185d684" title="Enables keeping all the graphs, instead of overwritting them.">hold_on</a>, <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a56a1a2c9db43eaad59fbd9a691321797" title="Disables keeping all the graphs (this is the default behavior).">hold_off</a> </dd></dl> </li> </ul> </div> </div> <a class="anchor" id="af9670950295fd88d6890d27fb10e1e35"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::plotEllipse" ref="af9670950295fd88d6890d27fb10e1e35" args="(const T mean_x, const T mean_y, const CMatrixFixedNumeric< T, 2, 2 > &cov22, const float quantiles, const std::string &lineFormat=std::string("b-"), const std::string &plotName=std::string("plotEllipse"), bool showName=false)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename T > </div> <table class="memname"> <tr> <td class="memname">void GUI_IMPEXP mrpt::gui::CDisplayWindowPlots::plotEllipse </td> <td>(</td> <td class="paramtype">const T </td> <td class="paramname"><em>mean_x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T </td> <td class="paramname"><em>mean_y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classmrpt_1_1math_1_1_c_matrix_fixed_numeric.html">CMatrixFixedNumeric</a>< T, 2, 2 > & </td> <td class="paramname"><em>cov22</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const float </td> <td class="paramname"><em>quantiles</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>lineFormat</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("b-")</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>plotName</em> = <code><a class="el" href="classstd_1_1string.html">std::string</a>("plotEllipse")</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>showName</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> </div> </div> <a class="anchor" id="a0c384e00c06199bc2ff37ff5ecb520c9"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::publishEvent" ref="a0c384e00c06199bc2ff37ff5ecb520c9" args="(const mrptEvent &e) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::utils::CObservable::publishEvent </td> <td>(</td> <td class="paramtype">const <a class="el" href="classmrpt_1_1utils_1_1mrpt_event.html">mrptEvent</a> & </td> <td class="paramname"><em>e</em></td><td>)</td> <td> const<code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Called when you want this object to emit an event to all the observers currently subscribed to this object. </p> </div> </div> <a class="anchor" id="ae52ab652258f1cde95ec9c5e6d29d3ef"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::resize" ref="ae52ab652258f1cde95ec9c5e6d29d3ef" args="(unsigned int width, unsigned int height)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::resize </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>width</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>height</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Resizes the window, stretching the image to fit into the display area. </p> <p>Implements <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a86463b010eb453b5fb6b45e024730f78">mrpt::gui::CBaseGUIWindow</a>.</p> </div> </div> <a class="anchor" id="a22e02fed4426009e386ba7dd2bb3442e"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::setCursorCross" ref="a22e02fed4426009e386ba7dd2bb3442e" args="(bool cursorIsCross)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void mrpt::gui::CDisplayWindowPlots::setCursorCross </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>cursorIsCross</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Set cursor style to default (cursorIsCross=false) or to a cross (cursorIsCross=true) </p> <p>Implements <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a7d9bba776ec29d60fa7f7ecdedfcd7d3">mrpt::gui::CBaseGUIWindow</a>.</p> </div> </div> <a class="anchor" id="a4cf001c64566d783754f0c9a99862bda"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::setMenuCallback" ref="a4cf001c64566d783754f0c9a99862bda" args="(TCallbackMenu userFunction, void *userParam=NULL)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::setMenuCallback </td> <td>(</td> <td class="paramtype"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#aeaaffdec8db5e63f4648fb6e5a8a6808">TCallbackMenu</a> </td> <td class="paramname"><em>userFunction</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"><em>userParam</em> = <code>NULL</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Must be called to have a callback when the user selects one of the user-defined entries in the popup menu. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#aa4282d3130ab8541b553542b0a0714cf" title="Disables keeping all the graphs (this is the default behavior).">addPopupMenuEntry</a> </dd></dl> </div> </div> <a class="anchor" id="a937cc92f848dcbe481ba20666ee5ebab"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::setPos" ref="a937cc92f848dcbe481ba20666ee5ebab" args="(int x, int y)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::setPos </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>y</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Changes the position of the window on the screen. </p> <p>Implements <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a07ed0ab1228962705ac077f8d788e47e">mrpt::gui::CBaseGUIWindow</a>.</p> </div> </div> <a class="anchor" id="a6c13dd4168d5d31e79bf72ac2c69212a"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::setWindowTitle" ref="a6c13dd4168d5d31e79bf72ac2c69212a" args="(const std::string &str)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::gui::CDisplayWindowPlots::setWindowTitle </td> <td>(</td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>str</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Changes the window title text. </p> <p>Implements <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#af877c8001eef3292f9affc04ca4aa137">mrpt::gui::CBaseGUIWindow</a>.</p> </div> </div> <a class="anchor" id="ac3c1c14a30af0d92bb28d5c4930099f0"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::waitForKey" ref="ac3c1c14a30af0d92bb28d5c4930099f0" args="(bool ignoreControlKeys=true, mrptKeyModifier *out_pushModifier=NULL)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int mrpt::gui::CBaseGUIWindow::waitForKey </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>ignoreControlKeys</em> = <code>true</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="namespacemrpt_1_1gui.html#a1957927b66a163637ab90d2bf3220e11">mrptKeyModifier</a> * </td> <td class="paramname"><em>out_pushModifier</em> = <code>NULL</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Waits for any key to be pushed on the image or the console, and returns the key code. </p> <p>This method remove key strokes previous to its call, so it will always wait. To get the latest pushed key, see</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">ignoreControlKeys</td><td>If set to false, any push of shift, cmd, control, etc... will make this method to return. </td></tr> <tr><td class="paramname">out_pushModifier</td><td>If set to !=NULL, the modifiers of the key stroke will be saved here. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The virtual key code, as defined in mrptKeyCode (a replication of wxWidgets key codes).</dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a8f3aa3dff651d269f127165e084bd936" title="Returns the latest pushed key, or 0 if there is no new key stroke.">getPushedKey</a>, Key codes in the enum <a class="el" href="namespacemrpt_1_1gui.html#a008f54840a1b448a0206e871c6d15e8f">mrptKeyCode</a> </dd></dl> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="af363eff8a66db772f89467af51a862bb"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::C3DWindowDialog" ref="af363eff8a66db772f89467af51a862bb" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">friend class C3DWindowDialog<code> [friend, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented in <a class="el" href="classmrpt_1_1gui_1_1_c_display_window3_d.html#af363eff8a66db772f89467af51a862bb">mrpt::gui::CDisplayWindow3D</a>.</p> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00074">74</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> </div> </div> <a class="anchor" id="a0a4caba1199fdb1b990d4f1dd5abedf6"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::CWindowDialog" ref="a0a4caba1199fdb1b990d4f1dd5abedf6" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">friend class CWindowDialog<code> [friend, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00073">73</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> </div> </div> <a class="anchor" id="a0eab80c3eb0251b2f663e3d0e010573e"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::CWindowDialogPlots" ref="a0eab80c3eb0251b2f663e3d0e010573e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">friend class CWindowDialogPlots<code> [friend]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a0eab80c3eb0251b2f663e3d0e010573e">mrpt::gui::CBaseGUIWindow</a>.</p> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00066">66</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="a6fec28a53e20dfc1c4d046c26f9f7b48"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::mrpt::utils::CStream" ref="a6fec28a53e20dfc1c4d046c26f9f7b48" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">friend class <a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">mrpt::utils::CStream</a><code> [friend, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00071">71</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a6a33eed16fa851d4fd93c0e89df0850b"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::_init_CDisplayWindowPlots" ref="a6a33eed16fa851d4fd93c0e89df0850b" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1utils_1_1_c_l_a_s_s_i_n_i_t.html">mrpt::utils::CLASSINIT</a> <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a6a33eed16fa851d4fd93c0e89df0850b">mrpt::gui::CDisplayWindowPlots::_init_CDisplayWindowPlots</a><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00060">60</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="acc47d68903ba7394adf6b6743a94a6fe"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::classCBaseGUIWindow" ref="acc47d68903ba7394adf6b6743a94a6fe" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#acc47d68903ba7394adf6b6743a94a6fe">mrpt::gui::CBaseGUIWindow::classCBaseGUIWindow</a><code> [static, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00071">71</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> </div> </div> <a class="anchor" id="ad8fa14a50c29fddc54baaceb308b5f3a"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::classCDisplayWindowPlots" ref="ad8fa14a50c29fddc54baaceb308b5f3a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#ad8fa14a50c29fddc54baaceb308b5f3a">mrpt::gui::CDisplayWindowPlots::classCDisplayWindowPlots</a><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00060">60</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="acb51e4dd811d62c2696aee449d0a4715"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::classCObject" ref="acb51e4dd811d62c2696aee449d0a4715" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> <a class="el" href="classmrpt_1_1utils_1_1_c_object.html#acb51e4dd811d62c2696aee449d0a4715">mrpt::utils::CObject::classCObject</a><code> [static, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_object_8h_source.html#l00139">139</a> of file <a class="el" href="_c_object_8h_source.html">CObject.h</a>.</p> </div> </div> <a class="anchor" id="ab609297009eef1d23ffbba053c217d3a"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::classinfo" ref="ab609297009eef1d23ffbba053c217d3a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>* <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#ab609297009eef1d23ffbba053c217d3a">mrpt::gui::CDisplayWindowPlots::classinfo</a><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00060">60</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="a3587ab60849d518508112ac9e8c0918e"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::m_callback" ref="a3587ab60849d518508112ac9e8c0918e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#aeaaffdec8db5e63f4648fb6e5a8a6808">TCallbackMenu</a> <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a3587ab60849d518508112ac9e8c0918e">mrpt::gui::CDisplayWindowPlots::m_callback</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00071">71</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="a05bdca4f1f0bab30c569d37e6926b1f4"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::m_callback_param" ref="a05bdca4f1f0bab30c569d37e6926b1f4" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void* <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a05bdca4f1f0bab30c569d37e6926b1f4">mrpt::gui::CDisplayWindowPlots::m_callback_param</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00072">72</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="a207639d38e14fbc7c6e85b479c7b9051"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::m_caption" ref="a207639d38e14fbc7c6e85b479c7b9051" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classstd_1_1string.html">std::string</a> <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a207639d38e14fbc7c6e85b479c7b9051">mrpt::gui::CBaseGUIWindow::m_caption</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The caption of the window. </p> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00085">85</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> </div> </div> <a class="anchor" id="a3b19a27553d9993e0973629c73cb6151"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::m_holdon" ref="a3b19a27553d9993e0973629c73cb6151" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a3b19a27553d9993e0973629c73cb6151">mrpt::gui::CDisplayWindowPlots::m_holdon</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Whether hold_on is enabled. </p> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00068">68</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="abd2e33dc798b3f3db307bbfd2d0d824e"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::m_holdon_cnt" ref="abd2e33dc798b3f3db307bbfd2d0d824e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32_t <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#abd2e33dc798b3f3db307bbfd2d0d824e">mrpt::gui::CDisplayWindowPlots::m_holdon_cnt</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Counter for hold_on. </p> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00070">70</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="a1c5c678330a336bdc0e7537ff9b1cace"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::m_holdon_just_disabled" ref="a1c5c678330a336bdc0e7537ff9b1cace" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="classmrpt_1_1gui_1_1_c_display_window_plots.html#a1c5c678330a336bdc0e7537ff9b1cace">mrpt::gui::CDisplayWindowPlots::m_holdon_just_disabled</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_display_window_plots_8h_source.html#l00069">69</a> of file <a class="el" href="_c_display_window_plots_8h_source.html">CDisplayWindowPlots.h</a>.</p> </div> </div> <a class="anchor" id="a2dd4af8ac076bd4f893025eb1d98bf7b"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::m_hwnd" ref="a2dd4af8ac076bd4f893025eb1d98bf7b" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespacemrpt_1_1utils.html#ac3912bceb5e2a4662830ec51584d134b">void_ptr_noncopy</a> <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a2dd4af8ac076bd4f893025eb1d98bf7b">mrpt::gui::CBaseGUIWindow::m_hwnd</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The window handle. </p> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00086">86</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> </div> </div> <a class="anchor" id="ada8b99456263a89ffce9ca28e3f3c102"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::m_keyPushed" ref="ada8b99456263a89ffce9ca28e3f3c102" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">volatile bool <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#ada8b99456263a89ffce9ca28e3f3c102">mrpt::gui::CBaseGUIWindow::m_keyPushed</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00089">89</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> </div> </div> <a class="anchor" id="a92fb3fbae072d0387e72fc8e5fa409ac"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::m_keyPushedCode" ref="a92fb3fbae072d0387e72fc8e5fa409ac" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">volatile int <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a92fb3fbae072d0387e72fc8e5fa409ac">mrpt::gui::CBaseGUIWindow::m_keyPushedCode</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00090">90</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> </div> </div> <a class="anchor" id="aa181ad72efea9497dbbaa13020afa5c4"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::m_keyPushedModifier" ref="aa181ad72efea9497dbbaa13020afa5c4" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">volatile <a class="el" href="namespacemrpt_1_1gui.html#a1957927b66a163637ab90d2bf3220e11">mrptKeyModifier</a> <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#aa181ad72efea9497dbbaa13020afa5c4">mrpt::gui::CBaseGUIWindow::m_keyPushedModifier</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00091">91</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> </div> </div> <a class="anchor" id="ab6436ed238c7c83c5c7683342eeb2949"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::m_semThreadReady" ref="ab6436ed238c7c83c5c7683342eeb2949" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmrpt_1_1synch_1_1_c_semaphore.html">synch::CSemaphore</a> <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#ab6436ed238c7c83c5c7683342eeb2949">mrpt::gui::CBaseGUIWindow::m_semThreadReady</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This semaphore will be signaled when the wx window is built and ready. </p> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00083">83</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> </div> </div> <a class="anchor" id="a7184a4e0fd8ddb22c4759d02434cda8d"></a><!-- doxytag: member="mrpt::gui::CDisplayWindowPlots::m_semWindowDestroyed" ref="a7184a4e0fd8ddb22c4759d02434cda8d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmrpt_1_1synch_1_1_c_semaphore.html">synch::CSemaphore</a> <a class="el" href="classmrpt_1_1gui_1_1_c_base_g_u_i_window.html#a7184a4e0fd8ddb22c4759d02434cda8d">mrpt::gui::CBaseGUIWindow::m_semWindowDestroyed</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This semaphore will be signaled when the wx window is destroyed. </p> <p>Definition at line <a class="el" href="_c_base_g_u_i_window_8h_source.html#l00084">84</a> of file <a class="el" href="_c_base_g_u_i_window_8h_source.html">CBaseGUIWindow.h</a>.</p> </div> </div> </div> <br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150"> </td></tr> </table> </body></html>