chrono::vsg3d::ChEventHandlerVSG Class Reference

Description

Base class for a user-defined event handler for the VSG run-time visualization system.

#include <ChEventHandlerVSG.h>

Inherited by chrono::vehicle::ChSTRKeyboardHandlerVSG, chrono::vehicle::ChTTRKeyboardHandlerVSG, chrono::vehicle::ChVehicleKeyboardHandlerVSG, and chrono::vsg3d::ChBaseEventHandlerVSG.

Public Member Functions

virtual void process (vsg::KeyPressEvent &ev)
 
virtual void process (vsg::KeyReleaseEvent &ev)
 
virtual void process (vsg::ButtonPressEvent &ev)
 
virtual void process (vsg::ButtonReleaseEvent &ev)
 
virtual void process (vsg::MoveEvent &ev)
 
virtual void process (vsg::TouchEvent &ev)
 
virtual void process (vsg::FocusInEvent &ev)
 The render window acquired keyboard focus.
 
virtual void process (vsg::FocusOutEvent &ev)
 The render window lost keyboard focus. More...
 

Member Function Documentation

◆ process()

virtual void chrono::vsg3d::ChEventHandlerVSG::process ( vsg::FocusOutEvent &  ev)
inlinevirtual

The render window lost keyboard focus.

A handler that tracks which keys are currently held down should treat this as a release of all of them: key events are delivered to whichever window has focus, so any release that happens from now on is never seen here.


The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_vsg/ChEventHandlerVSG.h