VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)