VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
terrainEventHandler
compassHandler.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: compassHandler.h,v $ $Revision: 1.2 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef COMPASSHANDLER_H_
13
#define COMPASSHANDLER_H_
14
15
#include "
tmqt/eventHandler.h
"
16
#include "qhash.h"
17
#include "
drawerNative/displayPoint.h
"
18
19
class
DtTerrainDatabase
;
20
class
DtCompassModelData
;
21
class
DtModelData
;
22
class
DtTMViewportExtents
;
23
27
28
#include "
terrainEventHandler/terrainEventHandlerDefines.h
"
29
#include "
ngutil/entityMapperKey.h
"
30
31
class
DT_DLL_terrainEventHandler
DtCompassHandler
:
public
DtEventHandler
32
{
33
Q_OBJECT
34
35
public
:
37
DtCompassHandler
();
38
40
virtual
~
DtCompassHandler
();
41
42
public
slots:
44
virtual
void
setPosition(
int
);
45
47
virtual
void
showMapCompass(
bool
b);
48
49
protected
slots:
53
virtual
void
setTerrainDatabase(
const
DtTerrainDatabase
*);
54
virtual
void
viewportExtentsChanged(
const
DtTMViewportExtents
*);
55
56
protected
:
58
virtual
DtEntityMapperKey
compassMapperKey()
const
;
59
61
virtual
DtCompassModelData
* createCompassData(
DtTMMapArea
*)
const
;
62
64
virtual
DtCompassModelData
* createCompassModelData()
const
;
65
66
virtual
bool
connecting
(
DtTMMapArea
*);
67
virtual
bool
disconnecting
(
DtTMMapArea
*);
68
69
public
:
71
static
DtEventHandler
* create(
DtEventController
* owner,
void
* usr);
72
};
73
74
#endif //COMPASSHANDLER_H_
75
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)