VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvGlStudioShared
DtGlStudioEventProcessor.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtGlStudioEventProcessor.h,v $ $Revision: 1.4 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvGlStudioShared/DtGlStudioShared.h
>
16
#include <
vrvCore/DtEventProcessorInterface.h
>
17
18
namespace
makVrv
19
{
20
class
DtDe;
21
class
DtOsgGlStudioCockpit;
22
25
class
DT_DLL_VRVGLSTUDIOSHARED
DtGlStudioEventProcessor
:
public
DtEventProcessorInterface
26
{
27
public
:
29
DtGlStudioEventProcessor
(
DtDe
& de,
DtOsgGlStudioCockpit
* cockpit );
30
32
virtual
~
DtGlStudioEventProcessor
();
33
36
virtual
bool
processMouseEvent(
const
DtMouseEvent
& ev,
DtChannel
& channel);
37
40
virtual
bool
processKeyboardEvent(
const
DtKeyEvent
& ev,
DtChannel
& channel);
41
43
virtual
bool
processWidgetEvent(
const
DtUniqueID
&
id
,
44
DtMouseEvent::EventType
& eventType,
const
DtMouseState
& mouseState,
45
DtChannel
& channel) {
return
false
; }
46
48
virtual
const
std::string& className();
49
50
protected
:
51
DtDe
&
myDe
;
52
DtOsgGlStudioCockpit
*
myCockpit
;
53
};
54
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)