VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtImGuiEventProcessor Class Reference

event processor that gives imgui a chance to catch events.

Inheritance diagram for makVrv::DtImGuiEventProcessor:
Inheritance graph
[legend]

Public Member Functions

 DtImGuiEventProcessor (DtImguiDrawable &imGuiDrawable)
 
virtual ~DtImGuiEventProcessor ()
 
virtual bool processMouseEvent (const DtMouseEvent &ev, DtChannel &channel)
 
virtual bool processKeyboardEvent (const DtKeyEvent &ev, DtChannel &channel)
 
virtual const std::string & className ()
 
virtual void setKeyboardActive (bool enable)
 
- Public Member Functions inherited from makVrv::DtEventProcessorInterface
 DtEventProcessorInterface ()
 
virtual ~DtEventProcessorInterface ()
 
virtual bool processPinchGesture (const DtPinchGesture &ev, DtChannel &channel)
 
virtual void setEnabled (bool b)
 
bool enabled () const
 

Protected Attributes

std::string myClassName
 
bool myIsKeyboardActive
 
bool myRightMouseMoveActive
 
DtImguiDrawablemyImGuiDrawable
 
- Protected Attributes inherited from makVrv::DtEventProcessorInterface
bool myEnabled
 

Constructor & Destructor Documentation

makVrv::DtImGuiEventProcessor::DtImGuiEventProcessor ( DtImguiDrawable imGuiDrawable)

CTOR.

virtual makVrv::DtImGuiEventProcessor::~DtImGuiEventProcessor ( )
virtual

DTOR.

Member Function Documentation

virtual bool makVrv::DtImGuiEventProcessor::processMouseEvent ( const DtMouseEvent ev,
DtChannel channel 
)
virtual

handles mouse events

Implements makVrv::DtEventProcessorInterface.

virtual bool makVrv::DtImGuiEventProcessor::processKeyboardEvent ( const DtKeyEvent ev,
DtChannel channel 
)
virtual

handles keyboard events

Implements makVrv::DtEventProcessorInterface.

virtual const std::string& makVrv::DtImGuiEventProcessor::className ( )
virtual

Returns the name of the processor class, to be used for identifying an event processor.

Implements makVrv::DtEventProcessorInterface.

virtual void makVrv::DtImGuiEventProcessor::setKeyboardActive ( bool  enable)
inlinevirtual

is this capturing the keyboard

Member Data Documentation

std::string makVrv::DtImGuiEventProcessor::myClassName
protected
bool makVrv::DtImGuiEventProcessor::myIsKeyboardActive
protected
bool makVrv::DtImGuiEventProcessor::myRightMouseMoveActive
protected
DtImguiDrawable& makVrv::DtImGuiEventProcessor::myImGuiDrawable
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)