VR-Forces 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) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtWidgetOverlayEventProcessor_H_
11 #define DtWidgetOverlayEventProcessor_H_
12 
13 #include <vrvOsg/vrvOsg.h>
15 
16 namespace makVrv
17 {
18  class DtDe;
19 
24  {
25 
26  public:
27 
30 
33 
36  virtual bool processMouseEvent(const DtMouseEvent& ev, DtChannel& channel);
37 
40  virtual bool processKeyboardEvent(const DtKeyEvent& ev, DtChannel& channel);
41 
43  virtual void switchSymbolDecorationQuadrantForCurrentlySelectedEntities();
44 
46  virtual const std::string& className();
47 
48  protected:
50  };
51 
55  {
56 
57  public:
59  virtual DtEventProcessorInterface* create( DtDe& de );
60 
61  };
62 }
63 
64 #endif
65 
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:22
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:49
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:54
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:72
The DtEventProcessorInterface defines the generic interface for classes which handle input events...
Definition: DtEventProcessorInterface.h:34

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)