VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWidgetOverlayEventProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef DtWidgetOverlayEventProcessor_H_
10 #define DtWidgetOverlayEventProcessor_H_
11 
12 #include <vrvOsg/vrvOsg.h>
14 
15 namespace makVrv
16 {
17  class DtDe;
18 
23  {
24 
25  public:
26 
29 
32 
35  virtual bool processMouseEvent(const DtMouseEvent& ev, DtChannel& channel);
36 
39  virtual bool processKeyboardEvent(const DtKeyEvent& ev, DtChannel& channel);
40 
42  virtual const std::string& className();
43 
44  protected:
46  };
47 
51  {
52 
53  public:
55  virtual DtEventProcessorInterface* create( DtDe& de );
56 
57  };
58 }
59 
60 #endif
61 
This class encapsulates a Key event.
Definition: DtKeyEvent.h:16
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Processor to handle events for the osgWidget overlay on a channel.
Definition: DtWidgetOverlayEventProcessor.h:21
This class encapsulates a mouse button event.
Definition: DtMouseEvent.h:19
The abstract Channel Class.
Definition: DtChannel.h:35
Interface for an event processor for a channel.
DtDe & myDe
Definition: DtWidgetOverlayEventProcessor.h:45
A hack to create the widget event processor until accessories are implemented.
Definition: DtEventProcessorInterface.h:76
The widget processor creator for hacking this thing in.
Definition: DtWidgetOverlayEventProcessor.h:50
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
The DtEventProcessorInterface defines the generic interface for classes which handle input events...
Definition: DtEventProcessorInterface.h:34

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)