openPSTD
2.0
Open source simulation for sound propagation in urban environments
Main Page
Related Pages
Classes
Files
Kernel Structure
File List
GUI
operations
SelectionOperations.h
1
// This file is part of openPSTD. //
3
// //
4
// openPSTD is free software: you can redistribute it and/or modify //
5
// it under the terms of the GNU General Public License as published by //
6
// the Free Software Foundation, either version 3 of the License, or //
7
// (at your option) any later version. //
8
// //
9
// openPSTD is distributed in the hope that it will be useful, //
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
12
// GNU General Public License for more details. //
13
// //
14
// You should have received a copy of the GNU General Public License //
15
// along with openPSTD. If not, see <http://www.gnu.org/licenses/>. //
16
// //
18
20
//
21
// Date: 31-8-2015
22
//
23
//
24
// Authors: M. R. Fortuin
25
//
26
//
27
// Purpose:
28
//
29
//
31
32
#ifndef OPENPSTD_SELECTDOMAINOPERATION_H
33
#define OPENPSTD_SELECTDOMAINOPERATION_H
34
35
#include "BaseOperation.h"
36
37
namespace
OpenPSTD
38
{
39
namespace
GUI
40
{
41
class
SelectIndexedObjectOperation
:
public
BaseOperation
42
{
43
private
:
44
SelectionType type;
45
int
index;
46
public
:
47
SelectIndexedObjectOperation
(SelectionType type,
int
index);
48
49
virtual
void
Run(
const
Reciever
&reciever)
override
;
50
};
51
52
class
SelectDomainOperation
:
public
SelectIndexedObjectOperation
53
{
54
public
:
55
SelectDomainOperation
(
int
selectDomainIndex);
56
};
57
58
class
DeselectOperation
:
public
SelectIndexedObjectOperation
59
{
60
public
:
61
DeselectOperation
();
62
};
63
64
class
SelectObjectOperation
:
public
BaseOperation
65
{
66
private
:
67
QVector2D ScreenPosition;
68
public
:
69
SelectObjectOperation
(QVector2D ScreenPosition);
70
71
virtual
void
Run(
const
Reciever
&reciever)
override
;
72
};
73
74
}
75
}
76
77
#endif //OPENPSTD_SELECTDOMAINOPERATION_H
OpenPSTD
This is the general namespace of the OpenPSTD application.
Definition:
Boundary.cpp:33
OpenPSTD::GUI::SelectIndexedObjectOperation
Definition:
SelectionOperations.h:41
OpenPSTD::GUI::SelectDomainOperation
Definition:
SelectionOperations.h:52
OpenPSTD::GUI::Reciever
Definition:
BaseOperation.h:61
OpenPSTD::GUI::DeselectOperation
Definition:
SelectionOperations.h:58
OpenPSTD::GUI::SelectObjectOperation
Definition:
SelectionOperations.h:64
OpenPSTD::GUI::BaseOperation
Definition:
BaseOperation.h:68
Generated on Wed Mar 2 2016 23:11:55 for openPSTD by
1.8.11