SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GUISUMOViewParent.h
Go to the documentation of this file.
1
/****************************************************************************/
10
// A single child window which contains a view of the simulation area
11
/****************************************************************************/
12
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
13
// Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
14
/****************************************************************************/
15
//
16
// This file is part of SUMO.
17
// SUMO is free software: you can redistribute it and/or modify
18
// it under the terms of the GNU General Public License as published by
19
// the Free Software Foundation, either version 3 of the License, or
20
// (at your option) any later version.
21
//
22
/****************************************************************************/
23
#ifndef GUISUMOViewParent_h
24
#define GUISUMOViewParent_h
25
26
27
// ===========================================================================
28
// included modules
29
// ===========================================================================
30
#ifdef _MSC_VER
31
#include <
windows_config.h
>
32
#else
33
#include <
config.h
>
34
#endif
35
36
#include <string>
37
#include <vector>
38
#include <fx.h>
39
#include <
utils/geom/Position.h
>
40
#include <
utils/geom/Boundary.h
>
41
#include <
utils/gui/globjects/GUIGlObjectTypes.h
>
42
#include <
utils/gui/windows/GUIGlChildWindow.h
>
43
44
45
// ===========================================================================
46
// class declarations
47
// ===========================================================================
48
class
GUINet
;
49
class
GUISUMOAbstractView
;
50
class
GUIDialog_GLObjChooser
;
51
52
53
// ===========================================================================
54
// class declarations
55
// ===========================================================================
66
class
GUISUMOViewParent
:
public
GUIGlChildWindow
{
67
// FOX-declarations
68
FXDECLARE(
GUISUMOViewParent
)
69
70
public
:
72
enum
ViewType
{
74
VIEW_2D_OPENGL
,
76
VIEW_3D_OSG
77
};
78
79
92
GUISUMOViewParent
(FXMDIClient* p, FXMDIMenu* mdimenu,
93
const
FXString& name,
GUIMainWindow
* parentWindow,
94
FXIcon* ic = NULL, FXuint opts = 0, FXint x = 0, FXint y = 0, FXint w = 0, FXint h = 0);
95
96
103
virtual
GUISUMOAbstractView
*
init
(
FXGLCanvas
* share,
GUINet
& net,
ViewType
type);
104
105
107
~GUISUMOViewParent
();
108
109
111
long
onCmdMakeSnapshot
(
FXObject
* sender, FXSelector,
void
*);
112
114
long
onSimStep
(
FXObject
* sender, FXSelector,
void
*);
115
117
long
onCmdLocate
(
FXObject
*, FXSelector,
void
*);
118
120
bool
isSelected
(
GUIGlObject
* o)
const
;
121
122
protected
:
124
GUISUMOViewParent
() { }
125
126
};
127
128
129
#endif
130
131
/****************************************************************************/
132
build
buildd
sumo-0.15.0~dfsg
src
gui
GUISUMOViewParent.h
Generated on Wed Jul 18 2012 22:58:32 for SUMO - Simulation of Urban MObility by
1.8.1.1