VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGlStudioEventProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
14 
15 namespace makVrv
16 {
17  class DtDe;
18  class DtOsgGlStudioCockpit;
19 
23  {
24  public:
27 
29  virtual ~DtGlStudioEventProcessor();
30 
33  virtual bool processMouseEvent(const DtMouseEvent& ev, DtChannel& channel);
34 
37  virtual bool processKeyboardEvent(const DtKeyEvent& ev, DtChannel& channel);
38 
40  virtual bool processWidgetEvent(const DtUniqueID& id,
41  DtMouseEvent::EventType& eventType, const DtMouseState& mouseState,
42  DtChannel& channel) { return false; }
43 
45  virtual const std::string& className();
46 
47  protected:
50  };
51 }
Processor to handle events for the osgWidget overlay on a channel.
Definition: DtGlStudioEventProcessor.h:22
This class encapsulates a Key event.
Definition: DtKeyEvent.h:16
EventType
Describe the types of mouse events supported.
Definition: DtMouseEvent.h:23
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.
DtOsgGlStudioCockpit is the implementation of the distributed object of the same name (and under our ...
Definition: DtOsgGlStudioCockpit.h:48
virtual bool processWidgetEvent(const DtUniqueID &id, DtMouseEvent::EventType &eventType, const DtMouseState &mouseState, DtChannel &channel)
Ignore.
Definition: DtGlStudioEventProcessor.h:40
This class encapsulates the state associated with a mouse button event.
Definition: DtMouseState.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
#define DT_DLL_VRVGLSTUDIOSHARED
Definition: DtGlStudioShared.h:22
DtOsgGlStudioCockpit * myCockpit
Definition: DtGlStudioEventProcessor.h:49
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
DtDe & myDe
Definition: DtGlStudioEventProcessor.h:48
The DtEventProcessorInterface defines the generic interface for classes which handle input events...
Definition: DtEventProcessorInterface.h:34

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)