23         " - h/H: Toggle help message\n"    24         " - Alt+Enter: Toggle fullscreen\n"    25         " - Mouse click: Set camera manually\n"    26         " - Ctrl+c: Halt program execution";
    36     std::map<std::string, bool>* codes_to_pressed,
    37     bool reset_keypresses )
    46             map_it.second = 
false;
    52     const std::string key_str, 
const std::string key_desc)
    54     m_help_msg += std::string(
"\n") + 
" - " + key_str + 
"/" +
    67         std::cout << 
"Event received: mrptEventOnDestroy" << std::endl;
    73         std::cout << 
"Resize event received from: " << ev.
source_object    74                   << 
", new size: " << ev.new_width << 
" x " << ev.new_height
    81                   << 
". Char code: " << ev.char_code
    82                   << 
" modif: " << ev.key_modifiers << std::endl;
    94                 if (ev.key_modifiers == 8192)
    96                     std::cout << 
"Pressed C-c inside CDisplayWindow3D"   110                     std::string(1, ev.char_code))] = 
true;
   119         std::cout << 
"Window closed event received from: " << ev.
source_object   127         std::cout << 
"Mouse down event received from: " << ev.source_object
   128                   << 
"pt: " << ev.coords.x << 
"," << ev.coords.y << 
"\n";
 An event sent by a window upon resize. 
 
An event sent by a window upon a mouse click, giving the (x,y) pixel coordinates. ...
 
void OnEvent(const mrpt::system::mrptEvent &e) override
This virtual function will be called upon receive of any event after starting listening at any CObser...
 
The basic event type for the observer-observable pattern in MRPT. 
 
void returnEventsStruct(std::map< std::string, bool > *codes_to_pressed, bool reset_keypresses=true)
Return a map of key code to a boolean indicating whether it was pressed since the previous time the c...
 
void registerKeystroke(const std::string key_str, const std::string key_desc)
Make new keystrokes available in the help message box. 
 
An event sent by a window upon when it's about to be closed, either manually by the user or programma...
 
SLAM methods related to graphs of pose constraints. 
 
std::string lowerCase(const std::string &str)
Returns an lower-case version of a string. 
 
CBaseGUIWindow * source_object
 
An event sent by any CObservable object (automatically) just before being destroyed and telling its o...
 
An event sent by a window upon a char pressed by the user. 
 
CBaseGUIWindow * source_object
 
An event sent by an mrpt::opengl::COpenGLViewport after calling the scene OpenGL drawing primitives a...
 
std::string upperCase(const std::string &str)
Returns a upper-case version of a string. 
 
CBaseGUIWindow * source_object
 
std::map< std::string, bool > m_key_codes_to_pressed
Map from registered char_code (std::string to support <C-c>) to boolean true/false indicating whether...